penpot/exporter/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

15 lines
365 B
YAML

storeDir: ../.pnpm-store
allowBuilds:
core-js-pure: false
minimumReleaseAgeExclude:
- lodash@4.17.23 || 4.17.24
- playwright-core@1.62.1
- playwright@1.62.1
- brace-expansion@5.0.7 || 5.0.8 || 5.0.9
overrides:
lodash@<=4.17.23: ^4.17.24
lodash@>=4.0.0 <=4.17.22: ^4.17.23
lodash@>=4.0.0 <=4.17.23: ^4.17.24
playwright@>=1.61.1 <2.0.0-0: "1.62.1"