@inquirer/prompts 1.0.1 → 1.0.2
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 +1 -1
- package/package.json +12 -11
package/README.md
CHANGED
|
@@ -155,7 +155,7 @@ When asking many questions, you might not want to keep one variable per answer e
|
|
|
155
155
|
import { input, confirm } from '@inquirer/prompts';
|
|
156
156
|
|
|
157
157
|
const answers = {
|
|
158
|
-
firstName: await input({ message:
|
|
158
|
+
firstName: await input({ message: "What's your first name?" }),
|
|
159
159
|
allowEmail: await confirm({ message: 'Do you allow us to send you email?' }),
|
|
160
160
|
};
|
|
161
161
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/prompts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
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.mts",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"clean": "rm -rf dist",
|
|
60
60
|
"tsc:esm": "tsc -p ./tsconfig.esm.json",
|
|
61
61
|
"tsc:cjs": "tsc -p ./tsconfig.cjs.json && yarn run fix-ext",
|
|
62
|
-
"fix-ext": "ts-node ../../tools/rename-ext.mts"
|
|
62
|
+
"fix-ext": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ../../tools/rename-ext.mts"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=14.18.0"
|
|
@@ -77,14 +77,15 @@
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@inquirer/checkbox": "^1.0.
|
|
81
|
-
"@inquirer/confirm": "^1.0.
|
|
82
|
-
"@inquirer/editor": "^1.0.
|
|
83
|
-
"@inquirer/expand": "^1.0.
|
|
84
|
-
"@inquirer/input": "^1.0.
|
|
85
|
-
"@inquirer/password": "^1.0.
|
|
86
|
-
"@inquirer/rawlist": "^1.0.
|
|
87
|
-
"@inquirer/select": "^1.0.
|
|
80
|
+
"@inquirer/checkbox": "^1.0.2",
|
|
81
|
+
"@inquirer/confirm": "^1.0.2",
|
|
82
|
+
"@inquirer/editor": "^1.0.2",
|
|
83
|
+
"@inquirer/expand": "^1.0.2",
|
|
84
|
+
"@inquirer/input": "^1.0.2",
|
|
85
|
+
"@inquirer/password": "^1.0.2",
|
|
86
|
+
"@inquirer/rawlist": "^1.0.2",
|
|
87
|
+
"@inquirer/select": "^1.0.2"
|
|
88
88
|
},
|
|
89
|
-
"
|
|
89
|
+
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/prompts/README.md",
|
|
90
|
+
"gitHead": "865c589ffbc4a66f328dc4e64a08646200c755f3"
|
|
90
91
|
}
|