⬆️ Set inquirer@7.0.0 on node-dev

This commit is contained in:
Jan Oberhauser 2019-08-28 11:11:24 +02:00
parent cd75c63f83
commit 88e70e9f91
2 changed files with 6 additions and 6 deletions

View file

@ -25,7 +25,7 @@ export class New extends Command {
this.log('========================='); this.log('=========================');
// Ask for the type of not to be created // Ask for the type of not to be created
const typeQuestion: inquirer.Question = { const typeQuestion: inquirer.QuestionCollection = {
name: 'type', name: 'type',
type: 'list', type: 'list',
default: 'Node', default: 'Node',
@ -49,7 +49,7 @@ export class New extends Command {
getDescription = true; getDescription = true;
const nodeTypeQuestion: inquirer.Question = { const nodeTypeQuestion: inquirer.QuestionCollection = {
name: 'nodeType', name: 'nodeType',
type: 'list', type: 'list',
default: 'Execute', default: 'Execute',
@ -101,7 +101,7 @@ export class New extends Command {
}); });
} }
const additionalAnswers = await inquirer.prompt(additionalQuestions as inquirer.Questions); const additionalAnswers = await inquirer.prompt(additionalQuestions as inquirer.QuestionCollection);
const nodeName = additionalAnswers.name; const nodeName = additionalAnswers.name;
@ -117,7 +117,7 @@ export class New extends Command {
await fsAccess(destinationFilePath); await fsAccess(destinationFilePath);
// File does already exist. So ask if it should be overwritten. // File does already exist. So ask if it should be overwritten.
const overwriteQuestion: inquirer.Questions = [ const overwriteQuestion: inquirer.QuestionCollection = [
{ {
name: 'overwrite', name: 'overwrite',
type: 'confirm', type: 'confirm',

View file

@ -38,7 +38,7 @@
"dist" "dist"
], ],
"devDependencies": { "devDependencies": {
"@types/inquirer": "^6.0.3", "@types/inquirer": "^6.5.0",
"@types/node": "^10.10.1", "@types/node": "^10.10.1",
"@types/vorpal": "^1.11.0", "@types/vorpal": "^1.11.0",
"tslint": "^5.17.0" "tslint": "^5.17.0"
@ -47,7 +47,7 @@
"@oclif/command": "^1.5.18", "@oclif/command": "^1.5.18",
"@oclif/errors": "^1.2.2", "@oclif/errors": "^1.2.2",
"change-case": "^3.1.0", "change-case": "^3.1.0",
"inquirer": "^6.3.1", "inquirer": "^7.0.0",
"n8n-core": "^0.2.0", "n8n-core": "^0.2.0",
"n8n-workflow": "^0.3.0", "n8n-workflow": "^0.3.0",
"replace-in-file": "^4.1.0", "replace-in-file": "^4.1.0",