Skip to content
This repository was archived by the owner on Mar 29, 2020. It is now read-only.

Commit 6c5515a

Browse files
committed
feat: upgrade to commitlint@7
1 parent e9c1207 commit 6c5515a

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

package.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"email": "ayan.yenb@gmail.com",
2121
"url": "https://yenbekbay.me"
2222
},
23-
"files": ["index.js"],
23+
"files": [
24+
"index.js"
25+
],
2426
"engines": {
2527
"node": ">=6.0.0"
2628
},
@@ -37,23 +39,29 @@
3739
"semantic-release": "semantic-release"
3840
},
3941
"lint-staged": {
40-
"*.{js,json": ["yarn run format", "git add"],
41-
"*.js": ["yarn run lint.fix", "git add"]
42+
"*.{js,json": [
43+
"yarn run format",
44+
"git add"
45+
],
46+
"*.js": [
47+
"yarn run lint.fix",
48+
"git add"
49+
]
4250
},
4351
"peerDependencies": {
44-
"@commitlint/cli": "^6.0.1"
52+
"@commitlint/cli": "^7.0.1"
4553
},
4654
"devDependencies": {
47-
"@commitlint/cli": "^6.0.1",
4855
"@anvilabs/eslint-config": "^17.6.0",
56+
"@commitlint/cli": "^7.0.0",
4957
"eslint": "^4.19.1",
5058
"husky": "^0.14.3",
5159
"lint-staged": "^7.2.0",
5260
"prettier": "^1.13.5",
5361
"semantic-release": "^15.5.5"
5462
},
5563
"dependencies": {
56-
"@commitlint/config-conventional": "^6.0.4",
57-
"lodash.merge": "^4.6.0"
64+
"@commitlint/config-conventional": "^7.0.1",
65+
"lodash.merge": "^4.6.1"
5866
}
5967
}

yarn.lock

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@
111111
lodash.pick "4.4.0"
112112
meow "^5.0.0"
113113

114-
"@commitlint/config-conventional@^6.0.4":
115-
version "6.0.4"
116-
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-6.0.4.tgz#f5332c3aaf5423f2fa62287849859a9b769484f3"
114+
"@commitlint/config-conventional@^7.0.1":
115+
version "7.0.1"
116+
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-7.0.1.tgz#276977f8ee60d8c56d7fdd43296af76dfee9b5f7"
117117

118118
"@commitlint/ensure@^7.0.0":
119119
version "7.0.0"
@@ -2449,14 +2449,10 @@ lodash.kebabcase@4.1.1, lodash.kebabcase@^4.0.1:
24492449
version "4.1.1"
24502450
resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36"
24512451

2452-
lodash.merge@4.6.1:
2452+
lodash.merge@4.6.1, lodash.merge@^4.6.1:
24532453
version "4.6.1"
24542454
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54"
24552455

2456-
lodash.merge@^4.6.0:
2457-
version "4.6.0"
2458-
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.0.tgz#69884ba144ac33fe699737a6086deffadd0f89c5"
2459-
24602456
lodash.mergewith@4.6.1:
24612457
version "4.6.1"
24622458
resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz#639057e726c3afbdb3e7d42741caa8d6e4335927"

0 commit comments

Comments
 (0)