-
Notifications
You must be signed in to change notification settings - Fork 75
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
refactor: support pnpm #315
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 8663752. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch
Sent with 💌 from NxCloud. |
This PR is dependent on aws/jsii#4021 |
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.
Looks great - excited for the perf boost! Just one small comment :)
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.
This is really great work - massive performance and maintenance improvements!!!
This PR adds PNPM support to the PDK which results in huge performance gains.
In addition to performance gains, due to the nature of how PNPM sets up node_modules there is now no longer a need to hoist anything as everything gets symlinked from child packages. This solves the #282 .
NXMonorepo has also been updated to add a gitignore for
.nx/cache
which solves #308 .Sharp prebuild is also fixed as previously we were not including the vendor and build folders when bundling cdk-graph-plugin.
NOTE: I have added a jsii-pacmak hack for the time being until aws/jsii#4030 is merged in order to prevent the build from breaking. Once that PR is merged and published, I will remove this workaround ASAP.
Fixes: #308, #282