chore: update husky and commitlint
This commit is contained in:
@@ -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())
|
||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = { extends: ['@commitlint/config-conventional'] }
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
import type { UserConfig } from '@commitlint/types'
|
||||||
|
|
||||||
|
const Configuration: UserConfig = { extends: ['@commitlint/config-conventional'] }
|
||||||
|
|
||||||
|
export default Configuration
|
||||||
+4
-4
@@ -8,7 +8,7 @@
|
|||||||
"prestart": "bun install && next build",
|
"prestart": "bun install && next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"prepare": "panda codegen && husky install"
|
"prepare": "panda codegen && bun ./.husky/install.mts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/open-sans": "^5.0.20",
|
"@fontsource/open-sans": "^5.0.20",
|
||||||
@@ -37,8 +37,8 @@
|
|||||||
"yup": "^1.3.3"
|
"yup": "^1.3.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^18.4.4",
|
"@commitlint/cli": "^20.5.0",
|
||||||
"@commitlint/config-conventional": "^18.4.4",
|
"@commitlint/config-conventional": "^20.5.0",
|
||||||
"@eslint/js": "^10.0.1",
|
"@eslint/js": "^10.0.1",
|
||||||
"@pandacss/dev": "^0.23.0",
|
"@pandacss/dev": "^0.23.0",
|
||||||
"@types/isomorphic-fetch": "^0.0.39",
|
"@types/isomorphic-fetch": "^0.0.39",
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
"eslint": "^10.1.0",
|
"eslint": "^10.1.0",
|
||||||
"eslint-config-next": "16.2.2",
|
"eslint-config-next": "16.2.2",
|
||||||
"eslint-plugin-react": "^7.37.5",
|
"eslint-plugin-react": "^7.37.5",
|
||||||
"husky": "^8.0.3",
|
"husky": "^9.1.7",
|
||||||
"typescript": "*",
|
"typescript": "*",
|
||||||
"typescript-eslint": "^8.58.0"
|
"typescript-eslint": "^8.58.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user