Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Update dependency pnpm to v3 #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update dependency pnpm to v3 #15

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 11, 2019

This PR contains the following updates:

Package Type Update Change References
pnpm dependencies major ^1.30.2 -> ^3.0.0 homepage, source

Release Notes

pnpm/pnpm

v3.0.0

Compare Source

Breaking Changes
  • Node.js 6 and below are not supported
  • pnpm's lockfile renamed from shrinkwrap.yaml to pnpm-lock.yaml
  • the --scope flag is deprecated
  • the -r flag is not an alias of --registry anymore. pnpm i -r === pnpm recursive install
  • the specified version spec is prefered during installation. It doesn't matter what are the values of the save-exact and save-prefix configs (#​1633)
  • the pnpm recursive link command is deprecated
  • the link-workspace-packages config is true by default
  • the shared-workspace-lockfile config is true by default
  • config renames:
    • shrinkwrap -> 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
  • dependency locations in node_modules may not contain ! in their path (#​1601)

v2.25.7

Compare Source

Bug Fixes
  • unpacking a tarball that has 2 files with the same name on Windows (#​1685)

v2.25.6

Compare Source

Bug Fixes
  • recursive run should always trust the scripts (#​1644)
  • pnpm recursive ls should not fail on importer with no entry in shrinkwrap (#​1549)

v2.25.5

Compare Source

Bug Fixes
  • workspace configs have bigger priority than user configs (e3cfa98)
  • the array of skipped packages should match keys in shrinkwrap (ff11390)

v2.25.4

Compare Source

Bug Fixes
  • headless: don't skip optional dependencies during forced install (3f0cb79)

v2.25.3

Compare Source

Bug Fixes
  • bin files should be executable on non-windows (#​1075)

v2.25.2

Compare Source

Bug Fixes
  • headless install should skip optional deps that are not installable (#​1606)

v2.25.1

Compare Source

Bug Fixes
  • when a network connection fails, pnpm incorrectly reports a tarball integrity error (#​1235)
  • shared-workspace-shrinkwrap: path to local tarball should be relative to shrinkwrap dir (#​1603)

v2.25.0

Compare Source

Features
  • pnpm recursive rebuild works with workspaces that have shared shrinkwrap.yaml file (#​1597)
  • lifecycle scripts of workspace packages are run concurrently (#​1597)

v2.24.2

Compare Source

Features
  • progress reporting per workspace package (#​1135)
Bug Fixes
  • headless install should set pending builds correctly (a2f86c0)
  • print a more meaningful error on invalid package.json files

v2.23.1

Compare Source

Features
  • better reporting of child processes output (#​1573)

Bug Fixes
  • pnpm recursive run: second and later subprocesses hang without output (#​1578, @​zkochan, @​aquark)
  • avoid "Possible EventEmitter memory leak detected" warnings (91f9ed3, @​zkochan)
  • keep packages in current shrinkwrap on partial install in a workspace (d393905)
  • pipe output of child processes during headless install (86cd03d)

v2.23.0

Compare Source

Features
  • better reporting of child processes output (#​1573)

Bug Fixes
  • keep packages in current shrinkwrap on partial install in a workspace (d393905)
  • pipe output of child processes during headless install (86cd03d)

v2.22.0

Compare Source

Features
  • current package name should be in env var called $PNPM_PKG_NAME when running pnpm m exec -- echo $PNPM_PACKAGE_NAME (#​1553)
  • notify user about scope of the command (#​1551)
Bug Fixes
  • server: change error type for invalid request method (#​1548)
  • shamefully-flatten works with independent-leaves (#​1547)

v2.21.1

Compare Source

Features
Bug Fixes

v2.21.0

Compare Source

Features
Bug Fixes

v2.20.1

Compare Source

Features
  • command for listing packages from workspace: pnpm recursive ls --depth -1 (#​1519)
Bug Fixes
  • recursive removal in a monorepo with shared shrinkwrap.yaml (066910b)
  • fixed a regression caused by 4286bab. Importers are only removed when no packages are ignored (38e80d0)

v2.20.0

Compare Source

Features
  • command for listing packages from workspace: pnpm recursive ls --depth -1 (#​1519)
Bug Fixes
  • recursive removal in a monorepo with shared shrinkwrap.yaml (066910b)

v2.19.4

Compare Source

Bug Fixes
  • uninstalling a direct peer from a shared shrinkwrap (#​1518)

v2.19.3

Compare Source

Bug Fixes
  • local tarball dependency should be correctly saved to shrinkwrap.yaml (@​zkochan, 94933ac)

v2.19.2

Compare Source

Performance
  • headless installation supports workspaces with shared shrinkwrap and projects that use the shamefully-flatten=true config (#​1467)
Features
  • list: find unsaved dependencies (2ab7856)
Bug Fixes
  • shrinkwrap: dev dependency that is also a prod dependency is considered a prod dependency (4c08b34)
  • shrinkwrap: importers that don't exist anymore are removed from shared shrinkwrap.yaml (4286bab)
  • shared-workspace-shrinkwrap config is ignored whe no workspace is present (#​1482)
  • uninstall a dependency from a project that uses shared shrinkwrap (be0108c)
  • headless install works with side effects cache (#​1490)
  • external links are not added to shrinkwrap.yaml (#​1495)
  • some deps are not installed when peer is resolved in a sub-package and also monorepo root (#​1483)

v2.19.1

Compare Source

Performance
  • headless installation supports workspaces with shared shrinkwrap and projects that use the shamefully-flatten=true config (#​1467)
Features
  • list: find unsaved dependencies (2ab7856)
Bug Fixes
  • shrinkwrap: dev dependency that is also a prod dependency is considered a prod dependency (4c08b34)
  • shrinkwrap: importers that don't exist anymore are removed from shared shrinkwrap.yaml (4286bab)
  • shared-workspace-shrinkwrap config is ignored whe no workspace is present (#​1482)
  • uninstall a dependency from a project that uses shared shrinkwrap (be0108c)
  • headless install works with side effects cache (#​1490)
  • external links are not added to shrinkwrap.yaml (#​1495)

v2.19.0

Compare Source

Performance
  • headless installation supports workspaces with shared shrinkwrap and projects that use the shamefully-flatten=true config (#​1467)
Features
  • list: find unsaved dependencies (2ab7856)
Bug Fixes
  • shrinkwrap: dev dependency that is also a prod dependency is considered a prod dependency (4c08b34)
  • shrinkwrap: importers that don't exist anymore are removed from shared shrinkwrap.yaml (4286bab)
  • shared-workspace-shrinkwrap config is ignored whe no workspace is present (#​1482)
  • uninstall a dependency from a project that uses shared shrinkwrap (be0108c)
  • headless install works with side effects cache (#​1490)
  • external links are not added to shrinkwrap.yaml (#​1495)

v2.18.2

Compare Source

Features
  • when filters are used, commands are automatically recursive (5f63aa5, @​zkochan)
    pnpm [command] -- [filters] is converted to `pnpm recursive [command] -- [filters]
Bug Fixes

v2.17.8

Compare Source

Bug Fixes

v2.17.7

Compare Source

Bug Fixes

v2.17.6

Compare Source

Bug Fixes

v2.17.5

Compare Source

Bug Fixes

v2.17.4

Compare Source

Bug Fixes

v2.17.3

Compare Source

Bug Fixes
  • shared-workspace-shrinkwrap: pnpm recursive list should work on a multi-package repo that uses a shared shrinkwrap.yaml (6c6f376, @​zkochan)

v2.17.2

Compare Source

Bug Fixes
  • shared-workspace-shrinkwrap: use correct shrinkwrap format when installing in repo root package (@​zkochan, #​1437)

v2.17.0

Compare Source

Features
Shared Monorepo node_modules and shrinkwrap.yaml

By default, when running the pnpm recursive install in a monorepo, pnpm creates a dedicated node_modules and shrinkwrap.yaml for every package in the monorepo. pnpm now allows to set the shared-workspace-shrinkwrap config to true 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 single node_modules into each project of the monorepo.

Bonus advantages of the new config:

  • every dependency is a singleton
  • faster installations in a monorepo
  • less changes in code reviews

How to configure the new config

  1. your monorepo has to have a pnpm-workspace.yaml file in the root

  2. an .npmrc file with the following content should be in the root of the monorepo:

    shared-workspace-shrinkwrap = true
    
    ; the following is also a nice to have option in a monorepo
    ; when link-workspace-packages is true, dependencies are linked from the repo, when available
    link-workspace-packages = true

v2.16.3

Compare Source

Bug Fixes

v2.16.2

Compare Source

Bug Fixes
  • rebuild: don't fail if 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

v2.15.1

Compare Source

Bug Fixes

v2.15.0

Compare Source

related article: pnpm vs Lerna: filtering in a multi-package repository

Features

v2.14.5

Compare Source

Features
Bug Fixes

v2.14.4

Compare Source

Features
Bug Fixes

v2.14.3

Compare Source

Features
Bug Fixes

v2.14.2

Compare Source

Features
Bug Fixes

v2.14.1

Compare Source

Features
Bug Fixes

v2.14.0

Compare Source

Features
Bug Fixes

v2.13.6

Compare Source

Bug Fixes

v2.13.5

Compare Source

Bug Fixes
  • packages without integrity checksums should be refetched to the store. Installation should not fail (#​1324, @​zkochan)

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:

    pnpm recursive test --no-bail
    
  • recursive: a new option called workspace-concurrency for changing the concurrency of recursive commands (#​1297, @​zkochan)

    Usage example:

    pnpm recursive test --workspace-concurrency 1
    
  • recursive: a new option called filter for scoping recursive 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

* **workspace:** always read configs from root of workspace (#​1310, @​zkochan)
A `.npmrc` file in the root of a workspace can contain configs shared by all workspace packages.

The workspace-level configs have a bigger priority than global level configs and less priority than local-level configs.

/npmrc < /.npmrc < /.npmrc

##### Bug Fixes

* **link:** use the local `.npmrc` files of linked packages during their installation (#&#8203;1289, @&#8203;zkochan)
* **store:** store should be locked by default during any operations involving the store (0b3c35a7cae0a0543599f47191ff7cf1908523fb, @&#8203;zkochan)
* **reporting:** pring store logs (3aabdbc266ca35f3e82ee2ec3607d433d495ec0b, @&#8203;zkochan)

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:

    pnpm recursive test --no-bail
    
  • recursive: a new option called workspace-concurrency for changing the concurrency of recursive commands (#​1297, @​zkochan)

    Usage example:

    pnpm recursive test --workspace-concurrency 1
    
  • recursive: a new option called filter for scoping recursive 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

* **workspace:** always read configs from root of workspace (#&#8203;1310, @&#8203;zkochan)
A `.npmrc` file in the root of a workspace can contain configs shared by all workspace packages.

The workspace-level configs have a bigger priority than global level configs and less priority than local-level configs.

/npmrc < /.npmrc < /.npmrc


v2.12.2

Compare Source

Features
Bug Fixes
  • issue when passing a parameter with the & to a npm cli package (#​1199, @​ExE-Boss)
  • print install summary for global installations (#​1218, @​zkochan)
  • reporting: peer deps are missing only if they cannot be required (#​1284)
  • ENOENT: no such file or directory, open '.../package/package.json' (#​1293)

v2.12.1

Compare Source

Bug Fixes
  • ENOENT: no such file or directory, open '.../package/package.json' (#​1293)

v2.12.0

Compare Source

Features
Bug Fixes

v2.11.3

Compare Source

Bug Fixes
  • ENOENT: no such file or directory, open '.../package/package.json' (#​1293)

v2.11.2

Compare Source

Features

v2.11.1

Compare Source

v2.11.0

Compare Source

Features

v2.10.6

Compare Source

Bug Fixes
  • cannot read property 'fetchingRawManifest' of undefined (#​1273)

v2.10.5

Compare Source

Bug Fixes
  • shamefully-flatten: bins are flattened when installation is done with --shamefully-flatten flag
    #​1265, @​etamponi

v2.10.4

Compare Source

Features
Bug Fixes
  • recursive: sort packages in a monorepo before doing actions (f3a65f1)
  • reporting: limit the width of lifecycle output (2d51c0c)
  • fix exception on err.code.startsWith (b013ad1)
  • pnpmfile: installation should fail if pnpmfile fails (#​1247)
  • shrinkwrap: align the dependency types in shrinkwrap.yaml during install (9d527ff)
  • list: list should have depth 0 by default (9e76694)
  • unlink: don't fail if there is nothing to unlink (9dd802b)
  • fail with meaningful error when installed package has no name (7bde6a8)
  • recursive: resolve directory deps correctly inside monorepo (8e6196b)
  • link bins to correct location when CWD does not equal the value of --prefix (41d4389)

v2.10.3

Compare Source

Features
Bug Fixes
  • recursive: sort packages in a monorepo before doing actions (f3a65f1)
  • reporting: limit the width of lifecycle output (2d51c0c)
  • fix exception on err.code.startsWith (b013ad1)
  • pnpmfile: installation should fail if pnpmfile fails (#​1247)
  • shrinkwrap: align the dependency types in shrinkwrap.yaml during install (9d527ff)
  • list: list should have depth 0 by default (9e76694)
  • unlink: don't fail if there is nothing to unlink (9dd802b)

v2.10.1

Compare Source

Features
Bug Fixes
  • recursive: sort packages in a monorepo before doing actions (f3a65f1)
  • reporting: limit the width of lifecycle output (2d51c0c)
  • fix exception on err.code.startsWith (b013ad1)
  • pnpmfile: installation should fail if pnpmfile fails (#​1247)
  • shrinkwrap: align the dependency types in shrinkwrap.yaml during install (9d527ff)
  • list: list should have depth 0 by default (9e76694)
  • unlink: don't fail if there is nothing to unlink (9dd802b)

v2.10.0

Compare Source

Features
Bug Fixes
  • recursive: sort packages in a monorepo before doing actions (f3a65f1)
  • reporting: limit the width of lifecycle output (2d51c0c)
  • fix exception on err.code.startsWith (b013ad1)
  • pnpmfile: installation should fail if pnpmfile fails (#​1247)
  • shrinkwrap: align the dependency types in shrinkwrap.yaml during install (9d527ff)
  • list: list should have depth 0 by default (9e76694)
  • unlink: don't fail if there is nothing to unlink (9dd802b)

v2.9.0

Compare Source

Features
  • new comand: pnpm recursive exec -- <command> [args...] (#​1227)
Bug Fixes
  • install global dependencies to a folder that requires no admin permissions on Windows (#​928)

v2.8.0

Compare Source

Performance
  • mark packages with bins in shrinkwrap.yaml. The number of required filesystem operations reduced ([#​1239

Renovate 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant