renamed package as module
Co-authored-by: Otto Sichert <git@ottosichert.de> Signed-off-by: Anders Näsman <andersn@spotify.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs-addons-contrib': minor
|
||||
'@backstage/plugin-techdocs-module-addons-contrib': minor
|
||||
---
|
||||
|
||||
A package for contributed TechDocs addons.
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
"@backstage/plugin-tech-radar": "^0.5.11",
|
||||
"@backstage/plugin-techdocs": "^1.1.0",
|
||||
"@backstage/plugin-techdocs-react": "^0.1.0",
|
||||
"@backstage/plugin-techdocs-addons-contrib": "^0.0.0",
|
||||
"@backstage/plugin-techdocs-module-addons-contrib": "^0.0.0",
|
||||
"@backstage/plugin-todo": "^0.2.6",
|
||||
"@backstage/plugin-user-settings": "^0.4.3",
|
||||
"@backstage/plugin-tech-insights": "^0.2.0",
|
||||
|
||||
@@ -70,7 +70,7 @@ import {
|
||||
techdocsPlugin,
|
||||
} from '@backstage/plugin-techdocs';
|
||||
import { TechDocsAddons } from '@backstage/plugin-techdocs-react';
|
||||
import { ReportIssue } from '@backstage/plugin-techdocs-addons-contrib';
|
||||
import { ReportIssue } from '@backstage/plugin-techdocs-module-addons-contrib';
|
||||
import {
|
||||
UserSettingsPage,
|
||||
UserSettingsTab,
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"@backstage/plugin-catalog": "^1.1.0",
|
||||
"@backstage/plugin-techdocs": "^1.1.0",
|
||||
"@backstage/plugin-techdocs-react": "^0.1.0",
|
||||
"@backstage/plugin-techdocs-addons-contrib": "^0.0.0",
|
||||
"@backstage/plugin-techdocs-module-addons-contrib": "^0.0.0",
|
||||
"@backstage/test-utils": "^1.0.1",
|
||||
"@backstage/theme": "^0.2.15",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-techdocs-addons-contrib",
|
||||
"description": "Plugin for contributed TechDocs Addons",
|
||||
"name": "@backstage/plugin-techdocs-module-addons-contrib",
|
||||
"description": "Plugin module for contributed TechDocs Addons",
|
||||
"version": "0.0.0",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
@@ -12,7 +12,7 @@
|
||||
"types": "dist/index.d.ts"
|
||||
},
|
||||
"backstage": {
|
||||
"role": "frontend-plugin"
|
||||
"role": "frontend-plugin-module"
|
||||
},
|
||||
"homepage": "https://backstage.io",
|
||||
"repository": {
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export { techdocsAddonsContribPlugin, ReportIssue } from './plugin';
|
||||
export { techdocsModuleAddonsContribPlugin, ReportIssue } from './plugin';
|
||||
export type {
|
||||
ReportIssueProps,
|
||||
ReportIssueTemplate,
|
||||
+2
-2
@@ -13,10 +13,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { techdocsAddonsContribPlugin } from './plugin';
|
||||
import { techdocsModuleAddonsContribPlugin } from './plugin';
|
||||
|
||||
describe('techdocs-addons-contrib', () => {
|
||||
it('should export plugin', () => {
|
||||
expect(techdocsAddonsContribPlugin).toBeDefined();
|
||||
expect(techdocsModuleAddonsContribPlugin).toBeDefined();
|
||||
});
|
||||
});
|
||||
+3
-3
@@ -27,8 +27,8 @@ import { ReportIssueAddon, ReportIssueProps } from './ReportIssue';
|
||||
* @public
|
||||
*/
|
||||
|
||||
export const techdocsAddonsContribPlugin = createPlugin({
|
||||
id: 'techdocsAddonsContrib',
|
||||
export const techdocsModuleAddonsContribPlugin = createPlugin({
|
||||
id: 'techdocsModuleAddonsContrib',
|
||||
});
|
||||
|
||||
/**
|
||||
@@ -37,7 +37,7 @@ export const techdocsAddonsContribPlugin = createPlugin({
|
||||
* @public
|
||||
*/
|
||||
|
||||
export const ReportIssue = techdocsAddonsContribPlugin.provide(
|
||||
export const ReportIssue = techdocsModuleAddonsContribPlugin.provide(
|
||||
createTechDocsAddonExtension<ReportIssueProps>({
|
||||
name: 'ReportIssue',
|
||||
location: TechDocsAddonLocations.Content,
|
||||
Reference in New Issue
Block a user