Skip to content

DEV-376: Set yes=false in .npmrc to prevent npx auto-install#422

Draft
jinhyoo-mp wants to merge 1 commit into
masterfrom
dev-376-add-yes-false-npmrc
Draft

DEV-376: Set yes=false in .npmrc to prevent npx auto-install#422
jinhyoo-mp wants to merge 1 commit into
masterfrom
dev-376-add-yes-false-npmrc

Conversation

@jinhyoo-mp
Copy link
Copy Markdown
Contributor

@jinhyoo-mp jinhyoo-mp commented Jun 3, 2026

Summary

Adds yes=false to the repo's .npmrc. Equivalent to always passing --no to npx, causing it to error out instead of silently downloading packages that aren't already in node_modules.

Context

Tracked under DEV-376.

Test plan

  • CI is green
  • Any legitimate npx usage in scripts/CI still works (should already have the package installed via npm ci)

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
@linear-code
Copy link
Copy Markdown

linear-code Bot commented Jun 3, 2026

DEV-376

DEV-1100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant