@inquirer/prompts
Advanced tools
Comparing version 6.0.1 to 7.0.0
{ | ||
"name": "@inquirer/prompts", | ||
"version": "6.0.1", | ||
"version": "7.0.0", | ||
"description": "Inquirer prompts, combined in a single package", | ||
"main": "./dist/cjs/index.js", | ||
"typings": "./dist/cjs/types/index.d.ts", | ||
"files": [ | ||
"dist/**/*" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/SBoudrias/Inquirer.js.git" | ||
}, | ||
"keywords": [ | ||
@@ -55,43 +46,65 @@ "answer", | ||
], | ||
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/prompts/README.md", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/SBoudrias/Inquirer.js.git" | ||
}, | ||
"license": "MIT", | ||
"author": "Simon Boudrias <admin@simonboudrias.com>", | ||
"license": "MIT", | ||
"scripts": { | ||
"tsc": "yarn run tsc:esm && yarn run tsc:cjs", | ||
"tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json", | ||
"tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs", | ||
"attw": "attw --pack" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"types": "./dist/esm/types/index.d.mts", | ||
"default": "./dist/esm/index.mjs" | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/types/index.d.ts", | ||
"default": "./dist/cjs/index.js" | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.js" | ||
} | ||
} | ||
}, | ||
"main": "./dist/commonjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "./dist/commonjs/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"attw": "attw --pack", | ||
"tsc": "tshy" | ||
}, | ||
"dependencies": { | ||
"@inquirer/checkbox": "^3.0.1", | ||
"@inquirer/confirm": "^4.0.1", | ||
"@inquirer/editor": "^3.0.1", | ||
"@inquirer/expand": "^3.0.1", | ||
"@inquirer/input": "^3.0.1", | ||
"@inquirer/number": "^2.0.1", | ||
"@inquirer/password": "^3.0.1", | ||
"@inquirer/rawlist": "^3.0.1", | ||
"@inquirer/search": "^2.0.1", | ||
"@inquirer/select": "^3.0.1" | ||
"@inquirer/checkbox": "^4.0.0", | ||
"@inquirer/confirm": "^5.0.0", | ||
"@inquirer/editor": "^4.0.0", | ||
"@inquirer/expand": "^4.0.0", | ||
"@inquirer/input": "^4.0.0", | ||
"@inquirer/number": "^3.0.0", | ||
"@inquirer/password": "^4.0.0", | ||
"@inquirer/rawlist": "^4.0.0", | ||
"@inquirer/search": "^3.0.0", | ||
"@inquirer/select": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@inquirer/type": "^2.0.0" | ||
"@arethetypeswrong/cli": "^0.16.4", | ||
"@inquirer/type": "^3.0.0", | ||
"@repo/tsconfig": "workspace:*", | ||
"tshy": "^3.0.2" | ||
}, | ||
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/prompts/README.md", | ||
"sideEffects": false, | ||
"gitHead": "9e29035c2efc78f44aed3c7732aee46ab1d64ca2" | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"tshy": { | ||
"exclude": [ | ||
"src/**/*.test.ts" | ||
], | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": "./src/index.ts" | ||
} | ||
}, | ||
"gitHead": "483189975eb5ea7d214c265a5ce108544c2bf1a5" | ||
} |
@@ -298,2 +298,18 @@ <img width="75px" height="75px" align="right" alt="Inquirer Logo" src="https://raw.githubusercontent.com/SBoudrias/Inquirer.js/main/assets/inquirer_readme.svg?sanitize=true" title="Inquirer.js"/> | ||
## Using with nodemon | ||
When using inquirer prompts with nodemon, you need to pass the `--no-stdin` flag for everything to work as expected. | ||
```sh | ||
npx nodemon ./packages/demo/demos/password.mjs --no-stdin | ||
``` | ||
Note that for most of you, you'll be able to use the new watch-mode built-in Node. This mode works out of the box with inquirer. | ||
```sh | ||
# One of depending on your need | ||
node --watch script.js | ||
node --watch-path=packages/ packages/demo/ | ||
``` | ||
## Wait for config | ||
@@ -300,0 +316,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21542
9
57
419
Yes
4
1
+ Added@inquirer/checkbox@4.0.0(transitive)
+ Added@inquirer/confirm@5.0.0(transitive)
+ Added@inquirer/core@10.0.0(transitive)
+ Added@inquirer/editor@4.0.0(transitive)
+ Added@inquirer/expand@4.0.0(transitive)
+ Added@inquirer/input@4.0.0(transitive)
+ Added@inquirer/number@3.0.0(transitive)
+ Added@inquirer/password@4.0.0(transitive)
+ Added@inquirer/rawlist@4.0.0(transitive)
+ Added@inquirer/search@3.0.0(transitive)
+ Added@inquirer/select@4.0.0(transitive)
+ Added@inquirer/type@3.0.0(transitive)
+ Added@types/node@22.7.7(transitive)
+ Addedmute-stream@2.0.0(transitive)
- Removed@inquirer/checkbox@3.0.1(transitive)
- Removed@inquirer/confirm@4.0.1(transitive)
- Removed@inquirer/core@9.2.1(transitive)
- Removed@inquirer/editor@3.0.1(transitive)
- Removed@inquirer/expand@3.0.1(transitive)
- Removed@inquirer/input@3.0.1(transitive)
- Removed@inquirer/number@2.0.1(transitive)
- Removed@inquirer/password@3.0.1(transitive)
- Removed@inquirer/rawlist@3.0.1(transitive)
- Removed@inquirer/search@2.0.1(transitive)
- Removed@inquirer/select@3.0.1(transitive)
- Removed@inquirer/type@2.0.0(transitive)
- Removed@types/mute-stream@0.0.4(transitive)
- Removed@types/node@22.7.8(transitive)
- Removed@types/wrap-ansi@3.0.0(transitive)
- Removedmute-stream@1.0.0(transitive)
Updated@inquirer/checkbox@^4.0.0
Updated@inquirer/confirm@^5.0.0
Updated@inquirer/editor@^4.0.0
Updated@inquirer/expand@^4.0.0
Updated@inquirer/input@^4.0.0
Updated@inquirer/number@^3.0.0
Updated@inquirer/password@^4.0.0
Updated@inquirer/rawlist@^4.0.0
Updated@inquirer/search@^3.0.0
Updated@inquirer/select@^4.0.0