Skip to content

Commit 4f63b6b

Browse files
authored
chore: don't use --force on pnpm fixtures to reduce node_modules sizes (#345)
* test: don't hoise pnpm stuff (?) * test: don't use force * Revert "test: don't hoise pnpm stuff (?)" This reverts commit 8f9a60ab13579eff990638f0e3bf7744d15146fd.
1 parent 8217f50 commit 4f63b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/prepare.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const promises = fixtures.map((fixture) =>
4949
const { packageManager } = JSON.parse(await readFile(join(cwd, 'package.json'), 'utf8'))
5050
if (packageManager?.startsWith('pnpm')) {
5151
// We disable frozen-lockfile because we may have changed the version of Next.js
52-
cmd = `pnpm install --frozen-lockfile=false --force ${
52+
cmd = `pnpm install --frozen-lockfile=false ${
5353
process.env.DEBUG || NEXT_VERSION !== 'latest' ? '' : '--reporter silent'
5454
}`
5555
}

0 commit comments

Comments
 (0)