@inquirer/expand 2.1.16 → 2.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
@@ -15,6 +15,25 @@ Compact single select prompt. Every option is assigned a shortcut key, and selec
15
15
  <tr>
16
16
  <td>
17
17
 
18
+ ```sh
19
+ npm install @inquirer/prompts
20
+ ```
21
+
22
+ </td>
23
+ <td>
24
+
25
+ ```sh
26
+ yarn add @inquirer/prompts
27
+ ```
28
+
29
+ </td>
30
+ </tr>
31
+ <tr>
32
+ <td colSpan="2" align="center">Or</td>
33
+ </tr>
34
+ <tr>
35
+ <td>
36
+
18
37
  ```sh
19
38
  npm install @inquirer/expand
20
39
  ```
@@ -33,7 +52,9 @@ yarn add @inquirer/expand
33
52
  # Usage
34
53
 
35
54
  ```js
36
- import expand from '@inquirer/expand';
55
+ import { expand } from '@inquirer/prompts';
56
+ // Or
57
+ // import expand from '@inquirer/expand';
37
58
 
38
59
  const answer = await expand({
39
60
  message: 'Conflict on file.js',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/expand",
3
- "version": "2.1.16",
3
+ "version": "2.1.17",
4
4
  "description": "Inquirer checkbox prompt",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "typings": "./dist/cjs/types/index.d.ts",
@@ -54,18 +54,17 @@
54
54
  "license": "MIT",
55
55
  "homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/expand/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
  "yoctocolors-cjs": "^2.1.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@inquirer/testing": "^2.1.27"
62
+ "@inquirer/testing": "^2.1.28"
63
63
  },
64
64
  "scripts": {
65
65
  "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
66
66
  "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
67
67
  "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
68
- "tsc:watch": "tsc -p ./tsconfig.json --watch",
69
68
  "attw": "attw --pack"
70
69
  },
71
70
  "publishConfig": {
@@ -87,5 +86,5 @@
87
86
  }
88
87
  },
89
88
  "sideEffects": false,
90
- "gitHead": "f2c4983dd390c6244fb4668a8e87c9e786e4326f"
89
+ "gitHead": "92eb67edb388404a6d737c0605648ac797c84fb6"
91
90
  }