github pnpm/pnpm v5.4.0

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

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 to false, pnpm install will only install dependencies in current project, even when executed inside a monorepo.

    If recursive-install is false, you should explicitly run pnpm 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 of public-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.

Don't miss a new pnpm release

NewReleases is sending notifications on new releases.