🎉 Happy release Tuesday! Today marks a major milestone for the npm CLI team - we’ve officially cut npm@7.0.0. If you’ve been following along this past year, or more, you’ll now that we’ve been working hard to bring you this release. Our focus & determination excelerated these past 3 months as we picked up a weekly+ release cadence & began addressing bugs/feedback during our beta/rc windows.

As I’ve mentioned before, we’ve still got a lot of room for improvement but we think that the cli is in a very stable place today & ready for you to use. npm v7 will be shipping with Node.js v15 (a PR to land this work will be opened shortly) & we hope to continue the pace of change/improvement as we head in to this last quarter of the year.

You can start using this update today by running:

npm install -g npm@7

Here’s some notable changes for v7.0.0 & v7.0.0-rc.4 (which landed 2020-10-09 last week):

v7.0.0 (2020-10-12)

BUG FIXES

DOCUMENTION

DEPENDENCIES

  • 15366a1cf npm-registry-fetch@8.1.5
  • f04a74140 init-package-json@2.0.0
  • 1de21dce0 fix: support dot-separated aliases defined in a .npmrc ini files for init-* configs (@ruyadorno)
  • a67275cd9 eslint@7.11.0
  • 6fb83b78d hosted-git-info@3.0.6
  • 1ca30cc9b libnpmfund@1.0.0
  • 28a2d2ba4 @npmcli/arborist@1.0.0
  • npm/rfcs#239 Improve handling of conflicting peerDependencies in transitive dependencies, so that --force will always accept a best effort override, and --strict-peer-deps will fail faster on conflicts.
  • 9306c6833 libnpmfund@1.0.1
  • fafb348ef npm-package-arg@8.1.0
  • 365f2e756 read-package-json@3.0.0

v7.0.0-rc.4 (2020-10-09)

  • 09b456f2d @npmcli/config@1.2.1
  • #1919 exposes npm_config_user_agent env variable (@nlf)
  • e859fba9e #1936 fix npx for non-interactive shells (@nlf)
  • 9320b8e4f #1906 restore old npx behavior of running existing bins first (@nlf)
  • 7bd47ca2c @npmcli/arborist@0.0.33
  • fixed handling of invalid package.json file
  • 02737453b make-fetch-happen@8.0.10
  • do not calculate integrity values of http errors

To read the full list of changes in v7, check out our CHANGELOG.md

#npm #node #javascript #programming #developer

Announcing npm7 - Presenting v7.0.0 of the npm CLI
3.85 GEEK