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>
### What changes are you making?
<!-- Please describe why you are making these changes -->
---
### PR Checklist
> [!IMPORTANT]
>
> - [ ] I've added tests to support my implementation
> - [ ] I have read and agree with the [Contribution Guidelines](https://github.com/shopify/checkout-sheet-kit-react-native/blob/main/.github/CONTRIBUTING.md).
> - [ ] I have read and agree with the [Code of Conduct](https://github.com/shopify/checkout-sheet-kit-react-native/blob/main/.github/CODE_OF_CONDUCT.md).
> - [ ] I've updated the [README](https://github.com/shopify/checkout-sheet-kit-react-native).
>
> _Releasing a new version of the kit?_
>
> - [ ] I have bumped the version number in the [`package.json` file](https://github.com/Shopify/checkout-sheet-kit-react-native/blob/main/modules/%40shopify/checkout-sheet-kit/package.json#L4).
---
> [!TIP]
> See the [Contributing documentation](https://github.com/shopify/checkout-sheet-kit-react-native/blob/main/.github/CONTRIBUTING.md#releasing-a-new-version) for instructions on how to publish a new version of the library.
0 commit comments