Skip to content

Commit fb88c31

Browse files
committed
feat(commitizen): add commitizen
add commitizen changelog to enhance commit message convention
1 parent d3e2762 commit fb88c31

File tree

2 files changed

+411
-39
lines changed

2 files changed

+411
-39
lines changed

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"start": "expo start",
1515
"start:prod": "expo start --no-dev --minify",
1616
"start:clear": "expo start --reset-cache",
17+
"commit": "git-cz",
1718
"android": "expo run:android",
1819
"ios": "expo run:ios",
1920
"web": "expo start --web",
@@ -86,6 +87,8 @@
8687
"@types/react-native-htmlview": "^0.16.5",
8788
"@types/react-test-renderer": "^18.0.7",
8889
"babel-plugin-react-compiler": "^19.0.0-beta-df7b47d-20241124",
90+
"commitizen": "^4.3.1",
91+
"cz-conventional-changelog": "^3.3.0",
8992
"eslint": "^8.57.0",
9093
"eslint-config-expo": "~8.0.1",
9194
"eslint-config-prettier": "^9.1.0",
@@ -101,5 +104,10 @@
101104
"react-test-renderer": "18.2.0",
102105
"typescript": "~5.3.3"
103106
},
107+
"config": {
108+
"commitizen": {
109+
"path": "./node_modules/cz-conventional-changelog"
110+
}
111+
},
104112
"private": true
105113
}

0 commit comments

Comments
 (0)