Skip to content

Migrate from yarn to pnpm#225

Merged
lukemelia merged 1 commit into
masterfrom
migrate-to-pnpm
Apr 19, 2026
Merged

Migrate from yarn to pnpm#225
lukemelia merged 1 commit into
masterfrom
migrate-to-pnpm

Conversation

@lukemelia

Copy link
Copy Markdown
Collaborator

Summary

Final cleanup before a release. Swaps the package manager across the whole repo.

Changes

  • Lockfile: delete yarn.lock, generate pnpm-lock.yaml via pnpm install on Node 20.x.
  • ember-try: bump from ^1.4.0 to ^3.0.0 — first version with native pnpm support (usePnpm).
  • config/ember-try.js: useYarn: trueusePnpm: true.
  • .github/workflows/ci.yml: add pnpm/action-setup@v4 before actions/setup-node@v4, switch cache: yarncache: pnpm, and swap every yarn install/run for pnpm equivalents across all three jobs (test, floating, try-scenarios).
  • package.json: replace volta.yarn with volta.pnpm@10.12.1, add Corepack-standard "packageManager": "pnpm@10.12.1".
  • tests/dummy/config/ember-cli-update.json: --yarn--pnpm.
  • README.md / CONTRIBUTING.md / RELEASE.md: yarn commands → pnpm commands.
  • CHANGELOG.md: left as historical record.

Local verification

pnpm install && pnpm test:ember on Node 20.19.1 → 67/67 tests pass.

Test plan

  • yarn.lock removed, pnpm-lock.yaml present.
  • No remaining yarn references outside CHANGELOG.md.
  • pnpm test:ember green locally.
  • CI green on all 7 jobs (or as green as main — embroider-safe has the separate preexisting 'VERSION' (imported as 'MOBILEDOC_KIT_VERSION') was not found in 'mobiledoc-kit' regression that's out of scope here).

🤖 Generated with Claude Code

- Replace yarn.lock with pnpm-lock.yaml.
- Bump ember-try from ^1.4.0 to ^3.0.0 (first version with native pnpm
  support via usePnpm).
- config/ember-try.js: useYarn: true → usePnpm: true.
- .github/workflows/ci.yml: add pnpm/action-setup before setup-node,
  switch cache: yarn → cache: pnpm, and swap every yarn install/run
  for pnpm equivalents.
- package.json: replace volta.yarn with volta.pnpm@10.12.1 and add the
  Corepack-standard packageManager field.
- tests/dummy/config/ember-cli-update.json: --yarn → --pnpm.
- README / CONTRIBUTING / RELEASE docs: yarn commands → pnpm commands.
- CHANGELOG references to yarn are left as historical record.
@lukemelia
lukemelia merged commit c892e02 into master Apr 19, 2026
7 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.

1 participant