Skip to content

Commit 33b2d3f

Browse files
committed
Add yes=false to .npmrc to prevent npx auto-install
DEV-376: defense-in-depth alongside the CI policy in DEV-375. Equivalent to passing --no to every npx invocation. Linear: https://linear.app/mixpanel/issue/DEV-376
1 parent 3f8ce87 commit 33b2d3f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Prevent supply chain attacks
22
min-release-age=7
3+
# Stop `npx` from silently downloading packages not in node_modules.
4+
# Equivalent to passing `--no` to every `npx` invocation.
5+
yes=false

0 commit comments

Comments
 (0)