Skip to content

Commit

Permalink
fix: all package managers should create an isolated node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Nov 15, 2023
1 parent bfbccd8 commit dfaedf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions benchmarks/benchmarkFixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export default async function benchmark (pm, fixture, opts) {
yarnRc += 'nodeLinker: node-modules\n'
+ 'nmMode: hardlinks-local\n'
+ 'compressionLevel: 0\n'
+ 'nodeLinker: pnpm\n'
break
case 'yarn_pnp':
yarnRc += 'nodeLinker: pnp\n'
Expand Down
3 changes: 2 additions & 1 deletion benchmarks/commandsMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default {
'--ignore-scripts',
'--cache=cache',
'--registry=https://registry.npmjs.org/',
'--legacy-peer-deps'
'--legacy-peer-deps',
'--install-strategy=linked',
]
},
pnpm: {
Expand Down

0 comments on commit dfaedf0

Please sign in to comment.