Skip to content

chore(all): set yes=false in .npmrc to prevent npx auto-install (DEV-376)#422

Merged
jinhyoo-mp merged 1 commit into
masterfrom
dev-376-add-yes-false-npmrc
Jun 5, 2026
Merged

chore(all): set yes=false in .npmrc to prevent npx auto-install (DEV-376)#422
jinhyoo-mp merged 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

@jinhyoo-mp jinhyoo-mp changed the title DEV-376: Set yes=false in .npmrc to prevent npx auto-install chore(all): set yes=false in .npmrc to prevent npx auto-install (DEV-376) Jun 3, 2026
@jinhyoo-mp jinhyoo-mp marked this pull request as ready for review June 3, 2026 23:19
@jinhyoo-mp jinhyoo-mp requested review from a team and tdumitrescu June 3, 2026 23:19
Copy link
Copy Markdown
Member

@austinpray-mixpanel austinpray-mixpanel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jinhyoo-mp jinhyoo-mp requested a review from tylerjroach June 5, 2026 17:39
@jinhyoo-mp jinhyoo-mp merged commit 6720b11 into master Jun 5, 2026
9 of 11 checks passed
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.

3 participants