Skip to content

Commit c49c6bc

Browse files
committed
chore: make commitlint work (#4830)
* chore: make commitlint work * chore: put dependencies in front
1 parent 423535b commit c49c6bc

File tree

2 files changed

+22
-20
lines changed

2 files changed

+22
-20
lines changed

.commitlintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
23
rules: {
34
'type-enum': [
45
2,

package.json

+21-20
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,32 @@
4343
"interaction",
4444
"animation"
4545
],
46+
"dependencies": {
47+
"@antv/coord": "^0.4.1",
48+
"@antv/event-emitter": "^0.1.3",
49+
"@antv/g": "^5.7.4",
50+
"@antv/g-canvas": "^1.7.4",
51+
"@antv/g-plugin-dragndrop": "^1.6.1",
52+
"@antv/gui": "^0.5.0-alpha.8",
53+
"@antv/path-util": "^3.0.1",
54+
"@antv/scale": "^0.4.7",
55+
"@antv/util": "^3.3.2",
56+
"d3-array": "^3.2.2",
57+
"d3-dsv": "^3.0.1",
58+
"d3-force": "^3.0.0",
59+
"d3-format": "^3.1.0",
60+
"d3-geo": "^3.0.1",
61+
"d3-hierarchy": "^3.1.2",
62+
"d3-scale-chromatic": "^3.0.0",
63+
"d3-shape": "^3.1.0",
64+
"d3-voronoi": "^1.1.4"
65+
},
4666
"devDependencies": {
4767
"@antv/g-plugin-rough-canvas-renderer": "^1.7.9",
4868
"@antv/g-plugin-rough-svg-renderer": "^1.7.9",
4969
"@antv/g-svg": "^1.8.6",
5070
"@commitlint/cli": "^11.0.0",
71+
"@commitlint/config-conventional": "^17.4.4",
5172
"@rollup/plugin-commonjs": "^21.0.2",
5273
"@types/d3-array": "^3.0.2",
5374
"@types/d3-shape": "^3.0.2",
@@ -121,25 +142,5 @@
121142
},
122143
"bugs": {
123144
"url": "https://github.com/antvis/g2/issues"
124-
},
125-
"dependencies": {
126-
"@antv/coord": "^0.4.1",
127-
"@antv/event-emitter": "^0.1.3",
128-
"@antv/g": "^5.7.4",
129-
"@antv/g-canvas": "^1.7.4",
130-
"@antv/g-plugin-dragndrop": "^1.6.1",
131-
"@antv/gui": "^0.5.0-alpha.8",
132-
"@antv/path-util": "^3.0.1",
133-
"@antv/scale": "^0.4.7",
134-
"@antv/util": "^3.3.2",
135-
"d3-array": "^3.2.2",
136-
"d3-dsv": "^3.0.1",
137-
"d3-force": "^3.0.0",
138-
"d3-format": "^3.1.0",
139-
"d3-geo": "^3.0.1",
140-
"d3-hierarchy": "^3.1.2",
141-
"d3-scale-chromatic": "^3.0.0",
142-
"d3-shape": "^3.1.0",
143-
"d3-voronoi": "^1.1.4"
144145
}
145146
}

0 commit comments

Comments
 (0)