Skip to content

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

Merged
MarshallOfSound merged 3 commits into
mainfrom
age-gate
Sep 12, 2026
Merged

build: add 7-day npmMinimalAgeGate to .yarnrc.yml#64
MarshallOfSound merged 3 commits into
mainfrom
age-gate

Conversation

@claude

@claude claude Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

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
@MarshallOfSound
MarshallOfSound merged commit d6f1378 into main Sep 12, 2026
10 checks passed
@MarshallOfSound
MarshallOfSound deleted the age-gate branch September 12, 2026 03:11
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.

4 participants