Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

prepublish vs prepare vs prepublishOnly #945

Closed
honzajavorek opened this issue Jan 11, 2018 · 2 comments
Closed

prepublish vs prepare vs prepublishOnly #945

honzajavorek opened this issue Jan 11, 2018 · 2 comments

Comments

@honzajavorek
Copy link
Contributor

As of npm@5, prepublish scripts are deprecated. Use prepare for build steps and prepublishOnly for upload-only. See the deprecation note in npm help scripts for more information.

@honzajavorek
Copy link
Contributor Author

@michalholasek relying on #705 to address this, sooner or later 😏

@michalholasek
Copy link
Contributor

@honzajavorek
Yep

michalholasek pushed a commit that referenced this issue Jan 31, 2018
Run `npm help scripts` in command-line for more info.

Closes #945.
Rabsztok added a commit to Rabsztok/react-sprite-animator that referenced this issue Oct 31, 2018
In recent NPM and Yarn versions `prepublish` has been deprecated and for build step, you should use `prepare` callback.
apiaryio/dredd#945
markusdosch pushed a commit to markusdosch/react-visjs-timeline that referenced this issue May 13, 2019
markusdosch pushed a commit to markusdosch/react-visjs-timeline that referenced this issue Jan 16, 2021
szakharchenko added a commit to digitalloggers/react-draggable that referenced this issue Mar 5, 2021
The intended behaviour is to run the build on any install, including
from a git URL.

See also:
apiaryio/dredd#945
npm/npm#3055
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants