You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Converts the repo from Yarn v4 (.yarnrc.yml) to pnpm 10.28.0. Lockfile
was imported via `pnpm import` to preserve resolved versions, then
re-resolved to sync with each package.json.
Changes:
- Replace yarn.lock with pnpm-lock.yaml; drop .yarnrc.yml and .yarn/.
- Add pnpm-workspace.yaml (replaces root package.json#workspaces).
- Add "packageManager": "pnpm@10.28.0" to root package.json.
- Add pnpm.onlyBuiltDependencies for unrs-resolver so its postinstall
runs (pnpm ignores build scripts by default).
- Add .npmrc with `node-linker=hoisted` to preserve the flat
node_modules layout React Native / Metro / CocoaPods / Gradle expect
(mirrors the old .yarnrc.yml `nodeLinker: node-modules`), plus
`frozen-lockfile=true`.
- sample package.json: `@shopify/checkout-sheet-kit` now uses
`workspace:*` instead of `link:../modules/...` (the pnpm-native
equivalent).
- Rewrite root scripts: `yarn workspace <name>` -> `pnpm --filter <name>`.
- Swap `yarn` for `pnpm` across dev.yml, setup action, scripts, and
CONTRIBUTING.md. README keeps yarn/npm install hints for end users
installing the published package.
- dev.yml: node task uses `package_manager: pnpm@10.28.0` instead of
`yarn: 1.22.22`.
- Setup action: drop the custom yarn cache, add `pnpm/action-setup`
and use `cache: pnpm` on setup-node. Drop the `npm install -g npm@11`
workaround since pnpm handles it.
- Cocoapods cache key now hashes pnpm-lock.yaml.
Workflow file changes (ci.yml, publish.yml) are excluded from this
commit because the GitHub App doesn't have the `workflows`
permission on this repo. See the PR body for a patch to apply.
Requested by Kieran Osgood <kieran.osgood@shopify.com>
0 commit comments