@inquirer/prompts 4.3.2 → 5.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.
- package/README.md +10 -0
- package/dist/cjs/index.js +0 -15
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/esm/index.mjs +0 -1
- package/dist/esm/types/index.d.mts +0 -1
- package/package.json +13 -11
package/README.md
CHANGED
|
@@ -267,6 +267,16 @@ Select a choice either with arrow keys + Enter or by pressing a key associated w
|
|
|
267
267
|
Quit (Q)
|
|
268
268
|
```
|
|
269
269
|
|
|
270
|
+
[**Action Select Prompt**](https://github.com/zenithlight/inquirer-action-select)<br/>
|
|
271
|
+
Choose an item from a list and choose an action to take by pressing a key.
|
|
272
|
+
|
|
273
|
+
```
|
|
274
|
+
? Choose a file Open <O> Edit <E> Delete <X>
|
|
275
|
+
❯ image.png
|
|
276
|
+
audio.mp3
|
|
277
|
+
code.py
|
|
278
|
+
```
|
|
279
|
+
|
|
270
280
|
# License
|
|
271
281
|
|
|
272
282
|
Copyright (c) 2023 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart))<br/>
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
4
|
};
|
|
@@ -34,4 +20,3 @@ const rawlist_1 = __importDefault(require("@inquirer/rawlist"));
|
|
|
34
20
|
exports.rawlist = rawlist_1.default;
|
|
35
21
|
const select_1 = __importDefault(require("@inquirer/select"));
|
|
36
22
|
exports.select = select_1.default;
|
|
37
|
-
__exportStar(require("@inquirer/core"), exports);
|
|
@@ -6,5 +6,4 @@ import input from '@inquirer/input';
|
|
|
6
6
|
import password from '@inquirer/password';
|
|
7
7
|
import rawlist from '@inquirer/rawlist';
|
|
8
8
|
import select from '@inquirer/select';
|
|
9
|
-
export * from '@inquirer/core';
|
|
10
9
|
export { checkbox, confirm, editor, expand, input, password, rawlist, select };
|
package/dist/esm/index.mjs
CHANGED
|
@@ -6,5 +6,4 @@ import input from '@inquirer/input';
|
|
|
6
6
|
import password from '@inquirer/password';
|
|
7
7
|
import rawlist from '@inquirer/rawlist';
|
|
8
8
|
import select from '@inquirer/select';
|
|
9
|
-
export * from '@inquirer/core';
|
|
10
9
|
export { checkbox, confirm, editor, expand, input, password, rawlist, select };
|
|
@@ -6,5 +6,4 @@ import input from '@inquirer/input';
|
|
|
6
6
|
import password from '@inquirer/password';
|
|
7
7
|
import rawlist from '@inquirer/rawlist';
|
|
8
8
|
import select from '@inquirer/select';
|
|
9
|
-
export * from '@inquirer/core';
|
|
10
9
|
export { checkbox, confirm, editor, expand, input, password, rawlist, select };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/prompts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Inquirer prompts, combined in a single package",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"typings": "./dist/cjs/types/index.d.ts",
|
|
@@ -76,16 +76,18 @@
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@inquirer/checkbox": "^2.
|
|
80
|
-
"@inquirer/confirm": "^3.1.
|
|
81
|
-
"@inquirer/
|
|
82
|
-
"@inquirer/
|
|
83
|
-
"@inquirer/
|
|
84
|
-
"@inquirer/
|
|
85
|
-
"@inquirer/
|
|
86
|
-
"@inquirer/
|
|
87
|
-
|
|
79
|
+
"@inquirer/checkbox": "^2.3.0",
|
|
80
|
+
"@inquirer/confirm": "^3.1.4",
|
|
81
|
+
"@inquirer/editor": "^2.1.4",
|
|
82
|
+
"@inquirer/expand": "^2.1.4",
|
|
83
|
+
"@inquirer/input": "^2.1.4",
|
|
84
|
+
"@inquirer/password": "^2.1.4",
|
|
85
|
+
"@inquirer/rawlist": "^2.1.4",
|
|
86
|
+
"@inquirer/select": "^2.3.0"
|
|
87
|
+
},
|
|
88
|
+
"devDependencies": {
|
|
89
|
+
"@inquirer/type": "^1.3.0"
|
|
88
90
|
},
|
|
89
91
|
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/prompts/README.md",
|
|
90
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "bb5b6b857d227b0fe8fd55951784f03800cdf73c"
|
|
91
93
|
}
|