Replies: 1 comment
-
|
You hit this because of an intentional change in pnpm v10.0.0:
The team made linking explicit by design — anyone running For multi-repo development without lockfile pollution, three patterns work in the modern pnpm world: 1.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We're working on a multi-repo project, where each module lives in its own repository. Currently, we're stuck using pnpm v9, as it still has support for globally linking packages.
While we could use newer versions,
pnpm linknow changes the lockfile, which is cumbersome when committing and pushing changes (the links are only needed and only work locally during development).Does pnpm offer some better way of working with multi-repo projects? I can only think of workarounds such as pre-commit hooks that undo the links before committing.
Beta Was this translation helpful? Give feedback.
All reactions