@backstage/plugin-app-visualizer 0.1.21 → 0.1.22-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @backstage/plugin-app-visualizer
2
2
 
3
+ ## 0.1.22-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e4ddf22: Internal update to align with new blueprint parameter naming in the new frontend system.
8
+ - Updated dependencies
9
+ - @backstage/frontend-plugin-api@0.11.0-next.1
10
+ - @backstage/core-components@0.17.5-next.1
11
+ - @backstage/core-plugin-api@1.10.9
12
+
13
+ ## 0.1.22-next.0
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+ - @backstage/frontend-plugin-api@0.11.0-next.0
19
+ - @backstage/core-components@0.17.5-next.0
20
+ - @backstage/core-plugin-api@1.10.9
21
+
3
22
  ## 0.1.21
4
23
 
5
24
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ declare const visualizerPlugin: _backstage_frontend_plugin_api.FrontendPlugin<{}
9
9
  name: undefined;
10
10
  config: {};
11
11
  configInput: {};
12
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
12
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<{
13
13
  title: string;
14
14
  icon: _backstage_core_plugin_api.IconComponent;
15
15
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
@@ -30,12 +30,13 @@ declare const visualizerPlugin: _backstage_frontend_plugin_api.FrontendPlugin<{}
30
30
  configInput: {
31
31
  path?: string | undefined;
32
32
  };
33
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
33
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
34
34
  optional: true;
35
35
  }>;
36
36
  inputs: {};
37
37
  params: {
38
- defaultPath: string;
38
+ defaultPath?: [Error: `Use the 'path' param instead`];
39
+ path: string;
39
40
  loader: () => Promise<JSX.Element>;
40
41
  routeRef?: _backstage_frontend_plugin_api.RouteRef;
41
42
  };
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-app-visualizer";
2
- var version = "0.1.21";
2
+ var version = "0.1.22-next.1";
3
3
  var description = "Visualizes the Backstage app structure";
4
4
  var backstage = {
5
5
  role: "frontend-plugin",
@@ -5,7 +5,7 @@ import VisualizerIcon from '@material-ui/icons/Visibility';
5
5
  const rootRouteRef = createRouteRef();
6
6
  const appVisualizerPage = PageBlueprint.make({
7
7
  params: {
8
- defaultPath: "/visualizer",
8
+ path: "/visualizer",
9
9
  routeRef: rootRouteRef,
10
10
  loader: () => import('./components/AppVisualizerPage/index.esm.js').then((m) => /* @__PURE__ */ jsx(m.AppVisualizerPage, {}))
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.esm.js","sources":["../src/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createFrontendPlugin,\n createRouteRef,\n NavItemBlueprint,\n PageBlueprint,\n} from '@backstage/frontend-plugin-api';\nimport VisualizerIcon from '@material-ui/icons/Visibility';\n\nconst rootRouteRef = createRouteRef();\n\nconst appVisualizerPage = PageBlueprint.make({\n params: {\n defaultPath: '/visualizer',\n routeRef: rootRouteRef,\n loader: () =>\n import('./components/AppVisualizerPage').then(m => (\n <m.AppVisualizerPage />\n )),\n },\n});\n\nexport const appVisualizerNavItem = NavItemBlueprint.make({\n params: {\n title: 'Visualizer',\n icon: VisualizerIcon,\n routeRef: rootRouteRef,\n },\n});\n\n/** @public */\nexport const visualizerPlugin = createFrontendPlugin({\n pluginId: 'app-visualizer',\n info: { packageJson: () => import('../package.json') },\n extensions: [appVisualizerPage, appVisualizerNavItem],\n});\n"],"names":[],"mappings":";;;;AAwBA,MAAM,eAAe,cAAe,EAAA;AAEpC,MAAM,iBAAA,GAAoB,cAAc,IAAK,CAAA;AAAA,EAC3C,MAAQ,EAAA;AAAA,IACN,WAAa,EAAA,aAAA;AAAA,IACb,QAAU,EAAA,YAAA;AAAA,IACV,MAAA,EAAQ,MACN,OAAO,6CAAgC,CAAA,CAAE,IAAK,CAAA,CAAA,CAAA,qBAC3C,GAAA,CAAA,CAAA,CAAE,iBAAF,EAAA,EAAoB,CACtB;AAAA;AAEP,CAAC,CAAA;AAEY,MAAA,oBAAA,GAAuB,iBAAiB,IAAK,CAAA;AAAA,EACxD,MAAQ,EAAA;AAAA,IACN,KAAO,EAAA,YAAA;AAAA,IACP,IAAM,EAAA,cAAA;AAAA,IACN,QAAU,EAAA;AAAA;AAEd,CAAC;AAGM,MAAM,mBAAmB,oBAAqB,CAAA;AAAA,EACnD,QAAU,EAAA,gBAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,uBAAiB,CAAE,EAAA;AAAA,EACrD,UAAA,EAAY,CAAC,iBAAA,EAAmB,oBAAoB;AACtD,CAAC;;;;"}
1
+ {"version":3,"file":"plugin.esm.js","sources":["../src/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createFrontendPlugin,\n createRouteRef,\n NavItemBlueprint,\n PageBlueprint,\n} from '@backstage/frontend-plugin-api';\nimport VisualizerIcon from '@material-ui/icons/Visibility';\n\nconst rootRouteRef = createRouteRef();\n\nconst appVisualizerPage = PageBlueprint.make({\n params: {\n path: '/visualizer',\n routeRef: rootRouteRef,\n loader: () =>\n import('./components/AppVisualizerPage').then(m => (\n <m.AppVisualizerPage />\n )),\n },\n});\n\nexport const appVisualizerNavItem = NavItemBlueprint.make({\n params: {\n title: 'Visualizer',\n icon: VisualizerIcon,\n routeRef: rootRouteRef,\n },\n});\n\n/** @public */\nexport const visualizerPlugin = createFrontendPlugin({\n pluginId: 'app-visualizer',\n info: { packageJson: () => import('../package.json') },\n extensions: [appVisualizerPage, appVisualizerNavItem],\n});\n"],"names":[],"mappings":";;;;AAwBA,MAAM,eAAe,cAAe,EAAA;AAEpC,MAAM,iBAAA,GAAoB,cAAc,IAAK,CAAA;AAAA,EAC3C,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,aAAA;AAAA,IACN,QAAU,EAAA,YAAA;AAAA,IACV,MAAA,EAAQ,MACN,OAAO,6CAAgC,CAAA,CAAE,IAAK,CAAA,CAAA,CAAA,qBAC3C,GAAA,CAAA,CAAA,CAAE,iBAAF,EAAA,EAAoB,CACtB;AAAA;AAEP,CAAC,CAAA;AAEY,MAAA,oBAAA,GAAuB,iBAAiB,IAAK,CAAA;AAAA,EACxD,MAAQ,EAAA;AAAA,IACN,KAAO,EAAA,YAAA;AAAA,IACP,IAAM,EAAA,cAAA;AAAA,IACN,QAAU,EAAA;AAAA;AAEd,CAAC;AAGM,MAAM,mBAAmB,oBAAqB,CAAA;AAAA,EACnD,QAAU,EAAA,gBAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,uBAAiB,CAAE,EAAA;AAAA,EACrD,UAAA,EAAY,CAAC,iBAAA,EAAmB,oBAAoB;AACtD,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-app-visualizer",
3
- "version": "0.1.21",
3
+ "version": "0.1.22-next.1",
4
4
  "description": "Visualizes the Backstage app structure",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -37,15 +37,15 @@
37
37
  "test": "backstage-cli package test"
38
38
  },
39
39
  "dependencies": {
40
- "@backstage/core-components": "^0.17.4",
41
- "@backstage/core-plugin-api": "^1.10.9",
42
- "@backstage/frontend-plugin-api": "^0.10.4",
40
+ "@backstage/core-components": "0.17.5-next.1",
41
+ "@backstage/core-plugin-api": "1.10.9",
42
+ "@backstage/frontend-plugin-api": "0.11.0-next.1",
43
43
  "@material-ui/core": "^4.12.2",
44
44
  "@material-ui/icons": "^4.9.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@backstage/cli": "^0.33.1",
48
- "@backstage/frontend-defaults": "^0.2.4",
47
+ "@backstage/cli": "0.34.0-next.1",
48
+ "@backstage/frontend-defaults": "0.3.0-next.2",
49
49
  "@types/react": "^18.0.0",
50
50
  "react": "^18.0.2",
51
51
  "react-dom": "^18.0.2",