Merge pull request #30982 from backstage/rugvip/conflict

cli: fix nfs plugin template id -> pluginId
This commit is contained in:
Fredrik Adelöw
2025-08-25 17:03:34 +02:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fixed the `new-frontend-plugin` template that was incorrectly passing `id` instead of `pluginId` to `createFrontendPlugin` and unnecessarily importing `React`.
@@ -1,4 +1,3 @@
import React from 'react';
import {
createFrontendPlugin,
PageBlueprint,
@@ -18,7 +17,7 @@ export const page = PageBlueprint.make({
});
export const {{ pluginVar }} = createFrontendPlugin({
id: '{{pluginId}}',
pluginId: '{{pluginId}}',
extensions: [page],
routes: {
root: rootRouteRef,