Skip to content

[infra] migrate Yarn 4 + npm age gate (14 days)#4

Open
hung3a8-pendle wants to merge 1 commit intomainfrom
chore/npm-age-gate
Open

[infra] migrate Yarn 4 + npm age gate (14 days)#4
hung3a8-pendle wants to merge 1 commit intomainfrom
chore/npm-age-gate

Conversation

@hung3a8-pendle
Copy link
Copy Markdown

Summary

  • Migrates from Yarn Classic (1.x) to Yarn 4.x with nodeLinker: node-modules
  • Adds npmMinimalAgeGate: 14d to .yarnrc.yml — Yarn will refuse to resolve any package version published less than 14 days ago
  • Excludes @pendle/* scoped packages via npmPreapprovedPackages
  • Part of org-wide supply chain security hardening

Migration note

This PR migrates from Yarn 1 to Yarn 4. Please verify:

  • yarn install completes successfully
  • Build passes
  • Tests pass
  • CI/CD pipelines work with Yarn 4

🤖 Generated with Claude Code

Migrate from Yarn Classic (1.x) to Yarn 4.x.
Add npmMinimalAgeGate: 14d to .yarnrc.yml to prevent installing
npm packages published less than 14 days ago. Excludes @pendle/*
scoped packages.
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.

1 participant