chore: 更新 pnpm-workspace.yaml 配置,添加 publicHoistPattern 和 allowBuilds 设置

master^2
xingyu4j 2026-05-16 11:56:39 +08:00
parent aadf9b6e39
commit 4907f281af
2 changed files with 22 additions and 12 deletions

12
.npmrc
View File

@ -1,13 +1 @@
registry=https://registry.npmmirror.com
public-hoist-pattern[]=lefthook
public-hoist-pattern[]=eslint
public-hoist-pattern[]=oxfmt
public-hoist-pattern[]=oxlint
public-hoist-pattern[]=stylelint
public-hoist-pattern[]=*postcss*
public-hoist-pattern[]=@commitlint/*
public-hoist-pattern[]=czg
strict-peer-dependencies=false
auto-install-peers=true
dedupe-peer-dependents=true

View File

@ -13,6 +13,21 @@ packages:
- docs
- playground
publicHoistPattern:
- lefthook
- eslint
- oxfmt
- oxlint
- stylelint
- '*postcss*'
- '@commitlint/*'
- czg
strictPeerDependencies: false
autoInstallPeers: true
dedupePeerDependents: true
verifyDepsBeforeRun: false
overrides:
'@ast-grep/napi': 'catalog:'
'@ctrl/tinycolor': 'catalog:'
@ -198,3 +213,10 @@ catalog:
yaml-eslint-parser: ^2.0.0
zod: ^3.25.76
zod-defaults: 0.1.3
allowBuilds:
'@parcel/watcher': true
core-js: true
esbuild: true
lefthook: true
vue-demi: true