create-app: Fix E2E test for new default template

Add @backstage/cli-module-new to the version map so that the
next-app template can resolve it during templating, and update
the E2E test to build the dist workspace from the next-app
template since it is now the default.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-17 16:45:11 +01:00
parent 4568618cf1
commit 219490cd92
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -39,6 +39,7 @@ import { version as catalogClient } from '../../../catalog-client/package.json';
import { version as catalogModel } from '../../../catalog-model/package.json';
import { version as cli } from '../../../cli/package.json';
import { version as cliDefaults } from '../../../cli-defaults/package.json';
import { version as cliModuleNew } from '../../../cli-module-new/package.json';
import { version as config } from '../../../config/package.json';
import { version as coreAppApi } from '../../../core-app-api/package.json';
import { version as coreCompatApi } from '../../../core-compat-api/package.json';
@@ -109,6 +110,7 @@ export const packageVersions = {
'@backstage/catalog-model': catalogModel,
'@backstage/cli': cli,
'@backstage/cli-defaults': cliDefaults,
'@backstage/cli-module-new': cliModuleNew,
'@backstage/config': config,
'@backstage/core-app-api': coreAppApi,
'@backstage/core-compat-api': coreCompatApi,
+3 -3
View File
@@ -35,9 +35,9 @@ const ownPaths = findOwnPaths(__dirname);
const templatePackagePaths = [
'packages/cli-module-new/templates/frontend-plugin/package.json.hbs',
'packages/create-app/templates/default-app/package.json.hbs',
'packages/create-app/templates/default-app/packages/app/package.json.hbs',
'packages/create-app/templates/default-app/packages/backend/package.json.hbs',
'packages/create-app/templates/next-app/package.json.hbs',
'packages/create-app/templates/next-app/packages/app/package.json.hbs',
'packages/create-app/templates/next-app/packages/backend/package.json.hbs',
];
export async function runCommand(opts: OptionValues) {