Skip to content

Commit 61892c5

Browse files
authored
chore: migrate pnpm config to pnpm-workspace.yaml (#1182)
Closes #1180
1 parent dd2101b commit 61892c5

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.npmrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
"scripts": {
3333
"build": "tsdown --format esm --format cjs",
3434
"bundle-check": "pnpm run build && publint",
35-
"generate-all": "pnpm run --parallel \"/^generate:.*/\"",
35+
"generate-all": "pnpm run \"/^generate:.*/\"",
3636
"generate:configs": "jiti tools/generate-configs",
3737
"generate:docs": "pnpm run build && pnpm run eslint-doc-generator",
38-
"validate-gen-all": "pnpm run --parallel \"/^validate-gen:.*/\"",
38+
"validate-gen-all": "pnpm run \"/^validate-gen:.*/\"",
3939
"validate-gen:configs": "pnpm run generate:configs && git diff --exit-code src/configs",
4040
"validate-gen:docs": "pnpm run build && pnpm run eslint-doc-generator --check",
4141
"format": "pnpm run prettier-base --write",

pnpm-workspace.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1+
autoInstallPeers: true
2+
enablePrePostScripts: true
13
verifyDepsBeforeRun: 'warn'
4+
publicHoistPattern:
5+
- '@commitlint*'
6+
- 'commitlint'
27
allowBuilds:
38
esbuild: true
49
unrs-resolver: true

0 commit comments

Comments
 (0)