Skip to content

Commit

Permalink
Feat: update commit lint and env
Browse files Browse the repository at this point in the history
* feat: update config commit and env using
  • Loading branch information
khoilen authored Jan 11, 2025
1 parent 87fce78 commit 7a2b482
Show file tree
Hide file tree
Showing 6 changed files with 569 additions and 57 deletions.
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm commitlint ${1}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v22.12.0
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'] }
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
"description": "A customizable styling library for UI components, built with Storybook for visual documentation and component development. Provides reusable styles, themes, and design system components to maintain consistent look and feel across the application.",
"main": "index.js",
"packageManager": "[email protected]",
"engines": {
"node": ">= 20"
},
"keywords": [],
"author": "Nashtech",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@nrwl/eslint-plugin-nx": "^19.8.4",
"@nrwl/linter": "^19.8.4",
"@nx/eslint-plugin": "^20.3.0",
Expand All @@ -36,7 +35,8 @@
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "husky install"
"postinstall": "husky install",
"commitlint": "commitlint --edit"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 7a2b482

Please sign in to comment.