Closed bryanjtc closed 8 months ago
@bryanjtc,
It's a design difference. msr just invokes plugin pipelines as is while semantic-release-monorepo wraps plugin steps with hooks to tweak up the release flow.
Which plugin do you think is running npm install in the prepare step? The npm plugin? I can't find the command in their prepare step.
npm plugin triggers npm cli at some points:
Maybe npm install
is a side effect of these calls, I can not say exactly.
I ran the commands locally and npm is running npm install inside my workspace when npm version is executed. I will check on the npm repo for a workaround.
Here is the solution. Disable workspaces-update
option in the .npmrc
config file.
The npm plugin will read this config file.
https://docs.npmjs.com/cli/v8/commands/npm-version#workspaces-update
I noticed that a npm install ran on the prepare step. Should this happen? This didn't happened when I used a the package semantic-release-monorepo.
here is my config