diff --git a/plugins/techdocs-addons-contrib/dev/index.tsx b/plugins/techdocs-addons-contrib/dev/index.tsx deleted file mode 100644 index f220790022..0000000000 --- a/plugins/techdocs-addons-contrib/dev/index.tsx +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2022 The Backstage Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import React from 'react'; -import { createDevApp } from '@backstage/dev-utils'; -import { - techdocsAddonsContribPlugin, - TechdocsAddonsContribPage, -} from '../src/plugin'; - -createDevApp() - .registerPlugin(techdocsAddonsContribPlugin) - .addPage({ - element: , - title: 'Root Page', - path: '/techdocs-addons-contrib', - }) - .render(); diff --git a/plugins/techdocs-addons-contrib/package.json b/plugins/techdocs-addons-contrib/package.json index 7f0472dbba..28a77044ef 100644 --- a/plugins/techdocs-addons-contrib/package.json +++ b/plugins/techdocs-addons-contrib/package.json @@ -36,7 +36,7 @@ "dependencies": { "@backstage/core-components": "^0.9.3-next.1", "@backstage/core-plugin-api": "^1.0.0", - "@backstage/integration": "^1.0.0", + "@backstage/integration": "^1.1.0-next.2", "@backstage/integration-react": "^1.0.1-next.1", "@backstage/plugin-techdocs-react": "^0.1.0-next.0", "@backstage/theme": "^0.2.15", diff --git a/plugins/techdocs-addons-contrib/src/plugin.ts b/plugins/techdocs-addons-contrib/src/plugin.ts index b004300f3a..f29d6ed5dd 100644 --- a/plugins/techdocs-addons-contrib/src/plugin.ts +++ b/plugins/techdocs-addons-contrib/src/plugin.ts @@ -16,7 +16,7 @@ import { createPlugin } from '@backstage/core-plugin-api'; import { - createTechDocsAddon, + createTechDocsAddonExtension, TechDocsAddonLocations, } from '@backstage/plugin-techdocs-react'; import { ReportIssueAddon, ReportIssueProps } from './ReportIssue'; @@ -38,9 +38,9 @@ export const techdocsAddonsContribPlugin = createPlugin({ */ export const ReportIssue = techdocsAddonsContribPlugin.provide( - createTechDocsAddon({ + createTechDocsAddonExtension({ name: 'ReportIssue', - location: TechDocsAddonLocations.CONTENT, + location: TechDocsAddonLocations.Content, component: ReportIssueAddon, }), );