mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
⬆️ Set inquirer@7.0.0 on node-dev
This commit is contained in:
parent
cd75c63f83
commit
88e70e9f91
|
@ -25,7 +25,7 @@ export class New extends Command {
|
|||
this.log('=========================');
|
||||
|
||||
// Ask for the type of not to be created
|
||||
const typeQuestion: inquirer.Question = {
|
||||
const typeQuestion: inquirer.QuestionCollection = {
|
||||
name: 'type',
|
||||
type: 'list',
|
||||
default: 'Node',
|
||||
|
@ -49,7 +49,7 @@ export class New extends Command {
|
|||
|
||||
getDescription = true;
|
||||
|
||||
const nodeTypeQuestion: inquirer.Question = {
|
||||
const nodeTypeQuestion: inquirer.QuestionCollection = {
|
||||
name: 'nodeType',
|
||||
type: 'list',
|
||||
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;
|
||||
|
||||
|
@ -117,7 +117,7 @@ export class New extends Command {
|
|||
await fsAccess(destinationFilePath);
|
||||
|
||||
// File does already exist. So ask if it should be overwritten.
|
||||
const overwriteQuestion: inquirer.Questions = [
|
||||
const overwriteQuestion: inquirer.QuestionCollection = [
|
||||
{
|
||||
name: 'overwrite',
|
||||
type: 'confirm',
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/inquirer": "^6.0.3",
|
||||
"@types/inquirer": "^6.5.0",
|
||||
"@types/node": "^10.10.1",
|
||||
"@types/vorpal": "^1.11.0",
|
||||
"tslint": "^5.17.0"
|
||||
|
@ -47,7 +47,7 @@
|
|||
"@oclif/command": "^1.5.18",
|
||||
"@oclif/errors": "^1.2.2",
|
||||
"change-case": "^3.1.0",
|
||||
"inquirer": "^6.3.1",
|
||||
"inquirer": "^7.0.0",
|
||||
"n8n-core": "^0.2.0",
|
||||
"n8n-workflow": "^0.3.0",
|
||||
"replace-in-file": "^4.1.0",
|
||||
|
|
Loading…
Reference in a new issue