From 87629880a71baec352c1b5345bc29268d6212467 Mon Sep 17 00:00:00 2001 From: Jan Pilzer Date: Tue, 20 Jun 2017 10:53:04 +0200 Subject: [PATCH] docs: Remove note about prepublish not being run Credit: @Hirse Fixes: #16685 Reviewed-By: @iarna PR-URL: https://github.com/npm/npm/pull/17336 --- doc/misc/npm-scripts.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/misc/npm-scripts.md b/doc/misc/npm-scripts.md index 0e9c3bc6e7681..9cdf588397c3e 100644 --- a/doc/misc/npm-scripts.md +++ b/doc/misc/npm-scripts.md @@ -70,11 +70,6 @@ allow users to avoid the confusing behavior of existing npm versions and only run on `npm publish` (for instance, running the tests one last time to ensure they're in good shape). -**IMPORTANT:** As of `npm@5`, `prepublish` will _only_ be run for `npm -publish`. This will make its behavior identical to `prepublishOnly`, so -`npm@6` or later may drop support for the use of `prepublishOnly`, and then -maybe we can all forget this embarrassing thing ever happened. - See for a much lengthier justification, with further reading, for this change.