diff --git a/package.json b/package.json index 55aba7a6..63d57de0 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@adobe/aio-lib-runtime": "^6", "@adobe/aio-lib-templates": "^3", "@adobe/aio-lib-web": "^7", - "@adobe/generator-aio-app": "^8", + "@adobe/generator-aio-app": "^7", "@adobe/generator-app-common-lib": "^2", "@adobe/inquirer-table-checkbox": "^2", "@oclif/core": "^2.11.6", diff --git a/src/commands/app/init.js b/src/commands/app/init.js index 7550a73f..25512c50 100644 --- a/src/commands/app/init.js +++ b/src/commands/app/init.js @@ -75,7 +75,7 @@ class InitCommand extends TemplatesCommand { getInitialGenerators (flags) { // TODO read from config to override - const initialGenerators = ['base-app', 'add-ci', 'add-vscode-config'] + const initialGenerators = ['base-app', 'add-ci'] if (flags['standalone-app']) { initialGenerators.push('application') diff --git a/test/commands/app/init.test.js b/test/commands/app/init.test.js index 8434c132..ccc3a38d 100644 --- a/test/commands/app/init.test.js +++ b/test/commands/app/init.test.js @@ -314,7 +314,7 @@ describe('--no-login', () => { await command.run() expect(command.installTemplates).toHaveBeenCalledWith(installOptions) - expect(command.runCodeGenerators).toHaveBeenCalledWith(['base-app', 'add-ci', 'add-vscode-config', 'application'], false, 'cwd', 'basic') + expect(command.runCodeGenerators).toHaveBeenCalledWith(['base-app', 'add-ci', 'application'], false, 'cwd', 'basic') expect(LibConsoleCLI.init).not.toHaveBeenCalled() expect(importHelperLib.importConfigJson).not.toHaveBeenCalled() }) @@ -464,7 +464,7 @@ describe('--no-login', () => { await command.run() expect(command.installTemplates).toHaveBeenCalledWith(installOptions) - expect(command.runCodeGenerators).toHaveBeenCalledWith(['base-app', 'add-ci', 'add-vscode-config', 'application'], true, 'cwd', 'none') + expect(command.runCodeGenerators).toHaveBeenCalledWith(['base-app', 'add-ci', 'application'], true, 'cwd', 'none') expect(LibConsoleCLI.init).not.toHaveBeenCalled() expect(importHelperLib.importConfigJson).not.toHaveBeenCalled() }) @@ -482,7 +482,7 @@ describe('--no-login', () => { await command.run() expect(command.installTemplates).toHaveBeenCalledWith(installOptions) - expect(command.runCodeGenerators).toHaveBeenCalledWith(['base-app', 'add-ci', 'add-vscode-config', 'application'], true, 'cwd', 'adobe-recommended') + expect(command.runCodeGenerators).toHaveBeenCalledWith(['base-app', 'add-ci', 'application'], true, 'cwd', 'adobe-recommended') expect(LibConsoleCLI.init).not.toHaveBeenCalled() expect(importHelperLib.importConfigJson).not.toHaveBeenCalled() })