mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-26 11:02:01 -04:00
Packages whose tests spawn the local pnpm CLI (pnpm/bin/pnpm.mjs) need the bundle (pnpm/dist/pnpm.mjs) to exist. Add `pnpm --filter pnpm run compile` to their test scripts so the bundle is built before tests run.
@pnpm/make-dedicated-lockfile
Creates a dedicated lockfile for a subset of workspace projects
This package is deprecated. Please use the pnpm deploy command instead.
Installation
pnpm add @pnpm/make-dedicated-lockfile
Usage
Open the directory of the workspace project that you want to create a dedicated lockfile for.
Run make-dedicated-lockfile in the terminal.
A new lockfile will be generated, using dependencies from the shared workspace lockfile but only those that are related to the project in the current working directory or subdirectories.
License
MIT