This repository was archived by the owner on Mar 12, 2019. It is now read-only.
Update dependency pnpm to v3 #15
Open
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.0Release Notes
pnpm/pnpm
v3.0.0Compare Source
Breaking Changes
shrinkwrap.yamltopnpm-lock.yaml--scopeflag is deprecated-rflag is not an alias of--registryanymore.pnpm i -r===pnpm recursive installsave-exactandsave-prefixconfigs (#1633)pnpm recursive linkcommand is deprecatedlink-workspace-packagesconfig istrueby defaultshared-workspace-lockfileconfig istrueby defaultshrinkwrap->lockfileshrinkwrap-only->lockfile-onlyshrinkwrap-directory->lockfile-directoryshared-workspace-shrinkwrap->shared-workspace-lockfilefrozen-shrinkwrap->frozen-lockfileprefer-frozen-shrinkwrap->prefer-frozen-lockfilenode_modulesmay not contain!in their path (#1601)v2.25.7Compare Source
Bug Fixes
v2.25.6Compare Source
Bug Fixes
pnpm recursive lsshould not fail on importer with no entry in shrinkwrap (#1549)v2.25.5Compare Source
Bug Fixes
e3cfa98)ff11390)v2.25.4Compare Source
Bug Fixes
3f0cb79)v2.25.3Compare Source
Bug Fixes
v2.25.2Compare Source
Bug Fixes
v2.25.1Compare Source
Bug Fixes
v2.25.0Compare Source
Features
pnpm recursive rebuildworks with workspaces that have sharedshrinkwrap.yamlfile (#1597)v2.24.2Compare Source
Features
Bug Fixes
a2f86c0)package.jsonfilesv2.23.1Compare Source
Features
Bug Fixes
91f9ed3, @zkochan)d393905)86cd03d)v2.23.0Compare Source
Features
Bug Fixes
d393905)86cd03d)v2.22.0Compare Source
Features
$PNPM_PKG_NAMEwhen runningpnpm m exec -- echo $PNPM_PACKAGE_NAME(#1553)Bug Fixes
shamefully-flattenworks withindependent-leaves(#1547)v2.21.1Compare Source
Features
pnpm store usages <pkg>(#1527, @nareddyt)Bug Fixes
bfe353a, @zkochan)filteras a config in.npmrc(6ae12c3, @zkochan)ea39387, @zkochan)v2.21.0Compare Source
Features
pnpm store usages <pkg>(#1527, @nareddyt)Bug Fixes
bfe353a, @zkochan)filteras a config in.npmrc(6ae12c3, @zkochan)v2.20.1Compare 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.0Compare Source
Features
pnpm recursive ls --depth -1(#1519)Bug Fixes
shrinkwrap.yaml(066910b)v2.19.4Compare Source
Bug Fixes
v2.19.3Compare Source
Bug Fixes
shrinkwrap.yaml(@zkochan,94933ac)v2.19.2Compare Source
Performance
shamefully-flatten=trueconfig (#1467)Features
2ab7856)Bug Fixes
4c08b34)shrinkwrap.yaml(4286bab)shared-workspace-shrinkwrapconfig is ignored whe no workspace is present (#1482)be0108c)shrinkwrap.yaml(#1495)v2.19.1Compare Source
Performance
shamefully-flatten=trueconfig (#1467)Features
2ab7856)Bug Fixes
4c08b34)shrinkwrap.yaml(4286bab)shared-workspace-shrinkwrapconfig is ignored whe no workspace is present (#1482)be0108c)shrinkwrap.yaml(#1495)v2.19.0Compare Source
Performance
shamefully-flatten=trueconfig (#1467)Features
2ab7856)Bug Fixes
4c08b34)shrinkwrap.yaml(4286bab)shared-workspace-shrinkwrapconfig is ignored whe no workspace is present (#1482)be0108c)shrinkwrap.yaml(#1495)v2.18.2Compare Source
Features
5f63aa5, @zkochan)pnpm [command] -- [filters]is converted to `pnpm recursive [command] -- [filters]Bug Fixes
v2.17.8Compare Source
Bug Fixes
4ad43d8, @zkochan)v2.17.7Compare Source
Bug Fixes
ERROR Cannot set property 'requiresBuild' of undefined(#1453, @vjpr)059a0a3, @zkochan)v2.17.6Compare Source
Bug Fixes
6d68a19, @zkochan)v2.17.5Compare Source
Bug Fixes
4218a62, @zkochan)v2.17.4Compare Source
Bug Fixes
3a15eb0, @zkochan)shrinkwrap.yaml(2a5fc3e, @zkochan)v2.17.3Compare Source
Bug Fixes
pnpm recursive listshould work on a multi-package repo that uses a sharedshrinkwrap.yaml(6c6f376, @zkochan)v2.17.2Compare Source
Bug Fixes
v2.17.0Compare Source
Features
Shared Monorepo
node_modulesandshrinkwrap.yamlBy default, when running the
pnpm recursive installin a monorepo, pnpm creates a dedicatednode_modulesandshrinkwrap.yamlfor every package in the monorepo. pnpm now allows to set theshared-workspace-shrinkwrapconfig totrueand 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_modulesin the root of the repo and symlinks will be created from that singlenode_modulesinto 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.yamlfile in the rootan
.npmrcfile with the following content should be in the root of the monorepo:v2.16.3Compare Source
Bug Fixes
79d6307, #1305, @zkochan)v2.16.2Compare Source
Bug Fixes
node_modulesmisses some optional dependencies (e8d442c, @zkochan)v2.16.1Compare Source
Bug Fixes
v2.16.0Compare Source
Features
v2.15.3Compare Source
Bug Fixes
v2.15.2Compare Source
Bug Fixes
546f426, #871, @zkochan)v2.15.1Compare Source
Bug Fixes
b594b8c, @zkochan)v2.15.0Compare 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.5Compare Source
Features
link-workspace-packages(#1259, @zkochan)--filterflag (#1313, @zkochan)73b0359, @zkochan)363d45e, @zkochan)--no-sortto disable sorting topologically before running recursive commands (0029163, @zkochan)pnpm-prefixto 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 updateremoves package if there was a semver major update (#1333, @zkochan)de09699, @zkochan)c01f14b, @zkochan)683989a, @pgonzal)v2.14.4Compare Source
Features
link-workspace-packages(#1259, @zkochan)73b0359, @zkochan)363d45e, @zkochan)--no-sortto disable sorting topologically before running recursive commands (0029163, @zkochan)pnpm-prefixto 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 updateremoves package if there was a semver major update (#1333, @zkochan)v2.14.3Compare Source
Features
link-workspace-packages(#1259, @zkochan)73b0359, @zkochan)363d45e, @zkochan)--no-sortto disable sorting topologically before running recursive commands (0029163, @zkochan)pnpm-prefixto 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.2Compare Source
Features
link-workspace-packages(#1259, @zkochan)73b0359, @zkochan)363d45e, @zkochan)--no-sortto disable sorting topologically before running recursive commands (0029163, @zkochan)pnpm-prefixto override the location of global packages (#1334, @ExE-Boss)Bug Fixes
7ef9364, @zkochan)049e669, @zkochan)NODE_ENV=production(7d67dc2, @zkochan)7bd3d3d, @zkochan)v2.14.1Compare Source
Features
link-workspace-packages(#1259, @zkochan)73b0359, @zkochan)363d45e, @zkochan)--no-sortto disable sorting topologically before running recursive commands (0029163, @zkochan)pnpm-prefixto override the location of global packages (#1334, @ExE-Boss)Bug Fixes
7ef9364, @zkochan)049e669, @zkochan)NODE_ENV=production(7d67dc2, @zkochan)7bd3d3d, @zkochan)v2.14.0Compare Source
Features
link-workspace-packages(#1259, @zkochan)73b0359, @zkochan)363d45e, @zkochan)--no-sortto disable sorting topologically before running recursive commands (0029163, @zkochan)pnpm-prefixto override the location of global packages (#1334, @ExE-Boss)Bug Fixes
7ef9364, @zkochan)049e669, @zkochan)v2.13.6Compare Source
Bug Fixes
NODE_ENV=production(7d67dc2, @zkochan)v2.13.5Compare Source
Bug Fixes
v2.13.4Compare Source
Bug Fixes
v2.13.3Compare Source
Bug Fixes
v2.13.1Compare Source
Features
recursive: a new option for continuing execution on task fails (#1287, @zkochan)
bailis true by default. bail means that a recursive command is terminated on the first fail.Usage example:
recursive: a new option called
workspace-concurrencyfor changing the concurrency ofrecursivecommands (#1297, @zkochan)Usage example:
recursive: a new option called
filterfor scopingrecursivecommands (#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.0Compare Source
Features
recursive: a new option for continuing execution on task fails (#1287, @zkochan)
bailis true by default. bail means that a recursive command is terminated on the first fail.Usage example:
recursive: a new option called
workspace-concurrencyfor changing the concurrency ofrecursivecommands (#1297, @zkochan)Usage example:
recursive: a new option called
filterfor scopingrecursivecommands (#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.2Compare Source
Features
pnpm store add [pkg...](#1268, @etamponi)Bug Fixes
&to a npm cli package (#1199, @ExE-Boss)v2.12.1Compare Source
Bug Fixes
v2.12.0Compare Source
Features
pnpm store add [pkg...](#1268, @etamponi)Bug Fixes
&to a npm cli package (#1199, @ExE-Boss)v2.11.3Compare Source
Bug Fixes
v2.11.2Compare Source
Features
pnpm link fooinstallsfooas 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.1Compare Source
v2.11.0Compare Source
Features
pnpm link fooinstallsfooas 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.6Compare Source
Bug Fixes
v2.10.5Compare Source
Bug Fixes
--shamefully-flattenflag#1265, @etamponi
v2.10.4Compare 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.yamlduring install (9d527ff)9e76694)9dd802b)7bde6a8)8e6196b)--prefix(41d4389)v2.10.3Compare 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.yamlduring install (9d527ff)9e76694)9dd802b)v2.10.1Compare 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.yamlduring install (9d527ff)9e76694)9dd802b)v2.10.0Compare 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.yamlduring install (9d527ff)9e76694)9dd802b)v2.9.0Compare Source
Features
pnpm recursive exec -- <command> [args...](#1227)Bug Fixes
v2.8.0Compare 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.