build: upgrade Yarn to 4.17.0 - #25
Merged
Merged
Conversation
Bump the pinned Yarn from 4.10.0 to the latest 4.17.0 (packageManager + .tool-versions). Beyond general fixes, recent Yarn 4 restricts the built-in `compat/typescript` patch to TypeScript < 7, which unblocks adopting the TypeScript 7 native compiler in a follow-up. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KPWjhmaeq8DnsiiFD9Eg7A
Yarn 4.17 quarantines freshly-published packages in hardened mode (CI on public PRs), which blocked installing agent-device (published minutes ago). Set an explicit 1-day age gate (matching Energy) and pre-approve agent-device, which publishes very frequently.
Yarn 4.17 hardened mode blocks git dependencies unless their repository is listed in approvedGitRepositories. Approve Artsy's react-native-config fork so the install succeeds on public-PR CI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bumps the pinned Yarn from
4.10.0→4.17.0(latest), inpackageManagerand.tool-versions.Beyond general fixes, recent Yarn 4 restricts its built-in
compat/typescriptpatch to TypeScript< 7(yarnpkg/berry#7190). Yarn 4.10 applied that patch unconditionally, which broke installing the TS7 native compiler (ENOENT … typescript/lib/_tsc.js). This upgrade unblocks a follow-up TypeScript 7 bump.PR Checklist
🤖 Generated with Claude Code
Generated by Claude Code