@zuplo/cli 7.9.8 → 7.9.11
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/node_modules/@inquirer/ansi/README.md +35 -3
- package/node_modules/@inquirer/ansi/package.json +2 -2
- package/node_modules/@inquirer/checkbox/README.md +75 -5
- package/node_modules/@inquirer/checkbox/package.json +5 -5
- package/node_modules/@inquirer/confirm/README.md +81 -5
- package/node_modules/@inquirer/confirm/dist/index.d.ts +10 -0
- package/node_modules/@inquirer/confirm/dist/index.js +29 -6
- package/node_modules/@inquirer/confirm/package.json +4 -4
- package/node_modules/@inquirer/core/README.md +35 -3
- package/node_modules/@inquirer/core/dist/lib/__probe/p1.d.ts +9 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p1.js +4 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p2.d.ts +9 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p2.js +3 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p3.d.ts +9 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p3.js +5 -0
- package/node_modules/@inquirer/core/dist/lib/create-prompt.js +4 -3
- package/node_modules/@inquirer/core/dist/lib/hook-engine.js +8 -10
- package/node_modules/@inquirer/core/dist/lib/make-theme.js +2 -2
- package/node_modules/@inquirer/core/package.json +4 -4
- package/node_modules/@inquirer/editor/README.md +75 -5
- package/node_modules/@inquirer/editor/package.json +5 -5
- package/node_modules/@inquirer/expand/README.md +75 -5
- package/node_modules/@inquirer/expand/dist/index.js +3 -3
- package/node_modules/@inquirer/expand/package.json +4 -4
- package/node_modules/@inquirer/external-editor/README.md +35 -3
- package/node_modules/@inquirer/external-editor/package.json +2 -2
- package/node_modules/@inquirer/input/README.md +75 -5
- package/node_modules/@inquirer/input/package.json +4 -4
- package/node_modules/@inquirer/number/README.md +75 -5
- package/node_modules/@inquirer/number/package.json +4 -4
- package/node_modules/@inquirer/password/README.md +75 -5
- package/node_modules/@inquirer/password/package.json +5 -5
- package/node_modules/@inquirer/rawlist/README.md +75 -5
- package/node_modules/@inquirer/rawlist/dist/index.js +5 -4
- package/node_modules/@inquirer/rawlist/package.json +4 -4
- package/node_modules/@inquirer/search/README.md +74 -4
- package/node_modules/@inquirer/search/dist/index.js +1 -1
- package/node_modules/@inquirer/search/package.json +4 -4
- package/node_modules/@inquirer/select/README.md +75 -5
- package/node_modules/@inquirer/select/package.json +5 -5
- package/node_modules/@inquirer/type/dist/utils.d.ts +11 -0
- package/node_modules/@inquirer/type/dist/utils.js +15 -1
- package/node_modules/@inquirer/type/package.json +2 -2
- package/node_modules/@modelcontextprotocol/client/README.md +1 -7
- package/node_modules/@modelcontextprotocol/client/package.json +3 -3
- package/node_modules/@modelcontextprotocol/core/package.json +1 -1
- package/node_modules/@modelcontextprotocol/sdk/README.md +8 -2
- package/node_modules/@modelcontextprotocol/sdk/package.json +1 -1
- package/node_modules/@modelcontextprotocol/server/README.md +1 -7
- package/node_modules/@modelcontextprotocol/server/package.json +3 -3
- package/node_modules/@posthog/core/dist/utils/bot-detection.d.ts +7 -1
- package/node_modules/@posthog/core/dist/utils/bot-detection.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/utils/bot-detection.js +25 -5
- package/node_modules/@posthog/core/dist/utils/bot-detection.mjs +21 -5
- package/node_modules/@posthog/core/package.json +1 -1
- package/node_modules/@posthog/core/src/utils/bot-detection.spec.ts +100 -0
- package/node_modules/@posthog/core/src/utils/bot-detection.ts +48 -4
- package/node_modules/@zuplo/core/customer.cli.minified.js +156 -156
- package/node_modules/@zuplo/core/index.minified.js +160 -160
- package/node_modules/@zuplo/core/package.json +1 -1
- package/node_modules/@zuplo/graphql/package.json +1 -1
- package/node_modules/@zuplo/openapi-tools/package.json +1 -1
- package/node_modules/@zuplo/otel/package.json +1 -1
- package/node_modules/@zuplo/runtime/out/esm/{chunk-6O4OZCO6.js → chunk-7AHIER5R.js} +2 -2
- package/node_modules/@zuplo/runtime/out/esm/{chunk-WFAFGL5Y.js → chunk-DDUIJEX3.js} +67 -67
- package/node_modules/@zuplo/runtime/out/esm/chunk-DDUIJEX3.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-KESHY2P3.js +37 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-KESHY2P3.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/{chunk-54HRCPVQ.js → chunk-QTXBMT6O.js} +2 -2
- package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/internal/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mocks/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/sdks/aws/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/types/index.d.ts +12 -0
- package/node_modules/@zuplo/runtime/out/types/internal/index.d.ts +12 -0
- package/node_modules/@zuplo/runtime/package.json +1 -1
- package/node_modules/fast-copy/README.md +8 -7
- package/node_modules/fast-copy/dist/cjs/index.cjs +1 -1
- package/node_modules/fast-copy/dist/cjs/index.cjs.map +1 -1
- package/node_modules/fast-copy/dist/es/index.mjs +1 -1
- package/node_modules/fast-copy/dist/es/index.mjs.map +1 -1
- package/node_modules/fast-copy/dist/umd/index.js +1 -1
- package/node_modules/fast-copy/dist/umd/index.js.map +1 -1
- package/node_modules/fast-copy/package.json +1 -1
- package/package.json +12 -12
- package/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +0 -7
- package/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +0 -14
- package/node_modules/@zuplo/runtime/out/esm/chunk-MWIJG5KC.js +0 -37
- package/node_modules/@zuplo/runtime/out/esm/chunk-MWIJG5KC.js.map +0 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-WFAFGL5Y.js.map +0 -1
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-6O4OZCO6.js.map → chunk-7AHIER5R.js.map} +0 -0
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-WFAFGL5Y.js.LEGAL.txt → chunk-DDUIJEX3.js.LEGAL.txt} +0 -0
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-MWIJG5KC.js.LEGAL.txt → chunk-KESHY2P3.js.LEGAL.txt} +0 -0
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-54HRCPVQ.js.map → chunk-QTXBMT6O.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/core",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.4",
|
|
4
4
|
"description": "Core Inquirer prompt API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/ansi": "^2.0.
|
|
70
|
+
"@inquirer/ansi": "^2.0.9",
|
|
71
71
|
"@inquirer/figures": "^2.0.9",
|
|
72
|
-
"@inquirer/type": "4.
|
|
72
|
+
"@inquirer/type": "4.2.0",
|
|
73
73
|
"cli-width": "^4.1.0",
|
|
74
74
|
"fast-wrap-ansi": "^0.2.0",
|
|
75
75
|
"mute-stream": "^3.0.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
},
|
|
95
95
|
"main": "./dist/index.js",
|
|
96
96
|
"types": "./dist/index.d.ts",
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "a9436bd94d55a439df308f50e77a7cd0b2078e98"
|
|
98
98
|
}
|
|
@@ -8,46 +8,116 @@ The editor launched is the one [defined by the user's `EDITOR` environment varia
|
|
|
8
8
|
|
|
9
9
|
<table>
|
|
10
10
|
<tr>
|
|
11
|
-
<th>npm</th>
|
|
12
11
|
<th>yarn</th>
|
|
12
|
+
<th>pnpm</th>
|
|
13
13
|
</tr>
|
|
14
14
|
<tr>
|
|
15
15
|
<td>
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
|
-
|
|
18
|
+
yarn add @inquirer/prompts
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
</td>
|
|
22
22
|
<td>
|
|
23
23
|
|
|
24
24
|
```sh
|
|
25
|
-
|
|
25
|
+
pnpm add @inquirer/prompts
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
</td>
|
|
29
29
|
</tr>
|
|
30
30
|
<tr>
|
|
31
|
-
<
|
|
31
|
+
<th>bun</th>
|
|
32
|
+
<th>deno</th>
|
|
32
33
|
</tr>
|
|
33
34
|
<tr>
|
|
34
35
|
<td>
|
|
35
36
|
|
|
36
37
|
```sh
|
|
37
|
-
|
|
38
|
+
bun add @inquirer/prompts
|
|
38
39
|
```
|
|
39
40
|
|
|
40
41
|
</td>
|
|
41
42
|
<td>
|
|
42
43
|
|
|
44
|
+
```sh
|
|
45
|
+
deno add npm:@inquirer/prompts
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<th colSpan="2">npm</th>
|
|
52
|
+
</tr>
|
|
53
|
+
<tr>
|
|
54
|
+
<td colSpan="2">
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
npm install @inquirer/prompts
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td colSpan="2" align="center">Or</td>
|
|
64
|
+
</tr>
|
|
65
|
+
<tr>
|
|
66
|
+
<th>yarn</th>
|
|
67
|
+
<th>pnpm</th>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<td>
|
|
71
|
+
|
|
43
72
|
```sh
|
|
44
73
|
yarn add @inquirer/editor
|
|
45
74
|
```
|
|
46
75
|
|
|
76
|
+
</td>
|
|
77
|
+
<td>
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
pnpm add @inquirer/editor
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
</td>
|
|
84
|
+
</tr>
|
|
85
|
+
<tr>
|
|
86
|
+
<th>bun</th>
|
|
87
|
+
<th>deno</th>
|
|
88
|
+
</tr>
|
|
89
|
+
<tr>
|
|
90
|
+
<td>
|
|
91
|
+
|
|
92
|
+
```sh
|
|
93
|
+
bun add @inquirer/editor
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
</td>
|
|
97
|
+
<td>
|
|
98
|
+
|
|
99
|
+
```sh
|
|
100
|
+
deno add npm:@inquirer/editor
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
</td>
|
|
104
|
+
</tr>
|
|
105
|
+
<tr>
|
|
106
|
+
<th colSpan="2">npm</th>
|
|
107
|
+
</tr>
|
|
108
|
+
<tr>
|
|
109
|
+
<td colSpan="2">
|
|
110
|
+
|
|
111
|
+
```sh
|
|
112
|
+
npm install @inquirer/editor
|
|
113
|
+
```
|
|
114
|
+
|
|
47
115
|
</td>
|
|
48
116
|
</tr>
|
|
49
117
|
</table>
|
|
50
118
|
|
|
119
|
+
On Deno, prompts detect the terminal's unicode and color support from the environment, so run your script with `--allow-env`.
|
|
120
|
+
|
|
51
121
|
# Usage
|
|
52
122
|
|
|
53
123
|
```js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/editor",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"description": "Inquirer multiline editor prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^12.0.
|
|
71
|
-
"@inquirer/external-editor": "^3.0.
|
|
72
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/core": "^12.0.4",
|
|
71
|
+
"@inquirer/external-editor": "^3.0.6",
|
|
72
|
+
"@inquirer/type": "4.2.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@repo/tsconfig": "0.0.0",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
},
|
|
89
89
|
"main": "./dist/index.js",
|
|
90
90
|
"types": "./dist/index.d.ts",
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "a9436bd94d55a439df308f50e77a7cd0b2078e98"
|
|
92
92
|
}
|
|
@@ -9,46 +9,116 @@ Compact single select prompt. Every option is assigned a shortcut key, and selec
|
|
|
9
9
|
|
|
10
10
|
<table>
|
|
11
11
|
<tr>
|
|
12
|
-
<th>npm</th>
|
|
13
12
|
<th>yarn</th>
|
|
13
|
+
<th>pnpm</th>
|
|
14
14
|
</tr>
|
|
15
15
|
<tr>
|
|
16
16
|
<td>
|
|
17
17
|
|
|
18
18
|
```sh
|
|
19
|
-
|
|
19
|
+
yarn add @inquirer/prompts
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
</td>
|
|
23
23
|
<td>
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
|
|
26
|
+
pnpm add @inquirer/prompts
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
</td>
|
|
30
30
|
</tr>
|
|
31
31
|
<tr>
|
|
32
|
-
<
|
|
32
|
+
<th>bun</th>
|
|
33
|
+
<th>deno</th>
|
|
33
34
|
</tr>
|
|
34
35
|
<tr>
|
|
35
36
|
<td>
|
|
36
37
|
|
|
37
38
|
```sh
|
|
38
|
-
|
|
39
|
+
bun add @inquirer/prompts
|
|
39
40
|
```
|
|
40
41
|
|
|
41
42
|
</td>
|
|
42
43
|
<td>
|
|
43
44
|
|
|
45
|
+
```sh
|
|
46
|
+
deno add npm:@inquirer/prompts
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
</td>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr>
|
|
52
|
+
<th colSpan="2">npm</th>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<td colSpan="2">
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
npm install @inquirer/prompts
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
</td>
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
64
|
+
<td colSpan="2" align="center">Or</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<th>yarn</th>
|
|
68
|
+
<th>pnpm</th>
|
|
69
|
+
</tr>
|
|
70
|
+
<tr>
|
|
71
|
+
<td>
|
|
72
|
+
|
|
44
73
|
```sh
|
|
45
74
|
yarn add @inquirer/expand
|
|
46
75
|
```
|
|
47
76
|
|
|
77
|
+
</td>
|
|
78
|
+
<td>
|
|
79
|
+
|
|
80
|
+
```sh
|
|
81
|
+
pnpm add @inquirer/expand
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
</td>
|
|
85
|
+
</tr>
|
|
86
|
+
<tr>
|
|
87
|
+
<th>bun</th>
|
|
88
|
+
<th>deno</th>
|
|
89
|
+
</tr>
|
|
90
|
+
<tr>
|
|
91
|
+
<td>
|
|
92
|
+
|
|
93
|
+
```sh
|
|
94
|
+
bun add @inquirer/expand
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
</td>
|
|
98
|
+
<td>
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
deno add npm:@inquirer/expand
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
</td>
|
|
105
|
+
</tr>
|
|
106
|
+
<tr>
|
|
107
|
+
<th colSpan="2">npm</th>
|
|
108
|
+
</tr>
|
|
109
|
+
<tr>
|
|
110
|
+
<td colSpan="2">
|
|
111
|
+
|
|
112
|
+
```sh
|
|
113
|
+
npm install @inquirer/expand
|
|
114
|
+
```
|
|
115
|
+
|
|
48
116
|
</td>
|
|
49
117
|
</tr>
|
|
50
118
|
</table>
|
|
51
119
|
|
|
120
|
+
On Deno, prompts detect the terminal's unicode and color support from the environment, so run your script with `--allow-env`.
|
|
121
|
+
|
|
52
122
|
# Usage
|
|
53
123
|
|
|
54
124
|
```js
|
|
@@ -31,7 +31,7 @@ const expand = createPrompt((config, done) => {
|
|
|
31
31
|
const prefix = usePrefix({ theme, status });
|
|
32
32
|
useKeypress((event, rl) => {
|
|
33
33
|
if (isEnterKey(event)) {
|
|
34
|
-
const answer = (value || defaultKey).toLowerCase();
|
|
34
|
+
const answer = (value.trim() || defaultKey).toLowerCase();
|
|
35
35
|
if (answer === 'h' && !expanded) {
|
|
36
36
|
setExpanded(true);
|
|
37
37
|
}
|
|
@@ -85,7 +85,7 @@ const expand = createPrompt((config, done) => {
|
|
|
85
85
|
return ` ${choice.separator}`;
|
|
86
86
|
}
|
|
87
87
|
const line = ` ${choice.key}) ${choice.name}`;
|
|
88
|
-
if (choice.key === value.toLowerCase()) {
|
|
88
|
+
if (choice.key === value.trim().toLowerCase()) {
|
|
89
89
|
return theme.style.highlight(line);
|
|
90
90
|
}
|
|
91
91
|
return line;
|
|
@@ -93,7 +93,7 @@ const expand = createPrompt((config, done) => {
|
|
|
93
93
|
.join('\n');
|
|
94
94
|
}
|
|
95
95
|
let helpTip = '';
|
|
96
|
-
const currentOption = choices.find((choice) => !Separator.isSeparator(choice) && choice.key === value.toLowerCase());
|
|
96
|
+
const currentOption = choices.find((choice) => !Separator.isSeparator(choice) && choice.key === value.trim().toLowerCase());
|
|
97
97
|
if (currentOption) {
|
|
98
98
|
helpTip = `${styleText('cyan', '>>')} ${currentOption.name}`;
|
|
99
99
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/expand",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.6",
|
|
4
4
|
"description": "Inquirer checkbox prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^12.0.
|
|
71
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/core": "^12.0.4",
|
|
71
|
+
"@inquirer/type": "4.2.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@repo/tsconfig": "0.0.0",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
},
|
|
88
88
|
"main": "./dist/index.js",
|
|
89
89
|
"types": "./dist/index.d.ts",
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "a9436bd94d55a439df308f50e77a7cd0b2078e98"
|
|
91
91
|
}
|
|
@@ -9,21 +9,53 @@ A Node.js module to edit a string with the user's preferred text editor using $V
|
|
|
9
9
|
|
|
10
10
|
<table>
|
|
11
11
|
<tr>
|
|
12
|
-
<th>npm</th>
|
|
13
12
|
<th>yarn</th>
|
|
13
|
+
<th>pnpm</th>
|
|
14
14
|
</tr>
|
|
15
15
|
<tr>
|
|
16
16
|
<td>
|
|
17
17
|
|
|
18
18
|
```sh
|
|
19
|
-
|
|
19
|
+
yarn add @inquirer/external-editor
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
</td>
|
|
23
23
|
<td>
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
|
|
26
|
+
pnpm add @inquirer/external-editor
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
</td>
|
|
30
|
+
</tr>
|
|
31
|
+
<tr>
|
|
32
|
+
<th>bun</th>
|
|
33
|
+
<th>deno</th>
|
|
34
|
+
</tr>
|
|
35
|
+
<tr>
|
|
36
|
+
<td>
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
bun add @inquirer/external-editor
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
</td>
|
|
43
|
+
<td>
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
deno add npm:@inquirer/external-editor
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
</td>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr>
|
|
52
|
+
<th colSpan="2">npm</th>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<td colSpan="2">
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
npm install @inquirer/external-editor
|
|
27
59
|
```
|
|
28
60
|
|
|
29
61
|
</td>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/external-editor",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
},
|
|
95
95
|
"main": "./dist/index.js",
|
|
96
96
|
"types": "./dist/index.d.ts",
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "a9436bd94d55a439df308f50e77a7cd0b2078e98"
|
|
98
98
|
}
|
|
@@ -8,46 +8,116 @@ Interactive free text input component for command line interfaces. Supports vali
|
|
|
8
8
|
|
|
9
9
|
<table>
|
|
10
10
|
<tr>
|
|
11
|
-
<th>npm</th>
|
|
12
11
|
<th>yarn</th>
|
|
12
|
+
<th>pnpm</th>
|
|
13
13
|
</tr>
|
|
14
14
|
<tr>
|
|
15
15
|
<td>
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
|
-
|
|
18
|
+
yarn add @inquirer/prompts
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
</td>
|
|
22
22
|
<td>
|
|
23
23
|
|
|
24
24
|
```sh
|
|
25
|
-
|
|
25
|
+
pnpm add @inquirer/prompts
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
</td>
|
|
29
29
|
</tr>
|
|
30
30
|
<tr>
|
|
31
|
-
<
|
|
31
|
+
<th>bun</th>
|
|
32
|
+
<th>deno</th>
|
|
32
33
|
</tr>
|
|
33
34
|
<tr>
|
|
34
35
|
<td>
|
|
35
36
|
|
|
36
37
|
```sh
|
|
37
|
-
|
|
38
|
+
bun add @inquirer/prompts
|
|
38
39
|
```
|
|
39
40
|
|
|
40
41
|
</td>
|
|
41
42
|
<td>
|
|
42
43
|
|
|
44
|
+
```sh
|
|
45
|
+
deno add npm:@inquirer/prompts
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<th colSpan="2">npm</th>
|
|
52
|
+
</tr>
|
|
53
|
+
<tr>
|
|
54
|
+
<td colSpan="2">
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
npm install @inquirer/prompts
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td colSpan="2" align="center">Or</td>
|
|
64
|
+
</tr>
|
|
65
|
+
<tr>
|
|
66
|
+
<th>yarn</th>
|
|
67
|
+
<th>pnpm</th>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<td>
|
|
71
|
+
|
|
43
72
|
```sh
|
|
44
73
|
yarn add @inquirer/input
|
|
45
74
|
```
|
|
46
75
|
|
|
76
|
+
</td>
|
|
77
|
+
<td>
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
pnpm add @inquirer/input
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
</td>
|
|
84
|
+
</tr>
|
|
85
|
+
<tr>
|
|
86
|
+
<th>bun</th>
|
|
87
|
+
<th>deno</th>
|
|
88
|
+
</tr>
|
|
89
|
+
<tr>
|
|
90
|
+
<td>
|
|
91
|
+
|
|
92
|
+
```sh
|
|
93
|
+
bun add @inquirer/input
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
</td>
|
|
97
|
+
<td>
|
|
98
|
+
|
|
99
|
+
```sh
|
|
100
|
+
deno add npm:@inquirer/input
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
</td>
|
|
104
|
+
</tr>
|
|
105
|
+
<tr>
|
|
106
|
+
<th colSpan="2">npm</th>
|
|
107
|
+
</tr>
|
|
108
|
+
<tr>
|
|
109
|
+
<td colSpan="2">
|
|
110
|
+
|
|
111
|
+
```sh
|
|
112
|
+
npm install @inquirer/input
|
|
113
|
+
```
|
|
114
|
+
|
|
47
115
|
</td>
|
|
48
116
|
</tr>
|
|
49
117
|
</table>
|
|
50
118
|
|
|
119
|
+
On Deno, prompts detect the terminal's unicode and color support from the environment, so run your script with `--allow-env`.
|
|
120
|
+
|
|
51
121
|
# Usage
|
|
52
122
|
|
|
53
123
|
```js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/input",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.7",
|
|
4
4
|
"description": "Inquirer input text prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^12.0.
|
|
71
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/core": "^12.0.4",
|
|
71
|
+
"@inquirer/type": "4.2.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@repo/tsconfig": "0.0.0",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
},
|
|
88
88
|
"main": "./dist/index.js",
|
|
89
89
|
"types": "./dist/index.d.ts",
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "a9436bd94d55a439df308f50e77a7cd0b2078e98"
|
|
91
91
|
}
|
|
@@ -6,46 +6,116 @@ Interactive free number input component for command line interfaces. Supports va
|
|
|
6
6
|
|
|
7
7
|
<table>
|
|
8
8
|
<tr>
|
|
9
|
-
<th>npm</th>
|
|
10
9
|
<th>yarn</th>
|
|
10
|
+
<th>pnpm</th>
|
|
11
11
|
</tr>
|
|
12
12
|
<tr>
|
|
13
13
|
<td>
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
|
-
|
|
16
|
+
yarn add @inquirer/prompts
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
</td>
|
|
20
20
|
<td>
|
|
21
21
|
|
|
22
22
|
```sh
|
|
23
|
-
|
|
23
|
+
pnpm add @inquirer/prompts
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
</td>
|
|
27
27
|
</tr>
|
|
28
28
|
<tr>
|
|
29
|
-
<
|
|
29
|
+
<th>bun</th>
|
|
30
|
+
<th>deno</th>
|
|
30
31
|
</tr>
|
|
31
32
|
<tr>
|
|
32
33
|
<td>
|
|
33
34
|
|
|
34
35
|
```sh
|
|
35
|
-
|
|
36
|
+
bun add @inquirer/prompts
|
|
36
37
|
```
|
|
37
38
|
|
|
38
39
|
</td>
|
|
39
40
|
<td>
|
|
40
41
|
|
|
42
|
+
```sh
|
|
43
|
+
deno add npm:@inquirer/prompts
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
</td>
|
|
47
|
+
</tr>
|
|
48
|
+
<tr>
|
|
49
|
+
<th colSpan="2">npm</th>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr>
|
|
52
|
+
<td colSpan="2">
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
npm install @inquirer/prompts
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
</td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr>
|
|
61
|
+
<td colSpan="2" align="center">Or</td>
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
64
|
+
<th>yarn</th>
|
|
65
|
+
<th>pnpm</th>
|
|
66
|
+
</tr>
|
|
67
|
+
<tr>
|
|
68
|
+
<td>
|
|
69
|
+
|
|
41
70
|
```sh
|
|
42
71
|
yarn add @inquirer/number
|
|
43
72
|
```
|
|
44
73
|
|
|
74
|
+
</td>
|
|
75
|
+
<td>
|
|
76
|
+
|
|
77
|
+
```sh
|
|
78
|
+
pnpm add @inquirer/number
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
</td>
|
|
82
|
+
</tr>
|
|
83
|
+
<tr>
|
|
84
|
+
<th>bun</th>
|
|
85
|
+
<th>deno</th>
|
|
86
|
+
</tr>
|
|
87
|
+
<tr>
|
|
88
|
+
<td>
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
bun add @inquirer/number
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
</td>
|
|
95
|
+
<td>
|
|
96
|
+
|
|
97
|
+
```sh
|
|
98
|
+
deno add npm:@inquirer/number
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
</td>
|
|
102
|
+
</tr>
|
|
103
|
+
<tr>
|
|
104
|
+
<th colSpan="2">npm</th>
|
|
105
|
+
</tr>
|
|
106
|
+
<tr>
|
|
107
|
+
<td colSpan="2">
|
|
108
|
+
|
|
109
|
+
```sh
|
|
110
|
+
npm install @inquirer/number
|
|
111
|
+
```
|
|
112
|
+
|
|
45
113
|
</td>
|
|
46
114
|
</tr>
|
|
47
115
|
</table>
|
|
48
116
|
|
|
117
|
+
On Deno, prompts detect the terminal's unicode and color support from the environment, so run your script with `--allow-env`.
|
|
118
|
+
|
|
49
119
|
# Usage
|
|
50
120
|
|
|
51
121
|
```js
|