You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DOCS] Please provide clear documentation on how devDependencies installation will be triggered when installing dependencies through the git protocol.
#7328
This is a CLI Docs Problem, not another kind of Docs Problem.
This is a CLI Docs Problem.
Description of Problem
When installing packages through the git protocol, the document only mentions that prepare will trigger the installation of dependencies and devDependencies. However, the actual code implementation is not limited to this stage, so please clearly indicate in the document all stages that can trigger the installation of devDependencies.
Is there an existing issue for this?
This is a CLI Docs Problem, not another kind of Docs Problem.
Description of Problem
When installing packages through the git protocol, the document only mentions that
prepare
will trigger the installation of dependencies and devDependencies. However, the actual code implementation is not limited to this stage, so please clearly indicate in the document all stages that can trigger the installation of devDependencies.https://docs.npmjs.com/cli/v10/using-npm/scripts#life-cycle-scripts
https://github.com/npm/pacote/blob/main/lib/git.js#L167-L172
Potential Solution
No response
Affected URL
No response
The text was updated successfully, but these errors were encountered: