Commit 24b6dcf
chore: migrate from yarn v1 to pnpm and update GitHub Actions (#155)
* chore: migrate from yarn v1 to pnpm
- Update packageManager field in package.json
- Convert yarn.lock to pnpm-lock.yaml using pnpm import
- Update GitHub Actions workflows to use pnpm
- Update test script to use pnpm in example directory
- Add persist-credentials: false to checkout actions for security
- Add explicit permissions to workflow jobs
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* CI: pin GitHub Action version
* chore: update Node.js version to 22 in website workflow
- Update website.yml to use Node.js 22 (current LTS) instead of 20
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* chore: migrate example directory from yarn v1 to pnpm
- Add packageManager field to example/package.json
- Convert example/yarn.lock to example/pnpm-lock.yaml
- Remove example/yarn.lock
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix: replace prepublish with prepare script for pnpm compatibility
- Remove deprecated prepublish script
- Add build command to prepare script to ensure lib directory exists before testing
- Fixes CI test failure where example directory couldn't find built files
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix: use prepublishOnly and explicit build in pretest
- Replace prepare script with prepublishOnly for npm publish
- Add explicit build to pretest script before running tests
- Keep prepare script for git hooks only
- Avoids unnecessary builds on every pnpm install
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>1 parent ab4aebd commit 24b6dcf
File tree
8 files changed
+8521
-7613
lines changed- .github/workflows
- example
8 files changed
+8521
-7613
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | | - | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
18 | | - | |
| 25 | + | |
19 | 26 | | |
20 | | - | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | | - | |
| 21 | + | |
15 | 22 | | |
16 | | - | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
21 | | - | |
| 28 | + | |
22 | 29 | | |
23 | 30 | | |
24 | | - | |
25 | | - | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
30 | | - | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
0 commit comments