Skip to content

Commit b0afab8

Browse files
committed
fix: resolve lint issues
1 parent a2a6af9 commit b0afab8

15 files changed

Lines changed: 767 additions & 543 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,11 @@ jobs:
2323
with:
2424
node-version: lts/*
2525

26-
- name: Setup
27-
run: npm i -g @antfu/ni
28-
2926
- name: Install
30-
run: nci
27+
run: pnpm install --frozen-lockfile
3128

3229
- name: Lint
33-
run: nr lint
30+
run: pnpm lint
3431

3532
test:
3633
runs-on: ${{ matrix.os }}
@@ -52,14 +49,11 @@ jobs:
5249
with:
5350
node-version: ${{ matrix.node }}
5451

55-
- name: Setup
56-
run: npm i -g @antfu/ni
57-
5852
- name: Install
59-
run: nci
53+
run: pnpm install --frozen-lockfile
6054

6155
- name: Build
62-
run: nr build
56+
run: pnpm build
6357

6458
- name: Test
65-
run: nr test
59+
run: pnpm test

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ export PI_DEFAULT=pnpm # If the current project does not set the installed packa
195195

196196
## :battery: Dependency
197197

198-
- [@antfu/ni](https://github.com/antfu/ni)
199198
- [ora](https://github.com/sindresorhus/ora)
200199
- [ccommand](https://github.com/Simon-He95/ccommand)
201200
- [cargo](https://github.com/rust-lang/cargo)

README_zh.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ export PI_DEFAULT=pnpm # 如果当前项目并没有设置安装的包管理器
191191

192192
## :battery: 依赖
193193

194-
- [@antfu/ni](https://github.com/antfu/ni)
195194
- [ora](https://github.com/sindresorhus/ora)
196195
- [ccommand](https://github.com/Simon-He95/ccommand)
197196
- [cargo](https://github.com/rust-lang/cargo)

package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@simon_he/pi",
33
"type": "module",
44
"version": "0.2.2",
5-
"packageManager": "pnpm@10.28.2",
5+
"packageManager": "pnpm@10.29.1",
66
"description": "An intelligent cross-platform package manager and CLI tool that autodetects project environments (Node.mjs, Go, Rust, Python) with beautiful loading animations and smart command execution.",
77
"author": {
88
"name": "Simon He",
@@ -84,30 +84,29 @@
8484
"format": "prettier --write --cache .",
8585
"lint": "eslint .",
8686
"lint:fix": "eslint . --fix",
87-
"prepublishOnly": "nr build",
87+
"prepublishOnly": "pnpm build",
8888
"release": "bumpp && npm publish",
8989
"start": "esno src/index.ts",
9090
"test": "vitest"
9191
},
9292
"dependencies": {
93-
"ccommand": "^1.1.3",
93+
"ccommand": "^1.1.4",
9494
"fast-glob": "^3.3.3",
95-
"lazy-js-utils": "^0.1.49",
95+
"lazy-js-utils": "^0.1.50",
9696
"ora": "^8.2.0",
97-
"picocolors": "^1.1.1",
98-
"semver": "^7.7.3"
97+
"picocolors": "^1.1.1"
9998
},
10099
"devDependencies": {
101-
"@antfu/eslint-config": "^6.0.0",
102-
"@types/node": "^22.19.0",
103-
"bumpp": "^10.4.0",
100+
"@antfu/eslint-config": "^6.7.3",
101+
"@types/node": "^22.19.10",
102+
"bumpp": "^10.4.1",
104103
"eslint": "^9.39.2",
105104
"lint-staged": "^13.3.0",
106105
"prettier": "^2.8.8",
107-
"tsdown": "^0.20.1",
106+
"tsdown": "^0.20.3",
108107
"tsx": "^4.21.0",
109108
"typescript": "^5.9.3",
110-
"vitest": "^4.0.0"
109+
"vitest": "^4.0.18"
111110
},
112111
"lint-staged": {
113112
"*.{vue,js,ts,jsx,tsx,md,json}": "eslint . --fix"

0 commit comments

Comments
 (0)