-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(docs): update scripts docs #2690
Conversation
docs/content/using-npm/scripts.md
Outdated
|
||
* `preinstall` | ||
* `install` | ||
* `postinstall` | ||
* `prepare` (links only) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updated documentation... Random person from the community here with a question:
What does "links only" mean here?
Edit: this maybe? https://docs.npmjs.com/cli/v7/commands/npm-link
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still a WIP PR. This will be fleshed out more as I continue to rewrite this file.
This means symlinks. npm link
does use symlinks under the hood, but this also ends up happening for instance when you've installed a package globally.
e8726cb
to
c8a2f9e
Compare
Gonna have to cut this refactor off where it stands. It's a marked improvement on what we have. There's lots more to fix here probably but this PR is too old already. |
The lifecycle events section was very out of date, and lots of other cleanup needed to happen too PR-URL: #2690 Credit: @wraithgar Close: #2690 Reviewed-by: @ruyadorno
c8a2f9e
to
c8b73db
Compare
The lifecycle events section was very out of date, and lots
of other cleanup needed to happen too
References
Closes npm/statusboard#267