npm pnpm 4.7.0

latest releases: 10.0.0-alpha.2, 10.0.0-alpha.1, 9.13.2...
4 years ago

Features

  • outdated: (#2256)
    • pnpm outdated --compatible: prints only versions that satisfy specs in package.json
    • pnpm outdated --dev: checks only "devDependencies"
    • pnpm outdated --production: checks only "dependencies" and "optionalDependencies"
    • pnpm outdated --no-optional: doesn't check "optionalDependencies"
  • filtering: (#2254)
    • pnpm <cmd> --filter {dir}: filtering by directory. Works with .... So ...{dir} selects all packages from dir and all its dependents.

    • pnpm <cmd> --filter {dir}[<since>]: filtering by directory and by changed since.

      For instance:

      pnpm test --filter {components}[origin/master]
      

      Also works with ... to include dependents/dependencies.

      pnpm test --filter ...{components}[origin/master]
      pnpm test --filter {components}[origin/master]...
      pnpm test --filter ...{components}[origin/master]...
      
    • pnpm <cmd> --filter <pkg name>{dir}[origin/master]: filtering by directory, by changed since and by package name pattern.

      For instance:

      pnpm test --filter @babel/*{components}[origin/master]
      

Bug Fixes

  • pnpm -r outdated should show all the different current versions (#2205)
  • local prerelease version of packages should be linked only if the range is * (#2259)

Don't miss a new pnpm release

NewReleases is sending notifications on new releases.