@commitlint/prompt-cli 18.6.0 → 19.0.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.
Files changed (3) hide show
  1. package/README.md +7 -7
  2. package/cli.js +3 -3
  3. package/package.json +8 -7
package/README.md CHANGED
@@ -1,17 +1,17 @@
1
- > commit prompt using commitlint.config.js
2
-
3
1
  # @commitlint/prompt-cli
4
2
 
3
+ commit prompt using commitlint.config.js
4
+
5
5
  ## Getting started
6
6
 
7
- ```bash
8
- npm install --g @commitlint/prompt-cli @commitlint/config-angular
9
- echo "module.exports = {extends: ['@commitlint/config-angular']};" > commitlint.config.js
7
+ ```sh
8
+ npm install -g @commitlint/prompt-cli @commitlint/config-angular
9
+ echo "export default {extends: ['@commitlint/config-angular']};" > commitlint.config.js
10
10
  ```
11
11
 
12
- ```bash
12
+ ```sh
13
13
  git add .
14
14
  commit
15
15
  ```
16
16
 
17
- A full usage guide is available at [docs/prompt](https://conventional-changelog.github.io/commitlint/#/guides-use-prompt).
17
+ A full usage guide is available at [docs/prompt](https://commitlint.js.org/guides/use-prompt).
package/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- const execa = require('execa');
3
- const inquirer = require('inquirer');
4
- const {prompter} = require('@commitlint/prompt');
2
+ import {prompter} from '@commitlint/prompt';
3
+ import {execa} from 'execa';
4
+ import inquirer from 'inquirer';
5
5
 
6
6
  main().catch((err) => {
7
7
  setTimeout(() => {
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@commitlint/prompt-cli",
3
- "version": "18.6.0",
3
+ "type": "module",
4
+ "version": "19.0.0",
4
5
  "description": "commit prompt using commitlint.config.js",
5
6
  "files": [
6
7
  "cli.js"
@@ -32,13 +33,13 @@
32
33
  "node": ">=v18"
33
34
  },
34
35
  "devDependencies": {
35
- "@commitlint/test": "^18.0.0",
36
- "@commitlint/utils": "^18.4.4"
36
+ "@commitlint/test": "^19.0.0",
37
+ "@commitlint/utils": "^19.0.0"
37
38
  },
38
39
  "dependencies": {
39
- "@commitlint/prompt": "^18.6.0",
40
- "execa": "^5.0.0",
41
- "inquirer": "^6.5.2"
40
+ "@commitlint/prompt": "^19.0.0",
41
+ "execa": "^8.0.1",
42
+ "inquirer": "^9.2.15"
42
43
  },
43
- "gitHead": "daa8b1baa8732b3f1f937d2453608d47b4952bff"
44
+ "gitHead": "f1ff12159d627ee63bf8982ab02e6cca8f10b09f"
44
45
  }