Skip to content

Commit f3e313a

Browse files
committed
chore: set up husky to ensure conventional commits are followed
1 parent 475bdc1 commit f3e313a

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

frontend/package-lock.json

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"db:create-schema": "node src/lib/scripts/create-schema.js",
1515
"db:generate": "npx @better-auth/cli generate",
1616
"db:migrate": "npx @better-auth/cli migrate",
17-
"db:init": "npm run db:create-schema"
17+
"db:init": "npm run db:create-schema",
18+
"prepare": "husky"
1819
},
1920
"dependencies": {
2021
"@daveyplate/better-auth-ui": "latest",
@@ -81,6 +82,7 @@
8182
"@biomejs/biome": "latest",
8283
"@commitlint/cli": "^20.1.0",
8384
"@commitlint/config-conventional": "^20.0.0",
85+
"@commitlint/types": "^20.0.0",
8486
"@tailwindcss/postcss": "^4.1.17",
8587
"@tailwindcss/typography": "^0.5.19",
8688
"@types/file-saver": "^2.0.7",
@@ -91,6 +93,7 @@
9193
"@types/react-dom": "^19.2.2",
9294
"autoprefixer": "^10.4.20",
9395
"babel-plugin-react-compiler": "^1.0.0",
96+
"husky": "^9.1.7",
9497
"msw": "^2.12.0",
9598
"tailwindcss": "^4.1.17",
9699
"typescript": "^5.9.3"

0 commit comments

Comments
 (0)