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

25 lines
449 B
YAML

storeDir: ../.pnpm-store
allowBuilds:
esbuild: true
sharp: false
linkWorkspacePackages: true
minimumReleaseAgeExclude:
- qs@6.14.2 || 6.15.2
- path-to-regexp@8.4.0
- body-parser@2.3.0
- '@hono/node-server@2.0.5'
- fast-uri@3.1.3 || 3.1.4 || 3.1.5
- ip-address@10.2.1 || 10.2.2 || 10.3.1
- hono@4.12.34
packages:
- "packages/common"
- "packages/server"
- "packages/plugin"
overrides:
'@hono/node-server@<2.0.5': ^2.0.5