PNpM CLI
Features
-
#755 Installation of private Git-hosted repositories via HTTPS using an auth token.
pnpm add git+https://{token}:x-oauth-basic@github.com/SOME_ORG/SOME_PRIVATE_REPO.git -
#2657 A new setting called
recursive-installwas added. When it is set tofalse,pnpm installwill only install dependencies in current project, even when executed inside a monorepo.If
recursive-installisfalse, you should explicitly runpnpm install -rin order to install all dependencies in all workspace projects. -
#2648 Projects that don't have a
"version"field may be installed as dependencies of other projects in the workspace, using the"workspace:0.0.0"specifier.So if there's
fooin the repository that has no version field,barmay have it as a dependency:"dependencies": { "foo": "workspace:0.0.0" } -
#2680 By default, all ESLint plugin are hoisted to the root of
node_modules.eslint-plugin-*added as one of the default patterns ofpublic-hoist-pattern. -
Improved error message on workspace range resolution error.
Now the path to the project is printed, where the error originated.
Bug Fixes
pnpm pruneshould accept the--no-optionaland--no-devoptions.