npm Blog (Archive)

The npm blog has been discontinued.

Updates from the npm team are now published on the GitHub Blog and the GitHub Changelog.

v5.9.0-next.0

Coming to you this week are a fancy new package view, pack/publish previews and a handful of bug fixes! Let’s get right in!

NEW PACKAGE VIEW

There’s a new npm view in town. You might it as npm info or npm show. The new output gives you a nicely summarized view that for most packages fits on one screen. If you ask it for --json you’ll still get the same results, so your scripts should still work fine.

PACK AND PUBLISH PREVIEWS

The npm pack and npm publish commands print out a summary of the files included in the package. They also both now take the --dry-run flag, so you can double check your .npmignore settings before doing a publish.

MERGE CONFLICT, SMERGE CONFLICT

If you resolve a package-lock.json merge conflict with npm install we now suggest you setup a merge driver to handle these automatically for you. If you’re reading this and you’d like to set it up now, run:

npx npm-merge-driver install -g

MISC BITS

DEPENDENCY UPDATES