cli icon indicating copy to clipboard operation
cli copied to clipboard

feat!: adds --ignore-scripts flag to pack

Open reggi opened this issue 1 year ago • 0 comments

What

This pr bumps pacote which will honor ignoreScripts opt passed in through the cli. In addition it adds --ignore-scripts as a flag to the pack command ignore the prepare script.

Why

People expect --ignore-scripts to... ignore the lifecycle scripts in package.json, which it does for all lifecycle scripts except for prepare, which runs during pack, and publish.

integrating: https://github.com/npm/pacote/pull/407 from: https://github.com/npm/cli/issues/7211 part of: https://github.com/npm/statusboard/issues/898

reggi avatar Oct 17 '24 19:10 reggi