github pnpm/pnpm v5.9.0

latest releases: v8.15.8, v9.1.0-0, v9.0.6...
3 years ago

Features

  • Plug'n'Play support added #2902

    To use Plug'n'Play in a project, create a .npmrc file in its root with the following content:

    node-linker=pnp
    
    ; Setting symlink to false is optional.
    symlink=false

    All the commands will work, when executed through pnpm run. However, directly executing a .js file with Node.js will fail. Node's
    resolver should be patched with .pnp.js. So instead of node index.js, you should run: node --require=./.pnp.js index.js

  • New setting: symlink #2900

    When symlink is set to false, pnpm creates a virtual store directory (node_modules/.pnpm) without any symlinks.

Bug Fixes

  • Fixed some edge cases with resolving peer dependencies #2919.
  • Installation should fail if there are references to a project that has been removed from the workspace #2905.
  • pnpm should not suggest to update pnpm to a newer version, when the installed version is bigger than latest.

Don't miss a new pnpm release

NewReleases is sending notifications on new releases.