Skip to content

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

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

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

Conversation

@jinhyoo-mp

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

Copy link
Copy Markdown
Contributor

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

linear-code Bot commented Jun 3, 2026

Copy link
Copy Markdown

DEV-376

DEV-1102

@jinhyoo-mp jinhyoo-mp marked this pull request as ready for review June 3, 2026 23:19

@austinpray-mixpanel austinpray-mixpanel left a comment

Copy link
Copy Markdown
Member

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 merged commit 5762d12 into master Jun 5, 2026
8 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.

2 participants