This is a snapshot of the aws-sdk-js-v3 repository for benchmarking isolated package installations across bun, yarn, npm, and pnpm.
The following changes have been made in order for installs to work for each package manager:
- removed
@biomejs/cli-darwin-arm64and@biomejs/cli-linux-x64-muslfrom./package.json(npm) - removed
package-lock.jsonfrom.gitignore - removed
@aws-sdk/aws-protocoltests-jsonfrom./private/aws-util-test/package.jsondue to missingworkspace:(pnpm) - added
pnpm-workspace.yaml - changed
nodeLinkertopnpmand addedenableScripts: falseto.yarnrc.yml "workspaces.packages"->"workspaces"(npm)- added
.npmrcwithinstall-strategy=linkedandignore-scripts=truefor bun, npm, and pnpm
# fresh cached install (no existing node_modules)
hyperfine --prepare "rm -rf node_modules ./*/*/node_modules" "bun install" "yarn install" "pnpm install" "npm install" --warmup 2
# no-op install (fully populated node_modules)
hyperfine --setup "rm -rf node_modules ./*/*/node_modules" "bun install" "yarn install" "pnpm install" "npm install" --warmup 2