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
+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) {