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
npm pack --json in the latest npm version (10.5.0) emits prepare script commands and thus making the output invalid json.
This is a breaking change from previous npm version, which broke our deploy workflows.
Expected Behavior
npm pack --json should always output valid json, as it was in the previous versions.
Steps To Reproduce
Create a package which includes a prepare script.
Run npm pack --json