Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🏗🚮 Clean up package.json by removing unused / adding missing deps #21105

Merged
merged 4 commits into from Feb 26, 2019
Merged

🏗🚮 Clean up package.json by removing unused / adding missing deps #21105

merged 4 commits into from Feb 26, 2019

Conversation

rsimha
Copy link
Contributor

@rsimha rsimha commented Feb 26, 2019

I ran npm-check and depcheck to generate a list of unused and missing dependencies in package.json. This PR adds / removes them as appropriate.

Unfortunately, it's not easy to add an always-on check that runs npm-check and depcheck for all PRs because the tools report several false positives for dependencies that are in fact used in build / test tools (where there is no require or import statement that mentions the dependency).

@rsimha
Copy link
Contributor Author

rsimha commented Feb 26, 2019

@rsimha rsimha self-assigned this Feb 26, 2019
Copy link
Member

@danielrozenberg danielrozenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would still prefer to split the runtime-test/index.js into a separate PR, since it looks like an unrelated fix (and it's easier to revert and/or cherry-pick smaller PRs when needed) but it's up to you

Copy link
Collaborator

@estherkim estherkim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@cvializ cvializ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rsimha rsimha merged commit 458981c into ampproject:master Feb 26, 2019
@rsimha rsimha deleted the 2019-02-26-PackageJson branch February 26, 2019 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants