You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cdftf npm package does not have a node_modules directory.
Actual Behavior
The cdftf npm package does not has a node_modules directory with dozens packages.
Steps to Reproduce
curl https://registry.npmjs.org/cdktf/-/cdktf-0.18.2.tgz | tar t | grep node_modules
Versions
cdktf 0.18.2
Providers
No response
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
This happens because cdktf bundles dependencies with bundledDependencies. There isn't a good reason to do this.
Including dozen of other packages bloats the download and install size. Rather, these should be normal dependencies in package.json and allow the package manager to resolve+download+install them.
References
No response
Help Wanted
I'm interested in contributing a fix myself
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Expected Behavior
The cdftf npm package does not have a
node_modules
directory.Actual Behavior
The cdftf npm package does not has a
node_modules
directory with dozens packages.Steps to Reproduce
Versions
cdktf 0.18.2
Providers
No response
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
This happens because cdktf bundles dependencies with
bundledDependencies
. There isn't a good reason to do this.Including dozen of other packages bloats the download and install size. Rather, these should be normal dependencies in package.json and allow the package manager to resolve+download+install them.
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: