Repository navigation
Support npm's allowScripts field in package.json #44605
calle2010
started this conversation in
Suggest an Idea
Replies: 2 comments 5 replies
|
Alternatively, while waiting for Renovate to support that out of the box, is it possible to write a regex rule for this? Perhaps someone has done it already and can post it here... |
0 replies
|
Can you share an example of this in use? |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Tell us more.
npm 11.17(?) introduced the approve-scripts command which manages the
allowScriptsfield in package.json. Seehttps://docs.npmjs.com/cli/v11/commands/npm-approve-scripts
Since npm 12 scripts are disabled by default.
Now, when Renovate updates a dependency which is also in
allowScriptsthen it should about it at both places. Otherwise the update may break because a required script is not executed anymore.All reactions