This repository has been archived by the owner on Mar 12, 2019. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.30.2
->^3.0.0
Release Notes
pnpm/pnpm
v3.0.0
Compare Source
Breaking Changes
shrinkwrap.yaml
topnpm-lock.yaml
--scope
flag is deprecated-r
flag is not an alias of--registry
anymore.pnpm i -r
===pnpm recursive install
save-exact
andsave-prefix
configs (#1633)pnpm recursive link
command is deprecatedlink-workspace-packages
config istrue
by defaultshared-workspace-lockfile
config istrue
by defaultshrinkwrap
->lockfile
shrinkwrap-only
->lockfile-only
shrinkwrap-directory
->lockfile-directory
shared-workspace-shrinkwrap
->shared-workspace-lockfile
frozen-shrinkwrap
->frozen-lockfile
prefer-frozen-shrinkwrap
->prefer-frozen-lockfile
node_modules
may not contain!
in their path (#1601)v2.25.7
Compare Source
Bug Fixes
v2.25.6
Compare Source
Bug Fixes
pnpm recursive ls
should not fail on importer with no entry in shrinkwrap (#1549)v2.25.5
Compare Source
Bug Fixes
e3cfa98
)ff11390
)v2.25.4
Compare Source
Bug Fixes
3f0cb79
)v2.25.3
Compare Source
Bug Fixes
v2.25.2
Compare Source
Bug Fixes
v2.25.1
Compare Source
Bug Fixes
v2.25.0
Compare Source
Features
pnpm recursive rebuild
works with workspaces that have sharedshrinkwrap.yaml
file (#1597)v2.24.2
Compare Source
Features
Bug Fixes
a2f86c0
)package.json
filesv2.23.1
Compare Source
Features
Bug Fixes
91f9ed3
, @zkochan)d393905
)86cd03d
)v2.23.0
Compare Source
Features
Bug Fixes
d393905
)86cd03d
)v2.22.0
Compare Source
Features
$PNPM_PKG_NAME
when runningpnpm m exec -- echo $PNPM_PACKAGE_NAME
(#1553)Bug Fixes
shamefully-flatten
works withindependent-leaves
(#1547)v2.21.1
Compare Source
Features
pnpm store usages <pkg>
(#1527, @nareddyt)Bug Fixes
bfe353a
, @zkochan)filter
as a config in.npmrc
(6ae12c3
, @zkochan)ea39387
, @zkochan)v2.21.0
Compare Source
Features
pnpm store usages <pkg>
(#1527, @nareddyt)Bug Fixes
bfe353a
, @zkochan)filter
as a config in.npmrc
(6ae12c3
, @zkochan)v2.20.1
Compare Source
Features
pnpm recursive ls --depth -1
(#1519)Bug Fixes
shrinkwrap.yaml
(066910b
)4286bab
. Importers are only removed when no packages are ignored (38e80d0
)v2.20.0
Compare Source
Features
pnpm recursive ls --depth -1
(#1519)Bug Fixes
shrinkwrap.yaml
(066910b
)v2.19.4
Compare Source
Bug Fixes
v2.19.3
Compare Source
Bug Fixes
shrinkwrap.yaml
(@zkochan,94933ac
)v2.19.2
Compare Source
Performance
shamefully-flatten=true
config (#1467)Features
2ab7856
)Bug Fixes
4c08b34
)shrinkwrap.yaml
(4286bab
)shared-workspace-shrinkwrap
config is ignored whe no workspace is present (#1482)be0108c
)shrinkwrap.yaml
(#1495)v2.19.1
Compare Source
Performance
shamefully-flatten=true
config (#1467)Features
2ab7856
)Bug Fixes
4c08b34
)shrinkwrap.yaml
(4286bab
)shared-workspace-shrinkwrap
config is ignored whe no workspace is present (#1482)be0108c
)shrinkwrap.yaml
(#1495)v2.19.0
Compare Source
Performance
shamefully-flatten=true
config (#1467)Features
2ab7856
)Bug Fixes
4c08b34
)shrinkwrap.yaml
(4286bab
)shared-workspace-shrinkwrap
config is ignored whe no workspace is present (#1482)be0108c
)shrinkwrap.yaml
(#1495)v2.18.2
Compare Source
Features
5f63aa5
, @zkochan)pnpm [command] -- [filters]
is converted to `pnpm recursive [command] -- [filters]Bug Fixes
v2.17.8
Compare Source
Bug Fixes
4ad43d8
, @zkochan)v2.17.7
Compare Source
Bug Fixes
ERROR Cannot set property 'requiresBuild' of undefined
(#1453, @vjpr)059a0a3
, @zkochan)v2.17.6
Compare Source
Bug Fixes
6d68a19
, @zkochan)v2.17.5
Compare Source
Bug Fixes
4218a62
, @zkochan)v2.17.4
Compare Source
Bug Fixes
3a15eb0
, @zkochan)shrinkwrap.yaml
(2a5fc3e
, @zkochan)v2.17.3
Compare Source
Bug Fixes
pnpm recursive list
should work on a multi-package repo that uses a sharedshrinkwrap.yaml
(6c6f376
, @zkochan)v2.17.2
Compare Source
Bug Fixes
v2.17.0
Compare Source
Features
Shared Monorepo
node_modules
andshrinkwrap.yaml
By default, when running the
pnpm recursive install
in a monorepo, pnpm creates a dedicatednode_modules
andshrinkwrap.yaml
for every package in the monorepo. pnpm now allows to set theshared-workspace-shrinkwrap
config totrue
and a single lockfile will be created in the root of your repository.The shared lockfile also means that all the dependencies will be hard linked into one
node_modules
in the root of the repo and symlinks will be created from that singlenode_modules
into each project of the monorepo.Bonus advantages of the new config:
How to configure the new config
your monorepo has to have a
pnpm-workspace.yaml
file in the rootan
.npmrc
file with the following content should be in the root of the monorepo:v2.16.3
Compare Source
Bug Fixes
79d6307
, #1305, @zkochan)v2.16.2
Compare Source
Bug Fixes
node_modules
misses some optional dependencies (e8d442c
, @zkochan)v2.16.1
Compare Source
Bug Fixes
v2.16.0
Compare Source
Features
v2.15.3
Compare Source
Bug Fixes
v2.15.2
Compare Source
Bug Fixes
546f426
, #871, @zkochan)v2.15.1
Compare Source
Bug Fixes
b594b8c
, @zkochan)v2.15.0
Compare Source
related article: pnpm vs Lerna: filtering in a multi-package repository
Features
--
(#1337, @zkochan)2b92377
, @zkochan)strict-peer-dependencies
(#1142, @zkochan)pnpm import
(#1266, @zkochan)v2.14.5
Compare Source
Features
link-workspace-packages
(#1259, @zkochan)--filter
flag (#1313, @zkochan)73b0359
, @zkochan)363d45e
, @zkochan)--no-sort
to disable sorting topologically before running recursive commands (0029163
, @zkochan)pnpm-prefix
to override the location of global packages (#1334, @ExE-Boss)a1b9a8a
, @zkochan)recursive run
(079942f
, @zkochan)Bug Fixes
7ef9364
, @zkochan)049e669
, @zkochan)NODE_ENV=production
(7d67dc2
, @zkochan)7bd3d3d
, @zkochan)984121e
, @zkochan)pnpm update
removes package if there was a semver major update (#1333, @zkochan)de09699
, @zkochan)c01f14b
, @zkochan)683989a
, @pgonzal)v2.14.4
Compare Source
Features
link-workspace-packages
(#1259, @zkochan)73b0359
, @zkochan)363d45e
, @zkochan)--no-sort
to disable sorting topologically before running recursive commands (0029163
, @zkochan)pnpm-prefix
to override the location of global packages (#1334, @ExE-Boss)a1b9a8a
, @zkochan)recursive run
(079942f
, @zkochan)Bug Fixes
7ef9364
, @zkochan)049e669
, @zkochan)NODE_ENV=production
(7d67dc2
, @zkochan)7bd3d3d
, @zkochan)984121e
, @zkochan)pnpm update
removes package if there was a semver major update (#1333, @zkochan)v2.14.3
Compare Source
Features
link-workspace-packages
(#1259, @zkochan)73b0359
, @zkochan)363d45e
, @zkochan)--no-sort
to disable sorting topologically before running recursive commands (0029163
, @zkochan)pnpm-prefix
to override the location of global packages (#1334, @ExE-Boss)a1b9a8a
, @zkochan)recursive run
(079942f
, @zkochan)Bug Fixes
7ef9364
, @zkochan)049e669
, @zkochan)NODE_ENV=production
(7d67dc2
, @zkochan)7bd3d3d
, @zkochan)v2.14.2
Compare Source
Features
link-workspace-packages
(#1259, @zkochan)73b0359
, @zkochan)363d45e
, @zkochan)--no-sort
to disable sorting topologically before running recursive commands (0029163
, @zkochan)pnpm-prefix
to override the location of global packages (#1334, @ExE-Boss)Bug Fixes
7ef9364
, @zkochan)049e669
, @zkochan)NODE_ENV=production
(7d67dc2
, @zkochan)7bd3d3d
, @zkochan)v2.14.1
Compare Source
Features
link-workspace-packages
(#1259, @zkochan)73b0359
, @zkochan)363d45e
, @zkochan)--no-sort
to disable sorting topologically before running recursive commands (0029163
, @zkochan)pnpm-prefix
to override the location of global packages (#1334, @ExE-Boss)Bug Fixes
7ef9364
, @zkochan)049e669
, @zkochan)NODE_ENV=production
(7d67dc2
, @zkochan)7bd3d3d
, @zkochan)v2.14.0
Compare Source
Features
link-workspace-packages
(#1259, @zkochan)73b0359
, @zkochan)363d45e
, @zkochan)--no-sort
to disable sorting topologically before running recursive commands (0029163
, @zkochan)pnpm-prefix
to override the location of global packages (#1334, @ExE-Boss)Bug Fixes
7ef9364
, @zkochan)049e669
, @zkochan)v2.13.6
Compare Source
Bug Fixes
NODE_ENV=production
(7d67dc2
, @zkochan)v2.13.5
Compare Source
Bug Fixes
v2.13.4
Compare Source
Bug Fixes
v2.13.3
Compare Source
Bug Fixes
v2.13.1
Compare Source
Features
recursive: a new option for continuing execution on task fails (#1287, @zkochan)
bail
is true by default. bail means that a recursive command is terminated on the first fail.Usage example:
recursive: a new option called
workspace-concurrency
for changing the concurrency ofrecursive
commands (#1297, @zkochan)Usage example:
recursive: a new option called
filter
for scopingrecursive
commands (#1272, @zkochan)Usage example:
run tests in foo and in all dependencies and sub-dependencies of foo
pnpm recursive test --filter foo...
run tests only in foo
pnpm recursive test --filter foo
/npmrc < /.npmrc < /.npmrc
v2.13.0
Compare Source
Features
recursive: a new option for continuing execution on task fails (#1287, @zkochan)
bail
is true by default. bail means that a recursive command is terminated on the first fail.Usage example:
recursive: a new option called
workspace-concurrency
for changing the concurrency ofrecursive
commands (#1297, @zkochan)Usage example:
recursive: a new option called
filter
for scopingrecursive
commands (#1272, @zkochan)Usage example:
run tests in foo and in all dependencies and sub-dependencies of foo
pnpm recursive test --filter foo...
run tests only in foo
pnpm recursive test --filter foo
/npmrc < /.npmrc < /.npmrc
v2.12.2
Compare Source
Features
pnpm store add [pkg...]
(#1268, @etamponi)Bug Fixes
&
to a npm cli package (#1199, @ExE-Boss)v2.12.1
Compare Source
Bug Fixes
v2.12.0
Compare Source
Features
pnpm store add [pkg...]
(#1268, @etamponi)Bug Fixes
&
to a npm cli package (#1199, @ExE-Boss)v2.11.3
Compare Source
Bug Fixes
v2.11.2
Compare Source
Features
pnpm link foo
installsfoo
as a dependency if it is found inside the current workspaceref #1027, #1250
use a zoomed out reporting for the installation progress of packages that are linked in
ref #1263
v2.11.1
Compare Source
v2.11.0
Compare Source
Features
pnpm link foo
installsfoo
as a dependency if it is found inside the current workspaceref #1027, #1250
use a zoomed out reporting for the installation progress of packages that are linked in
ref #1263
v2.10.6
Compare Source
Bug Fixes
v2.10.5
Compare Source
Bug Fixes
--shamefully-flatten
flag#1265, @etamponi
v2.10.4
Compare Source
Features
pnpm recursive uninstall [<@​scope>/]<pkg>...
Uninstalls a dependency from each package of a monorepo.
#1246 by @zkochan
pnpm/git-resolver#12 by @huochunpeng
Bug Fixes
f3a65f1
)2d51c0c
)err.code.startsWith
(b013ad1
)shrinkwrap.yaml
during install (9d527ff
)9e76694
)9dd802b
)7bde6a8
)8e6196b
)--prefix
(41d4389
)v2.10.3
Compare Source
Features
pnpm recursive uninstall [<@​scope>/]<pkg>...
Uninstalls a dependency from each package of a monorepo.
#1246 by @zkochan
pnpm/git-resolver#12 by @huochunpeng
Bug Fixes
f3a65f1
)2d51c0c
)err.code.startsWith
(b013ad1
)shrinkwrap.yaml
during install (9d527ff
)9e76694
)9dd802b
)v2.10.1
Compare Source
Features
pnpm recursive uninstall [<@​scope>/]<pkg>...
Uninstalls a dependency from each package of a monorepo.
#1246 by @zkochan
pnpm/git-resolver#12 by @huochunpeng
Bug Fixes
f3a65f1
)2d51c0c
)err.code.startsWith
(b013ad1
)shrinkwrap.yaml
during install (9d527ff
)9e76694
)9dd802b
)v2.10.0
Compare Source
Features
pnpm recursive uninstall [<@​scope>/]<pkg>...
Uninstalls a dependency from each package of a monorepo.
#1246 by @zkochan
pnpm/git-resolver#12 by @huochunpeng
Bug Fixes
f3a65f1
)2d51c0c
)err.code.startsWith
(b013ad1
)shrinkwrap.yaml
during install (9d527ff
)9e76694
)9dd802b
)v2.9.0
Compare Source
Features
pnpm recursive exec -- <command> [args...]
(#1227)Bug Fixes
v2.8.0
Compare Source
Performance
shrinkwrap.yaml
. The number of required filesystem operations reduced ([#1239Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.