Skip to content

Commit 22cb0bb

Browse files
committed
chore(deps): upgrade oudated deps, fixed deps version, add commitlint
1 parent f4919bc commit 22cb0bb

File tree

7 files changed

+897
-1997
lines changed

7 files changed

+897
-1997
lines changed

.husky/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn commitlint --edit $1

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn lint-staged

.huskyrc

-5
This file was deleted.

.lintstagedrc

-4
This file was deleted.

package.json

+32-18
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,45 @@
1919
"release": "standard-version",
2020
"release:major": "yarn release --release-as major",
2121
"release:minor": "yarn release --release-as minor",
22-
"release:patch": "yarn release --release-as patch"
22+
"release:patch": "yarn release --release-as patch",
23+
"husky": "husky",
24+
"lint-staged": "lint-staged",
25+
"commitlint": "commitlint"
2326
},
2427
"keywords": [
2528
"yeoman-generator",
2629
"create-dotgithub"
2730
],
2831
"dependencies": {
29-
"axios": "^0.21.1",
30-
"chalk": "^4.1.0",
31-
"yeoman-generator": "^4.12.0",
32-
"yosay": "^2.0.2"
32+
"axios": "0.21.1",
33+
"chalk": "4.1.1",
34+
"yeoman-generator": "5.3.0",
35+
"yosay": "2.0.2"
3336
},
3437
"devDependencies": {
35-
"@boringcodes/eslint-config": "^1.2.1",
36-
"@boringcodes/prettier-config": "^1.3.1",
37-
"eslint": "^7.17.0",
38-
"eslint-config-prettier": "^7.1.0",
39-
"eslint-config-standard": "^16.0.2",
40-
"eslint-plugin-import": "^2.22.1",
41-
"eslint-plugin-node": "^11.1.0",
42-
"eslint-plugin-promise": "^4.2.1",
43-
"husky": "^4.3.7",
44-
"lint-staged": "^10.5.3",
45-
"prettier": "^2.2.1",
46-
"rimraf": "^3.0.2",
47-
"standard-version": "^9.1.0"
38+
"@boringcodes/eslint-config": "1.2.6",
39+
"@boringcodes/prettier-config": "1.3.2",
40+
"@commitlint/cli": "12.1.4",
41+
"@commitlint/config-conventional": "12.1.4",
42+
"eslint": "7.28.0",
43+
"eslint-config-prettier": "8.3.0",
44+
"eslint-config-standard": "16.0.3",
45+
"eslint-plugin-import": "2.23.4",
46+
"eslint-plugin-node": "11.1.0",
47+
"eslint-plugin-promise": "5.1.0",
48+
"husky": "6.0.0",
49+
"lint-staged": "11.0.0",
50+
"prettier": "2.3.1",
51+
"rimraf": "3.0.2",
52+
"standard-version": "9.3.0"
53+
},
54+
"lint-staged": {
55+
"*.{js,json,md,yml}": "yarn format",
56+
"*.js": "yarn lint"
57+
},
58+
"commitlint": {
59+
"extends": [
60+
"@commitlint/config-conventional"
61+
]
4862
}
4963
}

0 commit comments

Comments
 (0)