Skip to content

build: upgrade Yarn to 4.17.0 - #25

Merged
MounirDhahri merged 3 commits into
mainfrom
claude/yarn-4.17
Jul 10, 2026
Merged

build: upgrade Yarn to 4.17.0#25
MounirDhahri merged 3 commits into
mainfrom
claude/yarn-4.17

Conversation

@MounirDhahri

Copy link
Copy Markdown
Member

Description

Bumps the pinned Yarn from 4.10.04.17.0 (latest), in packageManager and .tool-versions.

Beyond general fixes, recent Yarn 4 restricts its built-in compat/typescript patch 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

  • Toolchain version bump only; no app code or UI change

🤖 Generated with Claude Code


Generated by Claude Code

claude added 3 commits July 10, 2026 17:05
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.
@MounirDhahri
MounirDhahri merged commit a2de2f8 into main Jul 10, 2026
5 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