From 0bcb5fc5c10701eb7eca8db06679a09dda737554 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sat, 2 Aug 2025 14:24:23 +0200 Subject: [PATCH] cli/templates: frontend-plugin-module -> new-* + remove from default Signed-off-by: Patrik Oldsberg --- packages/cli/src/modules/new/lib/defaultTemplates.ts | 1 - .../.eslintrc.js.hbs | 0 .../README.md.hbs | 0 .../package.json.hbs | 0 .../portable-template.yaml | 0 .../src/index.ts.hbs | 0 .../src/plugin.ts.hbs | 0 .../src/setupTests.ts | 0 8 files changed, 1 deletion(-) rename packages/cli/templates/{frontend-plugin-module => new-frontend-plugin-module}/.eslintrc.js.hbs (100%) rename packages/cli/templates/{frontend-plugin-module => new-frontend-plugin-module}/README.md.hbs (100%) rename packages/cli/templates/{frontend-plugin-module => new-frontend-plugin-module}/package.json.hbs (100%) rename packages/cli/templates/{frontend-plugin-module => new-frontend-plugin-module}/portable-template.yaml (100%) rename packages/cli/templates/{frontend-plugin-module => new-frontend-plugin-module}/src/index.ts.hbs (100%) rename packages/cli/templates/{frontend-plugin-module => new-frontend-plugin-module}/src/plugin.ts.hbs (100%) rename packages/cli/templates/{frontend-plugin-module => new-frontend-plugin-module}/src/setupTests.ts (100%) diff --git a/packages/cli/src/modules/new/lib/defaultTemplates.ts b/packages/cli/src/modules/new/lib/defaultTemplates.ts index 2a4ff9e963..1a2f7a89d4 100644 --- a/packages/cli/src/modules/new/lib/defaultTemplates.ts +++ b/packages/cli/src/modules/new/lib/defaultTemplates.ts @@ -16,7 +16,6 @@ export const defaultTemplates = [ '@backstage/cli/templates/frontend-plugin', - '@backstage/cli/templates/frontend-plugin-module', '@backstage/cli/templates/backend-plugin', '@backstage/cli/templates/backend-plugin-module', '@backstage/cli/templates/plugin-web-library', diff --git a/packages/cli/templates/frontend-plugin-module/.eslintrc.js.hbs b/packages/cli/templates/new-frontend-plugin-module/.eslintrc.js.hbs similarity index 100% rename from packages/cli/templates/frontend-plugin-module/.eslintrc.js.hbs rename to packages/cli/templates/new-frontend-plugin-module/.eslintrc.js.hbs diff --git a/packages/cli/templates/frontend-plugin-module/README.md.hbs b/packages/cli/templates/new-frontend-plugin-module/README.md.hbs similarity index 100% rename from packages/cli/templates/frontend-plugin-module/README.md.hbs rename to packages/cli/templates/new-frontend-plugin-module/README.md.hbs diff --git a/packages/cli/templates/frontend-plugin-module/package.json.hbs b/packages/cli/templates/new-frontend-plugin-module/package.json.hbs similarity index 100% rename from packages/cli/templates/frontend-plugin-module/package.json.hbs rename to packages/cli/templates/new-frontend-plugin-module/package.json.hbs diff --git a/packages/cli/templates/frontend-plugin-module/portable-template.yaml b/packages/cli/templates/new-frontend-plugin-module/portable-template.yaml similarity index 100% rename from packages/cli/templates/frontend-plugin-module/portable-template.yaml rename to packages/cli/templates/new-frontend-plugin-module/portable-template.yaml diff --git a/packages/cli/templates/frontend-plugin-module/src/index.ts.hbs b/packages/cli/templates/new-frontend-plugin-module/src/index.ts.hbs similarity index 100% rename from packages/cli/templates/frontend-plugin-module/src/index.ts.hbs rename to packages/cli/templates/new-frontend-plugin-module/src/index.ts.hbs diff --git a/packages/cli/templates/frontend-plugin-module/src/plugin.ts.hbs b/packages/cli/templates/new-frontend-plugin-module/src/plugin.ts.hbs similarity index 100% rename from packages/cli/templates/frontend-plugin-module/src/plugin.ts.hbs rename to packages/cli/templates/new-frontend-plugin-module/src/plugin.ts.hbs diff --git a/packages/cli/templates/frontend-plugin-module/src/setupTests.ts b/packages/cli/templates/new-frontend-plugin-module/src/setupTests.ts similarity index 100% rename from packages/cli/templates/frontend-plugin-module/src/setupTests.ts rename to packages/cli/templates/new-frontend-plugin-module/src/setupTests.ts