Skip to content

Commit c4ef19a

Browse files
authored
feat: use git cz, simplify deployment command (#319)
Co-authored-by: liuyi <>
1 parent 1551c1e commit c4ef19a

File tree

2 files changed

+1131
-1038
lines changed

2 files changed

+1131
-1038
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"lint:css": "stylelint \"src/**/*.{css,less,scss}\"",
2020
"lint:es": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
2121
"prepublishOnly": "father doctor && npm run build",
22-
"deploy": "gh-pages -d docs-dist"
22+
"deploy": "npm run docs:build && gh-pages -d docs-dist"
2323
},
2424
"authors": [
2525
"dtinsight UED"
@@ -80,6 +80,7 @@
8080
"@umijs/lint": "^4.0.0",
8181
"babel-plugin-import": "^1.13.5",
8282
"babel-types": "^6.26.0",
83+
"cz-conventional-changelog": "^3.3.0",
8384
"dumi": "^2.1.13",
8485
"eslint": "^8.23.0",
8586
"father": "^4.1.0",
@@ -111,5 +112,10 @@
111112
"mxgraph": "^4.2.2",
112113
"rc-virtual-list": "^3.4.13",
113114
"showdown": "^1.9.0"
115+
},
116+
"config": {
117+
"commitizen": {
118+
"path": "./node_modules/cz-conventional-changelog"
119+
}
114120
}
115121
}

0 commit comments

Comments
 (0)