Skip to content

Commit e4f8600

Browse files
committed
Changelog
1 parent 553e820 commit e4f8600

File tree

2 files changed

+51
-3
lines changed

2 files changed

+51
-3
lines changed

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"test:build": "jest -c '{}' build",
2525
"test:coverage": "jest --coverage",
2626
"lint": "tslint -p tsconfig.json --type-check -c tslint.json",
27-
"preversion": "yarn lint && yarn build && yarn test:build",
27+
"preversion": "yarn lint && yarn build && yarn test:build && changelog-verify CHANGELOG.md",
28+
"version": "version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md",
2829
"release": "cd build && npm publish",
2930
"test:project": "cd test/project && yarn sls openapi generate",
3031
"test:prepare": "scripts/prepareTests.bash",
@@ -40,13 +41,15 @@
4041
"@types/js-yaml": "^3.5.31",
4142
"@types/node": "^8.0.7",
4243
"@types/uuid": "^3.0.0",
44+
"changelog-verify": "^1.0.4",
4345
"jest": "^20.0.4",
4446
"serverless": "^1.16.1",
4547
"ts-jest": "^20.0.6",
4648
"ts-node": "^3.1.0",
4749
"tslint": "^5.4.3",
4850
"tslint-config-temando": "^1.1.4",
49-
"typescript": "^2.4.1"
51+
"typescript": "^2.4.1",
52+
"version-changelog": "^2.1.0"
5053
},
5154
"dependencies": {
5255
"@jdw/jst": "^2.0.0-beta.9",

yarn.lock

+46-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# yarn lockfile v1
33

44

5-
"@jdw/jst@^2.0.0":
5+
"@jdw/jst@^2.0.0-beta.9":
66
version "2.0.0-beta.9"
77
resolved "https://registry.yarnpkg.com/@jdw/jst/-/jst-2.0.0-beta.9.tgz#4ec2c73761199774d6d0f95f6be37d068fe2cce4"
88
dependencies:
@@ -593,6 +593,12 @@ chalk@^2.0.0, chalk@^2.0.1:
593593
escape-string-regexp "^1.0.5"
594594
supports-color "^4.0.0"
595595

596+
changelog-verify@^1.0.4:
597+
version "1.0.4"
598+
resolved "https://registry.yarnpkg.com/changelog-verify/-/changelog-verify-1.0.4.tgz#5be588a3dc58881687415e81e71e1cff0ce3c728"
599+
dependencies:
600+
upath "^0.2.0"
601+
596602
ci-info@^1.0.0:
597603
version "1.0.0"
598604
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.0.0.tgz#dc5285f2b4e251821683681c381c3388f46ec534"
@@ -734,6 +740,13 @@ create-error-class@^3.0.0:
734740
dependencies:
735741
capture-stack-trace "^1.0.0"
736742

743+
cross-spawn@^4.0.2:
744+
version "4.0.2"
745+
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41"
746+
dependencies:
747+
lru-cache "^4.0.1"
748+
which "^1.2.9"
749+
737750
cross-spawn@^5.0.1:
738751
version "5.1.0"
739752
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
@@ -1202,6 +1215,10 @@ getpass@^0.1.1:
12021215
dependencies:
12031216
assert-plus "^1.0.0"
12041217

1218+
github-url-from-git@^1.4.0:
1219+
version "1.5.0"
1220+
resolved "https://registry.yarnpkg.com/github-url-from-git/-/github-url-from-git-1.5.0.tgz#f985fedcc0a9aa579dc88d7aff068d55cc6251a0"
1221+
12051222
glob-base@^0.3.0:
12061223
version "0.3.0"
12071224
resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4"
@@ -1337,6 +1354,10 @@ has-unicode@^2.0.0:
13371354
version "2.0.1"
13381355
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
13391356

1357+
has-yarn@^1.0.0:
1358+
version "1.0.0"
1359+
resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-1.0.0.tgz#89e25db604b725c8f5976fff0addc921b828a5a7"
1360+
13401361
hawk@~3.1.3:
13411362
version "3.1.3"
13421363
resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4"
@@ -2102,6 +2123,10 @@ lodash.uniq@^4.5.0:
21022123
version "4.5.0"
21032124
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
21042125

2126+
2127+
version "3.10.1"
2128+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
2129+
21052130
lodash@^4.0.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.8.0:
21062131
version "4.17.4"
21072132
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
@@ -3308,6 +3333,10 @@ unbzip2-stream@^1.0.9:
33083333
buffer "^3.0.1"
33093334
through "^2.3.6"
33103335

3336+
3337+
version "2.3.3"
3338+
resolved "https://registry.yarnpkg.com/underscore.string/-/underscore.string-2.3.3.tgz#71c08bf6b428b1133f37e78fa3a21c82f7329b0d"
3339+
33113340
universalify@^0.1.0:
33123341
version "0.1.1"
33133342
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7"
@@ -3316,6 +3345,13 @@ unzip-response@^2.0.1:
33163345
version "2.0.1"
33173346
resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97"
33183347

3348+
upath@^0.2.0:
3349+
version "0.2.0"
3350+
resolved "https://registry.yarnpkg.com/upath/-/upath-0.2.0.tgz#bdbad0f2c60afea165f8127dbb1b5bdee500ad81"
3351+
dependencies:
3352+
lodash "3.x"
3353+
underscore.string "2.3.x"
3354+
33193355
uri-js@^3.0.2:
33203356
version "3.0.2"
33213357
resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-3.0.2.tgz#f90b858507f81dea4dcfbb3c4c3dbfa2b557faaa"
@@ -3391,6 +3427,15 @@ [email protected]:
33913427
core-util-is "1.0.2"
33923428
extsprintf "^1.2.0"
33933429

3430+
version-changelog@^2.1.0:
3431+
version "2.1.0"
3432+
resolved "https://registry.yarnpkg.com/version-changelog/-/version-changelog-2.1.0.tgz#469f63bd9ffc182f14f2c004df2f3797cef866d4"
3433+
dependencies:
3434+
cross-spawn "^4.0.2"
3435+
github-url-from-git "^1.4.0"
3436+
has-yarn "^1.0.0"
3437+
upath "^0.2.0"
3438+
33943439
walkdir@^0.0.11:
33953440
version "0.0.11"
33963441
resolved "https://registry.yarnpkg.com/walkdir/-/walkdir-0.0.11.tgz#a16d025eb931bd03b52f308caed0f40fcebe9532"

0 commit comments

Comments
 (0)