github pnpm/pnpm v3.2.0

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

Features

  • -L, --latest flag for update command. When used, version ranges in package.json are ignored (#1307)

    Usage examples:

    pnpm update --latest
    pnpm multi up -L
    
  • --save-peer flag (#1064)

    Usage example:

    pnpm add webpack --save-peer
    
  • optional peer dependencies (#1486)

    Usage example. In package.json mark optional peer deps via the peerDependenciesMeta flag:

    "peerDependencies": { "webpack": "^4.0.0"  },
    "peerDependenciesMeta": { "webpack": { "optional": true } }
  • at least Node.js 8.15 is required to run pnpm>=v3.2

Bug Fixes

  • correct stats reporting with --independent-leaves flag (859aed1)
  • transitive peer dependencies in lockfile should not be added as dependencies on named install (dec1b42)

Milestone: https://github.com/pnpm/pnpm/milestone/5

Don't miss a new pnpm release

NewReleases is sending notifications on new releases.