Skip to content

Commit 25d86b1

Browse files
authored
chore: remove pnpm-lock.yaml to verify unlocked deps (#5859)
1 parent 36d126b commit 25d86b1

16 files changed

Lines changed: 75 additions & 17281 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,13 @@ jobs:
3434
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
3535
with:
3636
node-version: '24'
37-
cache: 'pnpm'
3837

3938
- name: Install dependencies
40-
run: pnpm install --frozen-lockfile
39+
run: pnpm install --no-frozen-lockfile
4140

4241
- name: Run lint
4342
run: pnpm run lint
4443

45-
- name: Check dedupe
46-
run: pnpm dedupe --check
47-
4844
- name: Run typecheck
4945
run: pnpm run typecheck
5046

@@ -161,10 +157,9 @@ jobs:
161157
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
162158
with:
163159
node-version: ${{ matrix.node }}
164-
cache: 'pnpm'
165160

166161
- name: Install dependencies
167-
run: pnpm install --frozen-lockfile
162+
run: pnpm install --no-frozen-lockfile
168163

169164
- name: Run tests
170165
run: pnpm run ci
@@ -206,10 +201,9 @@ jobs:
206201
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
207202
with:
208203
node-version: ${{ matrix.node }}
209-
cache: 'pnpm'
210204

211205
- name: Install dependencies
212-
run: pnpm install --frozen-lockfile
206+
run: pnpm install --no-frozen-lockfile
213207

214208
- name: Run tests
215209
run: |
@@ -248,10 +242,9 @@ jobs:
248242
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
249243
with:
250244
node-version: ${{ matrix.node }}
251-
cache: 'pnpm'
252245

253246
- name: Install dependencies
254-
run: pnpm install --frozen-lockfile
247+
run: pnpm install --no-frozen-lockfile
255248

256249
- name: Run tests
257250
run: |

.github/workflows/e2e-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,9 @@ jobs:
148148
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
149149
with:
150150
node-version: ${{ matrix.project.node-version }}
151-
cache: 'pnpm'
152151

153152
- name: Install dependencies
154-
run: pnpm install --frozen-lockfile
153+
run: pnpm install --no-frozen-lockfile
155154

156155
- name: Build all packages
157156
run: pnpm build

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,10 @@ jobs:
6969
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
7070
with:
7171
node-version: '24'
72-
cache: 'pnpm'
7372
registry-url: 'https://registry.npmjs.org'
7473

7574
- name: Install dependencies
76-
run: pnpm install --frozen-lockfile
75+
run: pnpm install --no-frozen-lockfile
7776

7877
- name: Configure Git
7978
run: |

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ package-lock.json
4141
.tshy*
4242
dist
4343
site/.dumi/
44-
!pnpm-lock.yaml
4544

4645
!packages/egg/test/fixtures/apps/loader-plugin/node_modules
4746
!packages/egg/test/fixtures/apps/app-ts/node_modules
@@ -117,4 +116,5 @@ tegg/plugin/tegg/test/fixtures/apps/**/*.js
117116
*.tgz
118117

119118
ecosystem-ci/cnpmcore
120-
ecosystem-ci/examples
119+
ecosystem-ci/examples
120+
pnpm-lock.yaml

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"tsdown": "catalog:",
6868
"tsx": "catalog:",
6969
"typescript": "catalog:",
70+
"unplugin-unused": "catalog:",
7071
"urllib": "catalog:",
7172
"vitest": "catalog:"
7273
},

0 commit comments

Comments
 (0)