chore: update husky and commitlint

This commit is contained in:
2026-04-01 14:14:35 -06:00
parent 4be0de62fc
commit 221034133d
5 changed files with 18 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
// Skip Husky install in production and CI
if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') {
process.exit(0)
}
const husky = (await import('husky')).default
console.log(husky())
BIN
View File
Binary file not shown.
-1
View File
@@ -1 +0,0 @@
module.exports = { extends: ['@commitlint/config-conventional'] }
+5
View File
@@ -0,0 +1,5 @@
import type { UserConfig } from '@commitlint/types'
const Configuration: UserConfig = { extends: ['@commitlint/config-conventional'] }
export default Configuration
+4 -4
View File
@@ -8,7 +8,7 @@
"prestart": "bun install && next build",
"start": "next start",
"lint": "eslint .",
"prepare": "panda codegen && husky install"
"prepare": "panda codegen && bun ./.husky/install.mts"
},
"dependencies": {
"@fontsource/open-sans": "^5.0.20",
@@ -37,8 +37,8 @@
"yup": "^1.3.3"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@eslint/js": "^10.0.1",
"@pandacss/dev": "^0.23.0",
"@types/isomorphic-fetch": "^0.0.39",
@@ -48,7 +48,7 @@
"eslint": "^10.1.0",
"eslint-config-next": "16.2.2",
"eslint-plugin-react": "^7.37.5",
"husky": "^8.0.3",
"husky": "^9.1.7",
"typescript": "*",
"typescript-eslint": "^8.58.0"
}