Skip to content

Commit d3c3bdb

Browse files
committed
chore: migrate from npm to pnpm
- Replace package-lock.json with pnpm-lock.yaml - Set packageManager to pnpm@10.23.0 - Add minimumReleaseAge: 10080 (7 days) for supply chain protection - Update CI workflows for pnpm
1 parent 30c9708 commit d3c3bdb

File tree

8 files changed

+494
-704
lines changed

8 files changed

+494
-704
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
18+
- name: Install pnpm
19+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
1820
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
1921
with:
20-
cache: "npm"
22+
cache: 'pnpm'
2123
node-version: "24"
2224

2325
- name: Install dependencies

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
17+
- name: Install pnpm
18+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
1719
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
1820
with:
1921
node-version: "24"

.github/workflows/regen.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ jobs:
2222
permission-pull-requests: write
2323
- name: Checkout
2424
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
25+
- name: Install pnpm
26+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
2527
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
2628
with:
27-
cache: "npm"
29+
cache: 'pnpm'
2830
node-version: "24"
2931

3032
- name: Install dependencies

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
auto-install-peers = false
2+
enable-pre-post-scripts = true

0 commit comments

Comments
 (0)