Skip to content

Commit 5bf9830

Browse files
authored
Merge pull request conventional-changelog#1 from conventional-changelog/master
Merge with origin master
2 parents 2e1076d + 9c7caa5 commit 5bf9830

File tree

3 files changed

+47
-52
lines changed

3 files changed

+47
-52
lines changed

@commitlint/prompt/src/index.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ type Commit = (input: string) => void;
99
* Entry point for commitizen
1010
* @param _ inquirer instance passed by commitizen, unused
1111
* @param commit callback to execute with complete commit message
12-
* @return generated commit message
12+
* @return {void}
1313
*/
14-
export async function prompter(_: unknown, commit: Commit): Promise<void> {
15-
const message = await input(vorpal);
16-
commit(message);
14+
export function prompter(_: unknown, commit: Commit): void {
15+
input(vorpal).then((message) => {
16+
commit(message);
17+
});
1718
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"@babel/preset-env": "^7.12.11",
8888
"@lerna/project": "4.0.0",
8989
"@types/jest": "26.0.20",
90-
"@types/node": "12.20.4",
90+
"@types/node": "12.20.5",
9191
"@typescript-eslint/eslint-plugin": "^4.1.0",
9292
"@typescript-eslint/parser": "^4.1.0",
9393
"docsify-cli": "^4.4.0",

yarn.lock

Lines changed: 41 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -314,16 +314,7 @@
314314
"@babel/traverse" "^7.13.0"
315315
"@babel/types" "^7.13.0"
316316

317-
"@babel/highlight@^7.10.4":
318-
version "7.13.8"
319-
resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.13.8.tgz#10b2dac78526424dfc1f47650d0e415dfd9dc481"
320-
integrity sha512-4vrIhfJyfNf+lCtXC2ck1rKSzDwciqF7IWFhXXrSOUC2O5DrVp+w4c6ed4AllTxhTkUP5x2tYj41VaxdVMMRDw==
321-
dependencies:
322-
"@babel/helper-validator-identifier" "^7.12.11"
323-
chalk "^2.0.0"
324-
js-tokens "^4.0.0"
325-
326-
"@babel/highlight@^7.12.13":
317+
"@babel/highlight@^7.10.4", "@babel/highlight@^7.12.13":
327318
version "7.13.10"
328319
resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.13.10.tgz#a8b2a66148f5b27d666b15d81774347a731d52d1"
329320
integrity sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg==
@@ -2247,10 +2238,10 @@
22472238
resolved "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9"
22482239
integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA==
22492240

2250-
"@types/[email protected].4":
2251-
version "12.20.4"
2252-
resolved "https://registry.npmjs.org/@types/node/-/node-12.20.4.tgz#73687043dd00fcb6962c60fbf499553a24d6bdf2"
2253-
integrity sha512-xRCgeE0Q4pT5UZ189TJ3SpYuX/QGl6QIAOAIeDSbAVAd2gX1NxSZup4jNVK7cxIeP8KDSbJgcckun495isP1jQ==
2241+
"@types/[email protected].5":
2242+
version "12.20.5"
2243+
resolved "https://registry.npmjs.org/@types/node/-/node-12.20.5.tgz#4ca82a766f05c359fd6c77505007e5a272f4bb9b"
2244+
integrity sha512-5Oy7tYZnu3a4pnJ//d4yVvOImExl4Vtwf0D40iKUlU+XlUsyV9iyFWyCFlwy489b72FMAik/EFwRkNLjjOdSPg==
22542245

22552246
"@types/normalize-package-data@^2.4.0":
22562247
version "2.4.0"
@@ -2477,9 +2468,9 @@ ajv@^6.5.5:
24772468
uri-js "^4.2.2"
24782469

24792470
ajv@^7.0.2:
2480-
version "7.1.1"
2481-
resolved "https://registry.npmjs.org/ajv/-/ajv-7.1.1.tgz#1e6b37a454021fa9941713f38b952fc1c8d32a84"
2482-
integrity sha512-ga/aqDYnUy/o7vbsRTFhhTsNeXiYb5JWDIcRIeZfwRNCefwjNTVYCGdGSUrEmiu3yDK3vFvNbgJxvrQW4JXrYQ==
2471+
version "7.2.1"
2472+
resolved "https://registry.npmjs.org/ajv/-/ajv-7.2.1.tgz#a5ac226171912447683524fa2f1248fcf8bac83d"
2473+
integrity sha512-+nu0HDv7kNSOua9apAVc979qd932rrZeb3WOvoiD31A/p1mIE5/9bN2027pE2rOPYEdS3UHzsvof4hY+lM9/WQ==
24832474
dependencies:
24842475
fast-deep-equal "^3.1.1"
24852476
json-schema-traverse "^1.0.0"
@@ -4265,9 +4256,9 @@ eslint-plugin-import@^2.20.1:
42654256
tsconfig-paths "^3.9.0"
42664257

42674258
eslint-plugin-jest@^24.0.0:
4268-
version "24.1.9"
4269-
resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.1.9.tgz#b8ccd3e3d1cc429ce14821dafd5bcc39766eafd1"
4270-
integrity sha512-dobHZxHQGiwpNuI/CNU69Q0T8oBWfJjhroOPD0vBUBbAuKzzjcflT7dqKj6NBvhNs5TfdBofX9GGswmQL2iKzQ==
4259+
version "24.3.1"
4260+
resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-24.3.1.tgz#c8df037847b83397940bef7fbc2cc168ab466bcc"
4261+
integrity sha512-RQt59rfMSHyvedImT72iaf8JcvCcR4P7Uq499dALtjY8mrCjbwWrFi1UceG4sid2wVIeDi+0tjxXZ8CZEVO7Zw==
42714262
dependencies:
42724263
"@typescript-eslint/experimental-utils" "^4.0.1"
42734264

@@ -4297,9 +4288,9 @@ eslint-visitor-keys@^2.0.0:
42974288
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==
42984289

42994290
eslint@^7.0.0:
4300-
version "7.21.0"
4301-
resolved "https://registry.npmjs.org/eslint/-/eslint-7.21.0.tgz#4ecd5b8c5b44f5dedc9b8a110b01bbfeb15d1c83"
4302-
integrity sha512-W2aJbXpMNofUp0ztQaF40fveSsJBjlSCSWpy//gzfTvwC+USs/nceBrKmlJOiM8r1bLwP2EuYkCqArn/6QTIgg==
4291+
version "7.22.0"
4292+
resolved "https://registry.npmjs.org/eslint/-/eslint-7.22.0.tgz#07ecc61052fec63661a2cab6bd507127c07adc6f"
4293+
integrity sha512-3VawOtjSJUQiiqac8MQc+w457iGLfuNGLFn8JmF051tTKbh5/x/0vlcEj8OgDCaw7Ysa2Jn8paGshV7x2abKXg==
43034294
dependencies:
43044295
"@babel/code-frame" "7.12.11"
43054296
"@eslint/eslintrc" "^0.4.0"
@@ -4318,15 +4309,15 @@ eslint@^7.0.0:
43184309
file-entry-cache "^6.0.1"
43194310
functional-red-black-tree "^1.0.1"
43204311
glob-parent "^5.0.0"
4321-
globals "^12.1.0"
4312+
globals "^13.6.0"
43224313
ignore "^4.0.6"
43234314
import-fresh "^3.0.0"
43244315
imurmurhash "^0.1.4"
43254316
is-glob "^4.0.0"
43264317
js-yaml "^3.13.1"
43274318
json-stable-stringify-without-jsonify "^1.0.1"
43284319
levn "^0.4.1"
4329-
lodash "^4.17.20"
4320+
lodash "^4.17.21"
43304321
minimatch "^3.0.4"
43314322
natural-compare "^1.4.0"
43324323
optionator "^0.9.1"
@@ -4980,20 +4971,20 @@ gitconfiglocal@^1.0.0:
49804971
dependencies:
49814972
ini "^1.3.2"
49824973

4983-
glob-parent@^5.0.0, glob-parent@^5.1.1:
4984-
version "5.1.1"
4985-
resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229"
4986-
integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==
4987-
dependencies:
4988-
is-glob "^4.0.1"
4989-
4990-
glob-parent@^5.1.0, glob-parent@~5.1.0:
4974+
glob-parent@^5.0.0, glob-parent@^5.1.0, glob-parent@~5.1.0:
49914975
version "5.1.2"
49924976
resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
49934977
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
49944978
dependencies:
49954979
is-glob "^4.0.1"
49964980

4981+
glob-parent@^5.1.1:
4982+
version "5.1.1"
4983+
resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229"
4984+
integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==
4985+
dependencies:
4986+
is-glob "^4.0.1"
4987+
49974988
49984989
version "7.1.4"
49994990
resolved "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
@@ -5064,6 +5055,13 @@ globals@^12.1.0:
50645055
dependencies:
50655056
type-fest "^0.8.1"
50665057

5058+
globals@^13.6.0:
5059+
version "13.6.0"
5060+
resolved "https://registry.npmjs.org/globals/-/globals-13.6.0.tgz#d77138e53738567bb96a3916ff6f6b487af20ef7"
5061+
integrity sha512-YFKCX0SiPg7l5oKYCJ2zZGxcXprVXHcSnVuvzrT3oSENQonVLqM5pf9fN5dLGZGyCjhw8TN8Btwe/jKnZ0pjvQ==
5062+
dependencies:
5063+
type-fest "^0.20.2"
5064+
50675065
globby@^11.0.0:
50685066
version "11.0.0"
50695067
resolved "https://registry.npmjs.org/globby/-/globby-11.0.0.tgz#56fd0e9f0d4f8fb0c456f1ab0dee96e1380bc154"
@@ -6747,7 +6745,7 @@ lodash.templatesettings@^4.0.0:
67476745
dependencies:
67486746
lodash._reinterpolate "^3.0.0"
67496747

6750-
[email protected], [email protected], lodash@^3.3.1, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.5.1:
6748+
[email protected], [email protected], lodash@^3.3.1, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.5.1:
67516749
version "4.17.21"
67526750
resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
67536751
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
@@ -9302,7 +9300,7 @@ string-width@^3.0.0, string-width@^3.1.0:
93029300
is-fullwidth-code-point "^2.0.0"
93039301
strip-ansi "^5.1.0"
93049302

9305-
string-width@^4.0.0, string-width@^4.1.0:
9303+
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0:
93069304
version "4.2.2"
93079305
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz#dafd4f9559a7585cfba529c6a0a4f73488ebd4c5"
93089306
integrity sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==
@@ -9311,15 +9309,6 @@ string-width@^4.0.0, string-width@^4.1.0:
93119309
is-fullwidth-code-point "^3.0.0"
93129310
strip-ansi "^6.0.0"
93139311

9314-
string-width@^4.2.0:
9315-
version "4.2.1"
9316-
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.1.tgz#1933ce1f470973d224368009bd1316cad81d5f4f"
9317-
integrity sha512-LL0OLyN6AnfV9xqGQpDBwedT2Rt63737LxvsRxbcwpa2aIeynBApG2Sm//F3TaLHIR1aJBN52DWklc06b94o5Q==
9318-
dependencies:
9319-
emoji-regex "^8.0.0"
9320-
is-fullwidth-code-point "^3.0.0"
9321-
strip-ansi "^6.0.0"
9322-
93239312
string.prototype.trimend@^1.0.1:
93249313
version "1.0.3"
93259314
resolved "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz#a22bd53cca5c7cf44d7c9d5c732118873d6cd18b"
@@ -9854,6 +9843,11 @@ type-fest@^0.18.0:
98549843
resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f"
98559844
integrity sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==
98569845

9846+
type-fest@^0.20.2:
9847+
version "0.20.2"
9848+
resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4"
9849+
integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==
9850+
98579851
type-fest@^0.4.1:
98589852
version "0.4.1"
98599853
resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz#8bdf77743385d8a4f13ba95f610f5ccd68c728f8"
@@ -10067,9 +10061,9 @@ uuid@^8.3.0:
1006710061
integrity sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==
1006810062

1006910063
v8-compile-cache@^2.0.3:
10070-
version "2.2.0"
10071-
resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz#9471efa3ef9128d2f7c6a7ca39c4dd6b5055b132"
10072-
integrity sha512-gTpR5XQNKFwOd4clxfnhaqvfqMpqEwr4tOtCyz4MtYZX2JYhfr1JvBFKdS+7K/9rfpZR3VLX+YWBbKoxCgS43Q==
10064+
version "2.3.0"
10065+
resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee"
10066+
integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==
1007310067

1007410068
v8-to-istanbul@^7.0.0:
1007510069
version "7.1.0"

0 commit comments

Comments
 (0)