cli: fix nfs plugin template id -> pluginId

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-08-25 16:34:53 +02:00
parent 275bda809e
commit 080f25215f
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,