-
Notifications
You must be signed in to change notification settings - Fork 16
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 explicit nodejs dependencies list #1384
Conversation
Does the PR have any schema changes?Looking good! No breaking changes found. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1384 +/- ##
==========================================
+ Coverage 22.71% 22.80% +0.08%
==========================================
Files 25 25
Lines 4226 4210 -16
==========================================
Hits 960 960
+ Misses 3105 3089 -16
Partials 161 161 ☔ View full report in Codecov by Sentry. |
I'm a little confused about what this does. We seem to have a good place for documenting this part of schema but the current documentation is laconic and leaves me wondering. Do these settings inform the SDK generator for the particular language, and that only? How do they affect end-users as consumers of the said SDK? In particular, won't removing these dependencies break the build of the Node SDK? Doesn't seem to, in the PR. |
As I understand it:
|
We are running into an issue updating
While we were searching Issues for this repo nothing seemed to come up, but when checking Pull Requests we noticed the removal of the old |
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.
So we expect that removing this customization from nodejs enables the Node SDK generator to substitute some default dependencies, like "@pulumi/pulumi" that the generated SDK still depends on, but this change removes extraneous dependencies like "glob". This seems to make sense 🚢
Cleaning up some likely copy-pasta:
While resolving a bug caused by explicit dependencies on old nodejs packages in pulumi-kubernetes (pulumi/pulumi-kubernetes#2857), we noticed that aws-native also has these dependencies, even though it does not need them because it does not implement any overlay resources.