Skip to content

Commit

Permalink
Fix husky commands using yarn, update dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Nfinished committed Aug 29, 2024
1 parent d1386c6 commit 92f3b4b
Show file tree
Hide file tree
Showing 4 changed files with 3,022 additions and 2,633 deletions.
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
yarn test
pnpm lint-staged
pnpm test
4 changes: 2 additions & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn test
yarn build
pnpm test
pnpm build
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test": "jest",
"build": "vite build",
"lint": "eslint . --ext .ts,.tsx",
"prepare": "husky install && yarn test && yarn build"
"prepare": "husky install && pnpm test && pnpm build"
},
"lint-staged": {
"*.{ts,tsx}": [
Expand All @@ -49,22 +49,22 @@
"spacetime": "^7.4.0"
},
"devDependencies": {
"@swc/core": "^1.3.40",
"@swc/jest": "^0.2.24",
"@types/jest": "^29.4.1",
"@types/node": "^18.15.3",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"chart.js": "^4.2.1",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-prettier": "^4.2.1",
"@swc/core": "^1.7.21",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.47",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"chart.js": "^4.4.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.0",
"prettier": "^2.8.4",
"spacetime": "^7.4.1",
"jest": "^29.7.0",
"lint-staged": "^13.3.0",
"prettier": "^3.3.3",
"spacetime": "^7.6.1",
"typescript": "^4.9.5",
"vite": "^4.1.4"
"vite": "^4.5.3"
}
}
Loading

0 comments on commit 92f3b4b

Please sign in to comment.