pnpm_{8,9}.fetchDeps: put all pnpm install arguments in separate lines

This commit is contained in:
Doron Behar 2024-08-05 18:31:34 +03:00
parent 8fd90cd714
commit 27424c4c88
2 changed files with 9 additions and 2 deletions

View File

@ -60,7 +60,10 @@
pnpm config set update-notifier false
# pnpm is going to warn us about using --force
# --force allows us to fetch all dependencies including ones that aren't meant for our host platform
pnpm install --frozen-lockfile --ignore-script --force
pnpm install \
--force \
--ignore-script \
--frozen-lockfile
runHook postInstall
'';

View File

@ -24,7 +24,11 @@ pnpmConfigHook() {
echo "Installing dependencies"
pnpm install --offline --frozen-lockfile --ignore-script
pnpm install \
--offline \
--ignore-script \
--frozen-lockfile
echo "Patching scripts"