-
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
[DOCS] rebuild command needs new description #6453
Comments
Hi @rotu, how does this look like?
|
@wraithgar could you also help me cross check this? |
Thank you for doing this! My best guess based on reading https://github.com/npm/cli/blob/ed8c553b0f059ca2a1e288b48dff675d6703208f/workspaces/arborist/lib/arborist/rebuild.js
I believe that |
I went through the file once more and @rotu , your description is accurate. However, I am trying to draw a line between explaining what the code does and providing a user friendly description of what happens under the hood. So I combined your description and my observations and ...
How does this look? |
Yes, I didn't mean for my comment to be used verbatim! Here are my critiques:
I'd change it to something like:
BTW, I also submitted #6898 to report the missing docs about the package.json file. |
Is there an existing issue for this?
This is a CLI Docs Problem, not another kind of Docs Problem.
Description of Problem
The docs for
npm rebuild
command don't explain what it does, but describe it in terms of the defunctnpm build
command.Potential Solution
Rewrite the docs for
npm rebuild
to explain what it does (i.e. conditionally runnode-gyp
, runs certain lifecycle hooks, maybe other things?).Affected URL
https://docs.npmjs.com/cli/v9/commands/npm-rebuild
The text was updated successfully, but these errors were encountered: