4 ms·
The last time I looked at this, using ignore-scripts = true with npm results in "npm run xyz" getting blocked as well, is that still the case?
by 63stack 5mo ago
The last time I looked at this, using ignore-scripts = true with npm results in "npm run xyz" getting blocked as well, is that still the case?
- postalcoder 5mo agoNope, that's not the case. This blocks lifecycle scripts, but it doesn't block scripts that are explicitly invoked by `npm run`. From the documentation[0]: Note that commands explicitly intended to run a particular script, such as npm start, npm stop, npm restart, npm test, and npm run-script will still run their intended script if ignore-scripts is set, but they will not run any pre- or post-scripts. 0: https://docs.npmjs.com/cli/v8/commands/npm-run-script#ignore-scripts https://docs.npmjs.com/cli/v8/commands/npm-run-script#ignore...