[BUG] on npm install
npm does not run the prepublish
scripts in workspace packages.
#3065
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
Current Behavior:
Repo has workspace packages like:
Workspaces are defined like:
Package
a
has aprepublish
script:then when running
npm install
at root, theprepublish
script does not run.Expected Behavior:
The
prepublish
script should run onnpm install
in all of the packages that are specified as workspace packages.Steps To Reproduce:
https://github.com/michalczaplinski/npm-bug-repro
run
npm install
at root of the repo.You can verify that the file
a-prepublish
file was not created in the packagea
.Environment:
The text was updated successfully, but these errors were encountered: