PDK now uses PNPM! #324
agdimech
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As of v0.14.12, the PDK is now using PNPM to manage dependencies. This provides a substantial increase in performance when performing the install command as packages as now symlinked to the correct locations instead of copied like in the case of yarn 1.x/npm. In addition to these performance improvements, the PDK no longer requires hoisting any packages as PNPM will link them correctly which resolves a lot of issues related to certain bundledDependencies not being included in the final tarball.
To get started building with the PNPM enabled PDK, please refer to: https://github.com/aws/aws-prototyping-sdk/blob/mainline/README.md.
Existing PDK developer
If you are an active PDK developer, you need to clean up some of the old yarn artefacts before you start using PNPM. To do this run the following commands from the root directory of the PDK:
git pull
rm -rf **/node_modules && rm yarn.lock
. This will clean up any of the old yarn artefacts.pnpm i
This will install the packages using PNPM! (https://pnpm.io/installation)Beta Was this translation helpful? Give feedback.
All reactions