[BUG] 7.20.0 - incorrect interaction with workspace postinstall scripts (worked on 7.19.1) #3553
Closed
1 task done
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Is there an existing issue for this?
Current Behavior
When running
npm i
from the project root - the script referenced as thepostinstall
script in the workspace package json is called. This should not be called when installing from the project root.Expected Behavior
As in
7.19.1
, when runningnpm i
from the project root - the script referenced as thepostinstall
script in the workspace package json is not called.Steps To Reproduce
Please see https://github.com/TomFoyster/npm.7.20.0.bug
Environment
The text was updated successfully, but these errors were encountered: