Skip to content

Commit

Permalink
docs: Remove note about prepublish not being run
Browse files Browse the repository at this point in the history
Credit: @Hirse
Fixes: #16685
Reviewed-By: @iarna
PR-URL: npm/npm#17336
  • Loading branch information
Hirse authored and iarna committed Jun 27, 2017
1 parent d57d4f4 commit 8762988
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions doc/misc/npm-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 8762988

Please sign in to comment.