diff options
author | Jan Pilzer <jan.pilzer@gmx.de> | 2017-06-20 11:53:04 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-06-27 03:47:31 +0300 |
commit | 87629880a71baec352c1b5345bc29268d6212467 (patch) | |
tree | 10765e145d1e783912af805513bd819dd5a1d48a /doc | |
parent | d57d4f48c6cd00fdf1e694eb49e9358071d8e105 (diff) |
docs: Remove note about prepublish not being run
Credit: @Hirse
Fixes: #16685
Reviewed-By: @iarna
PR-URL: https://github.com/npm/npm/pull/17336
Diffstat (limited to 'doc')
-rw-r--r-- | doc/misc/npm-scripts.md | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/misc/npm-scripts.md b/doc/misc/npm-scripts.md index 0e9c3bc6e..9cdf58839 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 <https://github.com/npm/npm/issues/10074> for a much lengthier justification, with further reading, for this change. |