Skip to content

Commit

Permalink
chore: remove husky
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Dec 19, 2024
1 parent 431e57f commit 398c5dc
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 34 deletions.
3 changes: 0 additions & 3 deletions .husky/post-checkout

This file was deleted.

3 changes: 0 additions & 3 deletions .husky/post-commit

This file was deleted.

3 changes: 0 additions & 3 deletions .husky/post-merge

This file was deleted.

1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

3 changes: 0 additions & 3 deletions .husky/pre-push

This file was deleted.

1 change: 0 additions & 1 deletion apps/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@
"@types/validator": "13.12.2",
"@vercel/ncc": "0.38.3",
"cron": "^3.3.1",
"husky": "9.1.7",
"ioredis": "5.4.1",
"sharp": "0.33.5",
"socket.io": "^4.8.1",
Expand Down
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "Innei <https://innei.in>",
"scripts": {
"format": "prettier --write \"apps/**/*.ts\" \"test/**/*.ts\" \"packages/**/*.ts\"",
"prepare": "husky",
"prepare": "simple-git-hooks",
"build:external": "pnpm -C \"packages/compiled\" run build",
"build": "pnpm run build:external && pnpm -C \"apps/core\" run build",
"dev": "pnpm run build:external && pnpm -C \"apps/core\" run start",
Expand All @@ -33,20 +33,18 @@
"cross-env": "7.0.3",
"eslint": "^9.16.0",
"eslint-plugin-unused-imports": "4.1.4",
"husky": "9.1.7",
"lint-staged": "15.2.10",
"prettier": "3.4.1",
"rimraf": "6.0.1",
"simple-git-hooks": "2.11.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"tsup": "8.3.5",
"typescript": "5.7.2",
"vite-tsconfig-paths": "5.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
Expand All @@ -63,4 +61,4 @@
"typescript": "5.6.3",
"whatwg-url": "14.0.0"
}
}
}
22 changes: 9 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 398c5dc

Please sign in to comment.