This repository was archived by the owner on Aug 11, 2022. It is now read-only.
Repository navigation
v2.14.2
GETTING THAT PESKY preferGlobal WARNING RIGHT
So apparently the preferGlobal option hasn't quite been warning correctly for some time. But now it should be all better! tl;dr: if you try and install a dependency with preferGlobal: true, and it's not already in your package.json, you'll get a warning that the author would really rather you install it with --global. This should prevent Windows PowerShell from thinking npm has failed just because of a benign warning.
bbb25f3#8841 #9409 ThepreferGlobalwarning shouldn't happen if the dependency being installed is listed indevDependencies. (@saper)222fcec#9409preferGlobalnow prints a warning when there are no dependencies for the current package. (@zkat)5cfed6d#9409 Verify thatpreferGlobalis warning as expected (when apreferGlobaldependency is installed, but isn't listed in eitherdependenciesordevDependencies). (@zkat)
BUMP +1
eeafce2validate-npm-package-license@3.0.1: Include additional metadata in parsed license object, useful for license checkers. (@kemitchell)1502a28normalise-package-data@2.3.2: Updated to usevalidate-npm-package-license@3.0.1. (@othiym23)cbde823init-package-json@1.9.1: Add asilentoption to suppress output on writing the generatedpackage.json. Also, updated to usevalidate-npm-package-license@3.0.1. (@zkat)08fda46tar@2.2.0: Minor improvements. (@othiym23)dc2f20brimraf@2.4.3:EPERMnow triggers a delay / retry loop (since Windows throws this when things still hold a handle). (@isaacs)e8acb27read@1.0.7: Fix licensing ambiguity. (@isaacs)
OTHER STUFF THAT'S RELEVANT
73a1ee0#9386 Include additional unignorable files in documentation. (@mjhasbach)0313e40#9396 Improve theEISDIRerror message returned by npm's error-handling code to give users a better hint of what's most likely going on. Usually, error reports with this error code are about people trying to install things without apackage.json. (@KenanY)2677457#9360 Make it easier to run only some of npm tests with lifecycle scripts vianpm tap test/tap/testname.js. (@iarna)