From b114ad1414d78eb95ab427d7caeeac3a3304dd18 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Tue, 5 Nov 2024 19:02:08 +0100 Subject: [PATCH] chore: prevent pnpm breakage https://github.com/streetsidesoftware/cspell/pull/6477#issuecomment-2456693037 --- .npmrc | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.npmrc b/.npmrc index fc12c647c12..7b6aac5399b 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,4 @@ auto-install-peers=true strict-peer-dependencies=false save-workspace-protocol=rolling +node-linker=isolated diff --git a/package.json b/package.json index 903d7776ae3..efbd12da0cd 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build-cspell-types-docs": "cd doc-generator && pnpm i && pnpm run build-cspell-types-docs", "build-integration-tests": "cd ./integration-tests && pnpm i", "build-schema": "pnpm -r run build-schema", - "build": "pnpm -r --stream --workspace-concurrency=2 run build && pnpm -r run prepare-cspell-action", + "build": "pnpm -r --stream --workspace-concurrency=2 run build", "build:readme": "pnpm build:readme:packages && pnpm build:readme:root && pnpm docs:inject", "build:readme:packages": "pnpm -r build:readme", "build:readme:root": "inject-markdown README.md \"packages/*/README.md\" && prettier -w README.md \"packages/*/README.md\"", @@ -38,7 +38,7 @@ "lint-docs-ci": "prettier -c \"docs/\"", "lint-docs": "prettier -w \"docs/\"", "lint": "pnpm run eslint-fix && prettier -w .", - "prepare-cspell-action": "pnpm i && pnpm -r run prepare-cspell-action && pnpm -r --filter @cspell/cspell-bundled-dicts... run build", + "prepare-cspell-action": "pnpm i && pnpm -r --filter @cspell/cspell-bundled-dicts... run build", "pre-pub": "pnpm run clean-dist && pnpm run ibt", "pub": "pnpm run pre-pub && lerna publish --conventional-commits --changelog-preset conventionalcommits --sync-workspace-lock", "pub-grad": "pnpm run pre-pub && lerna publish --conventional-commits --conventional-graduate --changelog-preset conventionalcommits --sync-workspace-lock",