fix(cli): missed inquirer dependency

This commit is contained in:
LongYinan 2021-09-02 23:23:17 +08:00
parent 0fe4fe2736
commit c303f358ef
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
2 changed files with 4 additions and 2 deletions

View file

@ -31,6 +31,9 @@
"bugs": {
"url": "https://github.com/napi-rs/napi-rs/issues"
},
"dependencies": {
"inquirer": "^8.1.2"
},
"devDependencies": {
"@octokit/rest": "^18.10.0",
"@types/inquirer": "^7.3.3",
@ -39,7 +42,6 @@
"clipanion": "^3.0.1",
"debug": "^4.3.2",
"fdir": "^5.1.0",
"inquirer": "^8.1.2",
"js-yaml": "^4.1.0",
"putasset": "^5.0.3",
"toml": "^3.0.0",

View file

@ -18,7 +18,7 @@
"build:test:aarch64": "yarn --cwd ./test_module build-aarch64",
"build:test:android": "yarn --cwd ./test_module build --target aarch64-linux-android",
"build:test:armv7": "yarn --cwd ./test_module build-armv7",
"bundle": "esbuild ./cli/src/index.ts --bundle --platform=node --outdir=cli/scripts --main-fields=\"module,main,browser\" --external:iconv-lite",
"bundle": "esbuild ./cli/src/index.ts --bundle --platform=node --outdir=cli/scripts --main-fields=\"module,main,browser\" --external:inquirer --external:iconv-lite",
"format": "run-p format:md format:json format:yaml format:source format:rs",
"format:md": "prettier --parser markdown --write ./**/*.md",
"format:json": "prettier --parser json --write ./**/*.json",