Skip to content

Commit eb42810

Browse files
committed
chore: use cc cli
1 parent 2f7f414 commit eb42810

File tree

2 files changed

+82
-57
lines changed

2 files changed

+82
-57
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"test": "eslint lib && mocha --slow 5000 --timeout 10000",
2828
"docs": "cd docs && gitbook install && gitbook serve",
2929
"docs:deploy": "bash ./docs/deploy.sh",
30-
"postpublish": "conventional-changelog -p angular -r 2 > RELEASE.md"
30+
"prepublishOnly": "conventional-changelog -p angular -r 2 > RELEASE.md"
3131
},
3232
"gitHooks": {
3333
"pre-commit": "lint-staged"
@@ -69,7 +69,7 @@
6969
"chai": "^4.1.0",
7070
"coffee-loader": "^0.7.2",
7171
"coffee-script": "^1.12.7",
72-
"conventional-changelog": "^1.1.18",
72+
"conventional-changelog-cli": "^1.3.22",
7373
"css-loader": "^0.28.4",
7474
"eslint": "^3.19.0",
7575
"eslint-plugin-vue-libs": "^1.2.0",

yarn.lock

Lines changed: 80 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ acorn@^5.0.0, acorn@^5.2.1:
4747
version "5.3.0"
4848
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.3.0.tgz#7446d39459c54fb49a80e6ee6478149b940ec822"
4949

50+
add-stream@^1.0.0:
51+
version "1.0.0"
52+
resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa"
53+
5054
ajv-keywords@^1.0.0:
5155
version "1.5.1"
5256
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c"
@@ -1243,51 +1247,61 @@ conventional-changelog-angular@^1.6.6:
12431247
compare-func "^1.3.1"
12441248
q "^1.5.1"
12451249

1246-
conventional-changelog-atom@^0.2.4:
1247-
version "0.2.4"
1248-
resolved "https://registry.yarnpkg.com/conventional-changelog-atom/-/conventional-changelog-atom-0.2.%3Cspan%20class="x x-first x-last">4.tgz#4917759947f4db86073f9d3838a2d54302d5843d"
1250+
conventional-changelog-atom@^0.2.8:
1251+
version "0.2.8"
1252+
resolved "https://registry.yarnpkg.com/conventional-changelog-atom/-/conventional-changelog-atom-0.2.%3Cspan%20class="x x-first x-last">8.tgz#8037693455990e3256f297320a45fa47ee553a14"
12491253
dependencies:
12501254
q "^1.5.1"
12511255

1252-
conventional-changelog-codemirror@^0.3.4:
1253-
version "0.3.4"
1254-
resolved "https://registry.yarnpkg.com/conventional-changelog-codemirror/-/conventional-changelog-codemirror-0.3.4.tgz#debc43991d487d7964e65087fbbe034044bd51fb"
1256+
conventional-changelog-cli@^1.3.22:
1257+
version "1.3.22"
1258+
resolved "https://registry.yarnpkg.com/conventional-changelog-cli/-/conventional-changelog-cli-1.3.22.tgz#13570fe1728f56f013ff7a88878ff49d5162a405"
1259+
dependencies:
1260+
add-stream "^1.0.0"
1261+
conventional-changelog "^1.1.24"
1262+
lodash "^4.2.1"
1263+
meow "^4.0.0"
1264+
tempfile "^1.1.1"
1265+
1266+
conventional-changelog-codemirror@^0.3.8:
1267+
version "0.3.8"
1268+
resolved "https://registry.yarnpkg.com/conventional-changelog-codemirror/-/conventional-changelog-codemirror-0.3.8.tgz#a1982c8291f4ee4d6f2f62817c6b2ecd2c4b7b47"
12551269
dependencies:
12561270
q "^1.5.1"
12571271

1258-
conventional-changelog-core@^2.0.5:
1259-
version "2.0.5"
1260-
resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-2.0.%3Cspan%20class="x x-first x-last">5.tgz#45b6347c4c6512e1f163f7ff55c9f5bcb88fd990"
1272+
conventional-changelog-core@^2.0.11:
1273+
version "2.0.11"
1274+
resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-2.0.%3Cspan%20class="x x-first x-last">11.tgz#19b5fbd55a9697773ed6661f4e32030ed7e30287"
12611275
dependencies:
1262-
conventional-changelog-writer "^3.0.4"
1263-
conventional-commits-parser "^2.1.5"
1276+
conventional-changelog-writer "^3.0.9"
1277+
conventional-commits-parser "^2.1.7"
12641278
dateformat "^3.0.0"
12651279
get-pkg-repo "^1.0.0"
1266-
git-raw-commits "^1.3.4"
1280+
git-raw-commits "^1.3.6"
12671281
git-remote-origin-url "^2.0.0"
1268-
git-semver-tags "^1.3.4"
1282+
git-semver-tags "^1.3.6"
12691283
lodash "^4.2.1"
12701284
normalize-package-data "^2.3.5"
12711285
q "^1.5.1"
12721286
read-pkg "^1.1.0"
12731287
read-pkg-up "^1.0.1"
12741288
through2 "^2.0.0"
12751289

1276-
conventional-changelog-ember@^0.3.6:
1277-
version "0.3.6"
1278-
resolved "https://registry.yarnpkg.com/conventional-changelog-ember/-/conventional-changelog-ember-0.3.%3Cspan%20class="x x-first x-last">6.tgz#f3825d7434168f3d9211b5532dc1d5769532b668"
1290+
conventional-changelog-ember@^0.3.12:
1291+
version "0.3.12"
1292+
resolved "https://registry.yarnpkg.com/conventional-changelog-ember/-/conventional-changelog-ember-0.3.%3Cspan%20class="x x-first x-last">12.tgz#b7d31851756d0fcb49b031dffeb6afa93b202400"
12791293
dependencies:
12801294
q "^1.5.1"
12811295

1282-
conventional-changelog-eslint@^1.0.5:
1283-
version "1.0.5"
1284-
resolved "https://registry.yarnpkg.com/conventional-changelog-eslint/-/conventional-changelog-eslint-1.0.%3Cspan%20class="x x-first x-last">5.tgz#8bae05ebbf574e6506caf7b37dc51ca21b74d220"
1296+
conventional-changelog-eslint@^1.0.9:
1297+
version "1.0.9"
1298+
resolved "https://registry.yarnpkg.com/conventional-changelog-eslint/-/conventional-changelog-eslint-1.0.%3Cspan%20class="x x-first x-last">9.tgz#b13cc7e4b472c819450ede031ff1a75c0e3d07d3"
12851299
dependencies:
12861300
q "^1.5.1"
12871301

1288-
conventional-changelog-express@^0.3.4:
1289-
version "0.3.4"
1290-
resolved "https://registry.yarnpkg.com/conventional-changelog-express/-/conventional-changelog-express-0.3.%3Cspan%20class="x x-first x-last">4.tgz#812a9cf778677e12f978ac9c40d85297c0bfcca9"
1302+
conventional-changelog-express@^0.3.6:
1303+
version "0.3.6"
1304+
resolved "https://registry.yarnpkg.com/conventional-changelog-express/-/conventional-changelog-express-0.3.%3Cspan%20class="x x-first x-last">6.tgz#4a6295cb11785059fb09202180d0e59c358b9c2c"
12911305
dependencies:
12921306
q "^1.5.1"
12931307

@@ -1303,23 +1317,23 @@ conventional-changelog-jscs@^0.1.0:
13031317
dependencies:
13041318
q "^1.4.1"
13051319

1306-
conventional-changelog-jshint@^0.3.4:
1307-
version "0.3.4"
1308-
resolved "https://registry.yarnpkg.com/conventional-changelog-jshint/-/conventional-changelog-jshint-0.3.%3Cspan%20class="x x-first x-last">4.tgz#b2de33cd0870d9af804ac6a4fded0ee25b69c9bb"
1320+
conventional-changelog-jshint@^0.3.8:
1321+
version "0.3.8"
1322+
resolved "https://registry.yarnpkg.com/conventional-changelog-jshint/-/conventional-changelog-jshint-0.3.%3Cspan%20class="x x-first x-last">8.tgz#9051c1ac0767abaf62a31f74d2fe8790e8acc6c8"
13091323
dependencies:
13101324
compare-func "^1.3.1"
13111325
q "^1.5.1"
13121326

1313-
conventional-changelog-preset-loader@^1.1.6:
1314-
version "1.1.6"
1315-
resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-1.1.%3Cspan%20class="x x-first x-last">6.tgz#b29af6332f9313857be36427623c9016bfeeaf33"
1327+
conventional-changelog-preset-loader@^1.1.8:
1328+
version "1.1.8"
1329+
resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-1.1.%3Cspan%20class="x x-first x-last">8.tgz#40bb0f142cd27d16839ec6c74ee8db418099b373"
13161330

1317-
conventional-changelog-writer@^3.0.4:
1318-
version "3.0.4"
1319-
resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-3.0.%3Cspan%20class="x x-first x-last">4.tgz#705b46a8b8277bd7fd79cad8032095b5d803864c"
1331+
conventional-changelog-writer@^3.0.9:
1332+
version "3.0.9"
1333+
resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-3.0.%3Cspan%20class="x x-first x-last">9.tgz#4aecdfef33ff2a53bb0cf3b8071ce21f0e994634"
13201334
dependencies:
13211335
compare-func "^1.3.1"
1322-
conventional-commits-filter "^1.1.5"
1336+
conventional-commits-filter "^1.1.6"
13231337
dateformat "^3.0.0"
13241338
handlebars "^4.0.2"
13251339
json-stringify-safe "^5.0.1"
@@ -1329,32 +1343,32 @@ conventional-changelog-writer@^3.0.4:
13291343
split "^1.0.0"
13301344
through2 "^2.0.0"
13311345

1332-
conventional-changelog@^1.1.18:
1333-
version "1.1.18"
1334-
resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-1.1.%3Cspan%20class="x x-first x-last">18.tgz#ffe28798e4ddef5f6e2f74398e8248bcb233360b"
1346+
conventional-changelog@^1.1.24:
1347+
version "1.1.24"
1348+
resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-1.1.%3Cspan%20class="x x-first x-last">24.tgz#3d94c29c960f5261c002678315b756cdd3d7d1f0"
13351349
dependencies:
13361350
conventional-changelog-angular "^1.6.6"
1337-
conventional-changelog-atom "^0.2.4"
1338-
conventional-changelog-codemirror "^0.3.4"
1339-
conventional-changelog-core "^2.0.5"
1340-
conventional-changelog-ember "^0.3.6"
1341-
conventional-changelog-eslint "^1.0.5"
1342-
conventional-changelog-express "^0.3.4"
1351+
conventional-changelog-atom "^0.2.8"
1352+
conventional-changelog-codemirror "^0.3.8"
1353+
conventional-changelog-core "^2.0.11"
1354+
conventional-changelog-ember "^0.3.12"
1355+
conventional-changelog-eslint "^1.0.9"
1356+
conventional-changelog-express "^0.3.6"
13431357
conventional-changelog-jquery "^0.1.0"
13441358
conventional-changelog-jscs "^0.1.0"
1345-
conventional-changelog-jshint "^0.3.4"
1346-
conventional-changelog-preset-loader "^1.1.6"
1359+
conventional-changelog-jshint "^0.3.8"
1360+
conventional-changelog-preset-loader "^1.1.8"
13471361

1348-
conventional-commits-filter@^1.1.5:
1349-
version "1.1.5"
1350-
resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-1.1.%3Cspan%20class="x x-first x-last">5.tgz#77aac065e3de9c1a74b801e8e25c9affb3184f65"
1362+
conventional-commits-filter@^1.1.6:
1363+
version "1.1.6"
1364+
resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-1.1.%3Cspan%20class="x x-first x-last">6.tgz#4389cd8e58fe89750c0b5fb58f1d7f0cc8ad3831"
13511365
dependencies:
13521366
is-subset "^0.1.1"
13531367
modify-values "^1.0.0"
13541368

1355-
conventional-commits-parser@^2.1.5:
1356-
version "2.1.5"
1357-
resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-2.1.%3Cspan%20class="x x-first x-last">5.tgz#9ac3a4ab221c0c3c9e9dd2c09ae01e6d1e1dabe0"
1369+
conventional-commits-parser@^2.1.7:
1370+
version "2.1.7"
1371+
resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-2.1.%3Cspan%20class="x x-first x-last">7.tgz#eca45ed6140d72ba9722ee4132674d639e644e8e"
13581372
dependencies:
13591373
JSONStream "^1.0.4"
13601374
is-text-path "^1.0.0"
@@ -2249,9 +2263,9 @@ getpass@^0.1.1:
22492263
dependencies:
22502264
assert-plus "^1.0.0"
22512265

2252-
git-raw-commits@^1.3.4:
2253-
version "1.3.4"
2254-
resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-1.3.%3Cspan%20class="x x-first x-last">4.tgz#442c3df5985b4f5689e9e43597f5194736aac001"
2266+
git-raw-commits@^1.3.6:
2267+
version "1.3.6"
2268+
resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-1.3.%3Cspan%20class="x x-first x-last">6.tgz#27c35a32a67777c1ecd412a239a6c19d71b95aff"
22552269
dependencies:
22562270
dargs "^4.0.1"
22572271
lodash.template "^4.0.2"
@@ -2266,9 +2280,9 @@ git-remote-origin-url@^2.0.0:
22662280
gitconfiglocal "^1.0.0"
22672281
pify "^2.3.0"
22682282

2269-
git-semver-tags@^1.3.4:
2270-
version "1.3.4"
2271-
resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-1.3.%3Cspan%20class="x x-first x-last">4.tgz#2ceb2a355c6d7514c123c35e297067d08caf3a92"
2283+
git-semver-tags@^1.3.6:
2284+
version "1.3.6"
2285+
resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-1.3.%3Cspan%20class="x x-first x-last">6.tgz#357ea01f7280794fe0927f2806bee6414d2caba5"
22722286
dependencies:
22732287
meow "^4.0.0"
22742288
semver "^5.5.0"
@@ -4990,6 +5004,13 @@ tar@^2.2.1:
49905004
fstream "^1.0.2"
49915005
inherits "2"
49925006

5007+
tempfile@^1.1.1:
5008+
version "1.1.1"
5009+
resolved "https://registry.yarnpkg.com/tempfile/-/tempfile-1.1.1.tgz#5bcc4eaecc4ab2c707d8bc11d99ccc9a2cb287f2"
5010+
dependencies:
5011+
os-tmpdir "^1.0.0"
5012+
uuid "^2.0.1"
5013+
49935014
text-extensions@^1.0.0:
49945015
version "1.7.0"
49955016
resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.7.0.tgz#faaaba2625ed746d568a23e4d0aacd9bf08a8b39"
@@ -5151,6 +5172,10 @@ [email protected], util@^0.10.3:
51515172
dependencies:
51525173
inherits "2.0.1"
51535174

5175+
uuid@^2.0.1:
5176+
version "2.0.3"
5177+
resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a"
5178+
51545179
uuid@^3.0.0, uuid@^3.1.0:
51555180
version "3.2.1"
51565181
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14"

0 commit comments

Comments
 (0)