-
Notifications
You must be signed in to change notification settings - Fork 156
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
Remove unused npm dependencies #4971
Conversation
Does the PR have any schema changes?Looking good! No breaking changes found. Maintainer note: consult the runbook for dealing with any breaking changes. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4971 +/- ##
=======================================
Coverage 24.42% 24.42%
=======================================
Files 360 360
Lines 143403 143403
=======================================
Hits 35023 35023
Misses 108281 108281
Partials 99 99 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These dependencies are from 2018 it seems reasonable that we stopped actually depending on these.
What's going on with the failing waf test? Something we need to clean up in a test account?
|
It looks like these dependencies aren't actually used anywhere, so stop depending on them. The motivation for this change is that the dependency on `resolve` causes errors to be logged in logs during plugin discovery, because the package includes tests that have malformed `package.json` files. If we don't actually need the dependency it'd be nice to remove it so those errors are no longer logged (so users don't [ask us about them](pulumi/pulumi#17578)). Also remove `read-package-tree` since it is deprecated. Also remove `builtin-modules`, since it doesn't appear to be used either. Similar to pulumi/pulumi-aws#3238 and pulumi/pulumi-aws#4971 Reference: pulumi/pulumi#17578
It looks like these dependencies aren't actually used anywhere, so stop depending on them. The motivation for this change is that the dependency on `resolve` causes errors to be logged in logs during plugin discovery, because the package includes tests that have malformed `package.json` files. If we don't actually need the dependency it'd be nice to remove it so those errors are no longer logged (so users don't [ask us about them](pulumi/pulumi#17578)). Also remove `read-package-tree` since it is deprecated. Also remove `builtin-modules` since it doesn't appear to be used either. Similar to pulumi/pulumi-aws#3238, pulumi/pulumi-aws#4971, and pulumi/pulumi-gitlab#786 Reference: pulumi/pulumi#17578
It looks like these dependencies aren't actually used anywhere, so stop depending on them. The motivation for this change is that the dependency on `resolve` causes errors to be logged in logs during plugin discovery, because the package includes tests that have malformed `package.json` files. If we don't actually need the dependency it'd be nice to remove it so those errors are no longer logged (so users don't [ask us about them](pulumi/pulumi#17578)). Also remove `read-package-tree` since it is deprecated. Also remove `builtin-modules` since it doesn't appear to be used either. Similar to pulumi/pulumi-aws#3238, pulumi/pulumi-aws#4971, pulumi/pulumi-gitlab#786, and pulumi/pulumi-digitalocean#914 Reference: pulumi/pulumi#17578
Yeah I think so. Having a quick look. |
ForceNew may be trying to create two of these. Scrolling back a little I think our intent with this test was to smoke-test upstream post-patching with their own tests, somehow we selected |
#5001 I'll land that first and rebase this to get it in. |
It looks like `resolve` and `builtin-modules` dependencies aren't actually used anywhere, so stop depending on them. The motivation for this change is that the dependency on `resolve` causes errors to be logged in logs during plugin discovery, because the package includes its tests that have malformed `package.json` files in its package. If we don't actually need the dependency, it'd be nice to remove it so those errors are no longer logged (so users don't have to ask us about them). Also remove the `builtin-modules` dependency while cleaning this up, since it doesn't appear to be used either AFAICT.
9ab73d8
to
735e0e8
Compare
Thank you for getting this in! |
It looks like the
resolve
andbuiltin-modules
dependencies aren't actually used anywhere, so stop depending on them.The motivation for this change is that the dependency on
resolve
causes errors to be logged in logs during plugin discovery, because the package includes tests that have malformedpackage.json
files. If we don't actually need the dependency it'd be nice to remove it so those errors are no longer logged (so users don't ask us about them).Also remove the
builtin-modules
dependency while cleaning this up, since it doesn't appear to be used either AFAICT.Similar to #3238
Reference: pulumi/pulumi#17578