-
Hello, i wonder if it is possible to have lock files in each workspace, but do not install the dependencies like it is separate package? So when i add dependency in workspace package pnpm updates package.json in the package, update its lock file, but pnpm will install the dependency like i would run "pnpm instal" in the root. The use case: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You can try to set the shared-workspace-lockfile setting to Maybe you can generate your own lockfile using this library: https://github.com/pnpm/pnpm/tree/main/packages/make-dedicated-lockfile |
Beta Was this translation helpful? Give feedback.
You can try to set the shared-workspace-lockfile setting to
false
. But it will also create separate node_modules for every project. So installation will be a lot slower.Maybe you can generate your own lockfile using this library: https://github.com/pnpm/pnpm/tree/main/packages/make-dedicated-lockfile