Skip to content

Commit

Permalink
feat: 👷 updating husky and commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
aacevski committed Jan 3, 2025
1 parent f13d4ef commit 33e2920
Show file tree
Hide file tree
Showing 5 changed files with 668 additions and 11 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm dlx commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm format-and-lint
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default { extends: ["@commitlint/config-conventional"] };
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@
"build": "turbo build",
"dev": "turbo dev",
"format-and-lint": "biome check .",
"format-and-lint:fix": "biome check . --write"
"format-and-lint:fix": "biome check . --write",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@tanstack/router-devtools": "^1.94.1",
"@tanstack/router-plugin": "^1.94.1",
"husky": "^9.1.7",
"prettier": "^3.2.5",
"turbo": "^2.3.3",
"typescript": "5.5.4"
Expand All @@ -19,7 +23,10 @@
"node": ">=18"
},
"packageManager": "[email protected]",
"workspaces": ["apps/*", "packages/*"],
"workspaces": [
"apps/*",
"packages/*"
],
"dependencies": {
"@tanstack/react-router": "^1.94.1"
}
Expand Down
Loading

0 comments on commit 33e2920

Please sign in to comment.