Commit 1021acf
Migrate from Yarn to pnpm (#201)
* Migrate from Yarn to pnpm
Replace Yarn 3.5.0 (Berry) with pnpm 10.29.3 as the package manager for
both the root project and the example folder.
Changes:
- Update packageManager field in root and example package.json
- Replace yarn commands with pnpm in all scripts
- Add eslint-plugin-prettier as explicit devDependency (required by pnpm's
strict dependency resolution)
- Add pnpm-compatible transformIgnorePatterns for Jest (handles .pnpm
directory structure)
- Configure pnpm.onlyBuiltDependencies for pre-commit hook support
- Update GitHub Actions CI to use pnpm/action-setup@v4 with caching
- Remove .yarn directory, .yarnrc.yml, and yarn.lock from both root and
example
- Add pnpm-lock.yaml
- Update CLAUDE.md to reflect pnpm commands
https://claude.ai/code/session_01SUpZUWxrTYoGms6QN3VtQ9
* Remove pre-commit hook and library
- Remove `pre-commit` devDependency and its `spawn-sync` transitive dep
- Remove `"pre-commit"` config section from package.json
- Remove `lint-and-test` script (was only used by pre-commit)
- Remove `pnpm.onlyBuiltDependencies` config (no longer needed)
- Remove git pre-commit hook file
- Update CLAUDE.md to remove pre-commit references
https://claude.ai/code/session_01SUpZUWxrTYoGms6QN3VtQ9
* Run CI on all branches
Remove branch filters from GitHub Actions workflow so CI runs on
all pushes and pull requests, not just master.
https://claude.ai/code/session_01SUpZUWxrTYoGms6QN3VtQ9
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent a129351 commit 1021acf
2,323 files changed
Lines changed: 7599 additions & 19093 deletions
File tree
- .github/workflows
- .yarn
- cache
- releases
- example
- .yarn
- cache
- plugins/@yarnpkg
- releases
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments