@inquirer/confirm 3.1.16 → 3.1.17

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 (2) hide show
  1. package/README.md +22 -1
  2. package/package.json +5 -6
package/README.md CHANGED
@@ -14,6 +14,25 @@ Simple interactive command line prompt to gather boolean input from users.
14
14
  <tr>
15
15
  <td>
16
16
 
17
+ ```sh
18
+ npm install @inquirer/prompts
19
+ ```
20
+
21
+ </td>
22
+ <td>
23
+
24
+ ```sh
25
+ yarn add @inquirer/prompts
26
+ ```
27
+
28
+ </td>
29
+ </tr>
30
+ <tr>
31
+ <td colSpan="2" align="center">Or</td>
32
+ </tr>
33
+ <tr>
34
+ <td>
35
+
17
36
  ```sh
18
37
  npm install @inquirer/confirm
19
38
  ```
@@ -32,7 +51,9 @@ yarn add @inquirer/confirm
32
51
  # Usage
33
52
 
34
53
  ```js
35
- import confirm from '@inquirer/confirm';
54
+ import { confirm } from '@inquirer/prompts';
55
+ // Or
56
+ // import confirm from '@inquirer/confirm';
36
57
 
37
58
  const answer = await confirm({ message: 'Continue?' });
38
59
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/confirm",
3
- "version": "3.1.16",
3
+ "version": "3.1.17",
4
4
  "description": "Inquirer confirm prompt",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "typings": "./dist/cjs/types/index.d.ts",
@@ -54,17 +54,16 @@
54
54
  "license": "MIT",
55
55
  "homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/confirm/README.md",
56
56
  "dependencies": {
57
- "@inquirer/core": "^9.0.4",
58
- "@inquirer/type": "^1.5.0"
57
+ "@inquirer/core": "^9.0.5",
58
+ "@inquirer/type": "^1.5.1"
59
59
  },
60
60
  "devDependencies": {
61
- "@inquirer/testing": "^2.1.27"
61
+ "@inquirer/testing": "^2.1.28"
62
62
  },
63
63
  "scripts": {
64
64
  "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
65
65
  "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
66
66
  "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
67
- "tsc:watch": "tsc -p ./tsconfig.json --watch",
68
67
  "attw": "attw --pack"
69
68
  },
70
69
  "publishConfig": {
@@ -86,5 +85,5 @@
86
85
  }
87
86
  },
88
87
  "sideEffects": false,
89
- "gitHead": "f2c4983dd390c6244fb4668a8e87c9e786e4326f"
88
+ "gitHead": "92eb67edb388404a6d737c0605648ac797c84fb6"
90
89
  }