Skip to content

build: add 7-day npmMinimalAgeGate to .yarnrc.yml - #64

Open
claude[bot] wants to merge 3 commits into
mainfrom
age-gate
Open

build: add 7-day npmMinimalAgeGate to .yarnrc.yml#64
claude[bot] wants to merge 3 commits into
mainfrom
age-gate

Conversation

@claude

@claude claude Bot commented Sep 2, 2026

Copy link
Copy Markdown

Requested by Erick Zhao · Slack thread

Before: github-app-auth is the only ecosystem repo whose .yarnrc.yml has no npmMinimalAgeGate, so yarn resolves freshly published versions immediately.

After: yarn refuses versions published in the last 7 days (npmMinimalAgeGate: 10080) and preapproves @electron/*, matching the other electron repos. Third-party install scripts are also disabled (enableScripts: false) like the other electron repos; none of the repo's installed packages declare any.

How: the pinned Yarn 4.9.4 predates the option (added in 4.10.0), so the first commit moves Yarn to 4.10.3, the version the other electron repos pin, with yarn.lock unchanged. yarn install --immutable passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FYHE9pAHKgNagai4AYyBbH


Generated by Claude Code

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FYHE9pAHKgNagai4AYyBbH
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FYHE9pAHKgNagai4AYyBbH
@claude
claude Bot requested review from a team as code owners September 2, 2026 21:14
None of the repo's installed packages declare install scripts; matches the other electron repos.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FYHE9pAHKgNagai4AYyBbH
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