cli: fix nfs plugin template id -> pluginId
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user