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-install
was added. When it is set tofalse
,pnpm install
will only install dependencies in current project, even when executed inside a monorepo.If
recursive-install
isfalse
, you should explicitly runpnpm install -r
in 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
foo
in the repository that has no version field,bar
may 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 prune
should accept the--no-optional
and--no-dev
options.