@commitlint/prompt-cli 14.1.0 → 14.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/cli.js +2 -4
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [14.2.0](https://github.com/conventional-changelog/commitlint/compare/v14.1.0...v14.2.0) (2021-11-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **prompt:** rewrite codebase to use inquirer - UPDATED with current master ([#2697](https://github.com/conventional-changelog/commitlint/issues/2697)) ([5105f43](https://github.com/conventional-changelog/commitlint/commit/5105f43ea8093bce82fe4703c4c14a8210721924))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [14.1.0](https://github.com/conventional-changelog/commitlint/compare/v14.0.0...v14.1.0) (2021-11-01)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @commitlint/prompt-cli
|
package/cli.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const execa = require('execa');
|
|
3
|
+
const inquirer = require('inquirer');
|
|
3
4
|
const {prompter} = require('@commitlint/prompt');
|
|
4
5
|
|
|
5
|
-
const _ = undefined;
|
|
6
|
-
const prompt = () => prompter(_, commit);
|
|
7
|
-
|
|
8
6
|
main().catch((err) => {
|
|
9
7
|
setTimeout(() => {
|
|
10
8
|
throw err;
|
|
@@ -21,7 +19,7 @@ function main() {
|
|
|
21
19
|
process.exit(1);
|
|
22
20
|
}
|
|
23
21
|
})
|
|
24
|
-
.then(() =>
|
|
22
|
+
.then(() => prompter(inquirer, commit));
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
function isStageEmpty() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commitlint/prompt-cli",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.2.0",
|
|
4
4
|
"description": "commit prompt using commitlint.config.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"cli.js"
|
|
@@ -36,8 +36,9 @@
|
|
|
36
36
|
"@commitlint/utils": "^14.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@commitlint/prompt": "^14.
|
|
40
|
-
"execa": "^5.0.0"
|
|
39
|
+
"@commitlint/prompt": "^14.2.0",
|
|
40
|
+
"execa": "^5.0.0",
|
|
41
|
+
"inquirer": "^6.5.2"
|
|
41
42
|
},
|
|
42
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "bcbc9bfdf4cd892bff437a2b4f3ccbd5c4cb71c2"
|
|
43
44
|
}
|