Skip to content

Commit

Permalink
fix: ci to update npx also
Browse files Browse the repository at this point in the history
  • Loading branch information
chuangcaleb committed Apr 27, 2024
1 parent c95944b commit 6355076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
pnpx lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dev": "tsc-watch --onSuccess \"tsx ./src/main.ts\"",
"start": "tsc && tsx ./src/main.ts",
"start:force": "tsx ./src/main.ts",
"prepare": "npx husky install"
"prepare": "pnpx husky install"
},
"author": "chuangcaleb <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -61,6 +61,6 @@
"npm": ">=8.0.0"
},
"lint-staged": {
"*.ts": "npm run lint"
"*.ts": "pnpm lint"
}
}

0 comments on commit 6355076

Please sign in to comment.