penpot/frontend/pnpm-workspace.yaml
Andrey Antukh 5c474939ac 🔧 Pin all pnpm workspaces to one shared pnpm store
Set storeDir in every pnpm-workspace.yaml: `.pnpm-store` at the repo
root and `../.pnpm-store` in the ten module workspaces, so all of them
resolve to <repo>/.pnpm-store. pnpm resolves the value against the
workspace root, and nested workspaces do not inherit settings, which
had left the root workspace and the modules on two different stores.

Add scripts/clean-node-modules: removes every workspace node_modules
in one pass (ignores external/ and .opencode/), keeps the shared store
unless --store removes it too.

Verified: every workspace resolves the same store path; reinstalls
after a full clean reuse the cache with zero downloads;
frozen-lockfile installs pass in all 11 workspaces with no lockfile
changes; the frontend storybook suite stays green.

AI-assisted-by: omen-alpha
2026-09-09 08:04:11 +02:00

37 lines
813 B
YAML

storeDir: ../.pnpm-store
packages:
- "packages/draft-js"
- "packages/mousetrap"
- "packages/tokenscript"
- "text-editor"
- "packages/ui"
patchedDependencies:
'@zip.js/zip.js@2.8.34': patches/@zip.js__zip.js@2.8.26.patch
shamefullyHoist: true
minimumReleaseAge: 0
allowBuilds:
'@parcel/watcher': true
canvas: true
core-js-pure: true
esbuild: true
overrides:
ajv@>=7.0.0-alpha.0 <8.18.0: ^8.18.0
immutable@<3.8.3: ^3.8.3
lodash@<=4.17.23: ^4.17.24
lodash@>=4.0.0 <=4.17.23: ^4.17.24
minimatch@>=10.0.0 <10.2.1: ^10.2.1
minimatch@>=10.0.0 <10.2.3: ^10.2.3
minimatch@>=9.0.0 <9.0.6: ^9.0.6
minimatch@>=9.0.0 <9.0.7: ^9.0.7
postcss@<7.0.36: ^7.0.36
postcss@<8.4.31: ^8.4.31
postcss@<8.5.10: ^8.5.10
yaml@>=2.0.0 <2.8.3: ^2.8.3
playwright@>=1.61.1 <2.0.0-0: "1.62.1"