diff --git a/packages/create-app/src/createApp.ts b/packages/create-app/src/createApp.ts index e5bf323399..8a269416a3 100644 --- a/packages/create-app/src/createApp.ts +++ b/packages/create-app/src/createApp.ts @@ -112,19 +112,10 @@ export default async (cmd: Command): Promise => { // @ts-ignore choices: ['SQLite', 'PostgreSQL'], }, - { - type: 'list', - name: 'cacheType', - message: chalk.blue('Select cache store for the backend [required]'), - // @ts-ignore - choices: ['in-memory', 'memcache'], - }, ]; const answers: Answers = await inquirer.prompt(questions); answers.dbTypePG = answers.dbType === 'PostgreSQL'; answers.dbTypeSqlite = answers.dbType === 'SQLite'; - answers.cacheTypeMemory = answers.cacheType === 'in-memory'; - answers.cacheTypeMemcache = answers.cacheType === 'memcache'; const templateDir = paths.resolveOwn('templates/default-app'); const tempDir = resolvePath(os.tmpdir(), answers.name); diff --git a/packages/create-app/templates/default-app/app-config.yaml.hbs b/packages/create-app/templates/default-app/app-config.yaml.hbs index 7a8eb8f13c..59cfd09753 100644 --- a/packages/create-app/templates/default-app/app-config.yaml.hbs +++ b/packages/create-app/templates/default-app/app-config.yaml.hbs @@ -34,15 +34,8 @@ backend: #ca: # if you have a CA file and want to verify it you can uncomment this section # $file: /ca/server.crt {{/if}} - {{#if cacheTypeMemory}} cache: store: memory - {{/if}} - {{#if cacheTypeMemcache}} - cache: - store: memcache - connection: ${MEMCACHE_USER}:${MEMCACHE_PASSWORD}@${MEMCACHE_HOST}:$MEMCACHE_PORT} - {{/if}} # workingDirectory: /tmp # Use this to configure a working directory for the scaffolder, defaults to the OS temp-dir integrations: diff --git a/packages/e2e-test/src/commands/run.ts b/packages/e2e-test/src/commands/run.ts index 885b0bbb0e..ebf4e6c835 100644 --- a/packages/e2e-test/src/commands/run.ts +++ b/packages/e2e-test/src/commands/run.ts @@ -209,9 +209,6 @@ async function createApp( } child.stdin?.write(`\n`); - await waitFor(() => stdout.includes('Select cache store for the backend')); - child.stdin?.write(`\n`); - print('Waiting for app create script to be done'); await waitForExit(child);