@backstage/plugin-catalog 2.0.5-next.1 → 2.0.5
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 +27 -0
- package/dist/alpha/plugin.esm.js +0 -2
- package/dist/alpha/plugin.esm.js.map +1 -1
- package/dist/alpha.d.ts +0 -21
- package/dist/package.json.esm.js +1 -1
- package/package.json +26 -26
- package/dist/alpha/navItems.esm.js +0 -15
- package/dist/alpha/navItems.esm.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @backstage/plugin-catalog
|
|
2
2
|
|
|
3
|
+
## 2.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 728629c: Fixed an issue where navigating to an unknown sub-path on an entity page (for example `/catalog/default/component/foo/blob`) would silently render the first available route. Unknown paths now show the standard not-found page instead.
|
|
8
|
+
- 44d77e9: Removed separate nav item extensions. Sidebar entries are now provided via `title` and `icon` on each plugin's page extension.
|
|
9
|
+
- 0c5e41f: Removed unused dependencies that had no imports in source code.
|
|
10
|
+
- cad156e: Replaced old config schema values from existing extensions and blueprints.
|
|
11
|
+
- 085133f: The `zod` dependency has been bumped from `^3.25.76 || ^4.0.0` to `^4.0.0`, since `configSchema` requires the full Zod v4 package for JSON Schema support.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
- @backstage/catalog-model@1.9.0
|
|
14
|
+
- @backstage/core-components@0.18.10
|
|
15
|
+
- @backstage/ui@0.15.0
|
|
16
|
+
- @backstage/errors@1.3.1
|
|
17
|
+
- @backstage/frontend-plugin-api@0.17.0
|
|
18
|
+
- @backstage/core-plugin-api@1.12.6
|
|
19
|
+
- @backstage/plugin-catalog-react@3.0.0
|
|
20
|
+
- @backstage/core-compat-api@0.5.11
|
|
21
|
+
- @backstage/plugin-techdocs-react@1.3.11
|
|
22
|
+
- @backstage/plugin-search-react@1.11.4
|
|
23
|
+
- @backstage/plugin-scaffolder-common@2.2.0
|
|
24
|
+
- @backstage/catalog-client@1.15.1
|
|
25
|
+
- @backstage/integration-react@1.2.18
|
|
26
|
+
- @backstage/plugin-catalog-common@1.1.10
|
|
27
|
+
- @backstage/plugin-permission-react@0.5.1
|
|
28
|
+
- @backstage/plugin-search-common@1.2.24
|
|
29
|
+
|
|
3
30
|
## 2.0.5-next.1
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/dist/alpha/plugin.esm.js
CHANGED
|
@@ -6,7 +6,6 @@ import { unregisterRedirectRouteRef, createFromTemplateRouteRef, createComponent
|
|
|
6
6
|
import apis from './apis.esm.js';
|
|
7
7
|
import pages from './pages.esm.js';
|
|
8
8
|
import filters from './filters.esm.js';
|
|
9
|
-
import navItems from './navItems.esm.js';
|
|
10
9
|
import entityCards from './entityCards.esm.js';
|
|
11
10
|
import entityContents from './entityContents.esm.js';
|
|
12
11
|
import entityIconLinks from './entityIconLinks.esm.js';
|
|
@@ -34,7 +33,6 @@ var plugin = createFrontendPlugin({
|
|
|
34
33
|
...apis,
|
|
35
34
|
...pages,
|
|
36
35
|
...filters,
|
|
37
|
-
...navItems,
|
|
38
36
|
...entityCards,
|
|
39
37
|
...entityContents,
|
|
40
38
|
...entityIconLinks,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/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 { createFrontendPlugin } from '@backstage/frontend-plugin-api';\nimport { entityRouteRef } from '@backstage/plugin-catalog-react';\nimport CategoryIcon from '@material-ui/icons/Category';\n\nimport {\n createComponentRouteRef,\n createFromTemplateRouteRef,\n rootRouteRef,\n unregisterRedirectRouteRef,\n viewTechDocRouteRef,\n} from '../routes';\n\nimport apis from './apis';\nimport pages from './pages';\nimport filters from './filters';\nimport
|
|
1
|
+
{"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/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 { createFrontendPlugin } from '@backstage/frontend-plugin-api';\nimport { entityRouteRef } from '@backstage/plugin-catalog-react';\nimport CategoryIcon from '@material-ui/icons/Category';\n\nimport {\n createComponentRouteRef,\n createFromTemplateRouteRef,\n rootRouteRef,\n unregisterRedirectRouteRef,\n viewTechDocRouteRef,\n} from '../routes';\n\nimport apis from './apis';\nimport pages from './pages';\nimport filters from './filters';\nimport entityCards from './entityCards';\nimport entityContents from './entityContents';\nimport entityIconLinks from './entityIconLinks';\nimport searchResultItems from './searchResultItems';\nimport contextMenuItems from './contextMenuItems';\n\n/** @alpha */\nexport default createFrontendPlugin({\n pluginId: 'catalog',\n title: 'Catalog',\n icon: <CategoryIcon fontSize=\"inherit\" />,\n info: {\n packageJson: () => import('../../package.json'),\n },\n routes: {\n catalogIndex: rootRouteRef,\n catalogEntity: entityRouteRef,\n },\n externalRoutes: {\n viewTechDoc: viewTechDocRouteRef,\n createComponent: createComponentRouteRef,\n createFromTemplate: createFromTemplateRouteRef,\n unregisterRedirect: unregisterRedirectRouteRef,\n },\n extensions: [\n ...apis,\n ...pages,\n ...filters,\n ...entityCards,\n ...entityContents,\n ...entityIconLinks,\n ...contextMenuItems,\n ...searchResultItems,\n ],\n});\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAsCA,aAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,SAAA;AAAA,EACV,KAAA,EAAO,SAAA;AAAA,EACP,IAAA,kBAAM,GAAA,CAAC,YAAA,EAAA,EAAa,QAAA,EAAS,SAAA,EAAU,CAAA;AAAA,EACvC,IAAA,EAAM;AAAA,IACJ,WAAA,EAAa,MAAM,OAAO,wBAAoB;AAAA,GAChD;AAAA,EACA,MAAA,EAAQ;AAAA,IACN,YAAA,EAAc,YAAA;AAAA,IACd,aAAA,EAAe;AAAA,GACjB;AAAA,EACA,cAAA,EAAgB;AAAA,IACd,WAAA,EAAa,mBAAA;AAAA,IACb,eAAA,EAAiB,uBAAA;AAAA,IACjB,kBAAA,EAAoB,0BAAA;AAAA,IACpB,kBAAA,EAAoB;AAAA,GACtB;AAAA,EACA,UAAA,EAAY;AAAA,IACV,GAAG,IAAA;AAAA,IACH,GAAG,KAAA;AAAA,IACH,GAAG,OAAA;AAAA,IACH,GAAG,WAAA;AAAA,IACH,GAAG,cAAA;AAAA,IACH,GAAG,eAAA;AAAA,IACH,GAAG,gBAAA;AAAA,IACH,GAAG;AAAA;AAEP,CAAC,CAAA;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -550,27 +550,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
550
550
|
filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
551
551
|
};
|
|
552
552
|
}>;
|
|
553
|
-
"nav-item:catalog": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
554
|
-
kind: "nav-item";
|
|
555
|
-
name: undefined;
|
|
556
|
-
config: {
|
|
557
|
-
title: string | undefined;
|
|
558
|
-
};
|
|
559
|
-
configInput: {
|
|
560
|
-
title?: string | undefined;
|
|
561
|
-
};
|
|
562
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
563
|
-
title: string;
|
|
564
|
-
icon: _backstage_frontend_plugin_api.IconComponent;
|
|
565
|
-
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
566
|
-
}, "core.nav-item.target", {}>;
|
|
567
|
-
inputs: {};
|
|
568
|
-
params: {
|
|
569
|
-
title: string;
|
|
570
|
-
icon: _backstage_frontend_plugin_api.IconComponent;
|
|
571
|
-
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
572
|
-
};
|
|
573
|
-
}>;
|
|
574
553
|
"page:catalog": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
575
554
|
config: {
|
|
576
555
|
pagination: boolean | {
|
package/dist/package.json.esm.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog",
|
|
3
|
-
"version": "2.0.5
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "The Backstage plugin for browsing the Backstage catalog",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -70,25 +70,25 @@
|
|
|
70
70
|
"test": "backstage-cli package test"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@backstage/catalog-client": "1.15.1
|
|
74
|
-
"@backstage/catalog-model": "1.
|
|
75
|
-
"@backstage/core-compat-api": "0.5.11
|
|
76
|
-
"@backstage/core-components": "0.18.10
|
|
77
|
-
"@backstage/core-plugin-api": "1.12.6
|
|
78
|
-
"@backstage/errors": "1.3.1
|
|
79
|
-
"@backstage/frontend-plugin-api": "0.17.0
|
|
80
|
-
"@backstage/integration-react": "1.2.18
|
|
81
|
-
"@backstage/plugin-catalog-common": "1.1.10
|
|
82
|
-
"@backstage/plugin-catalog-react": "
|
|
83
|
-
"@backstage/plugin-permission-react": "0.5.1
|
|
84
|
-
"@backstage/plugin-scaffolder-common": "2.2.0
|
|
85
|
-
"@backstage/plugin-search-common": "1.2.24
|
|
86
|
-
"@backstage/plugin-search-react": "1.11.4
|
|
87
|
-
"@backstage/plugin-techdocs-common": "0.1.1",
|
|
88
|
-
"@backstage/plugin-techdocs-react": "1.3.11
|
|
89
|
-
"@backstage/types": "1.2.2",
|
|
90
|
-
"@backstage/ui": "0.15.0
|
|
91
|
-
"@backstage/version-bridge": "1.0.12",
|
|
73
|
+
"@backstage/catalog-client": "^1.15.1",
|
|
74
|
+
"@backstage/catalog-model": "^1.9.0",
|
|
75
|
+
"@backstage/core-compat-api": "^0.5.11",
|
|
76
|
+
"@backstage/core-components": "^0.18.10",
|
|
77
|
+
"@backstage/core-plugin-api": "^1.12.6",
|
|
78
|
+
"@backstage/errors": "^1.3.1",
|
|
79
|
+
"@backstage/frontend-plugin-api": "^0.17.0",
|
|
80
|
+
"@backstage/integration-react": "^1.2.18",
|
|
81
|
+
"@backstage/plugin-catalog-common": "^1.1.10",
|
|
82
|
+
"@backstage/plugin-catalog-react": "^3.0.0",
|
|
83
|
+
"@backstage/plugin-permission-react": "^0.5.1",
|
|
84
|
+
"@backstage/plugin-scaffolder-common": "^2.2.0",
|
|
85
|
+
"@backstage/plugin-search-common": "^1.2.24",
|
|
86
|
+
"@backstage/plugin-search-react": "^1.11.4",
|
|
87
|
+
"@backstage/plugin-techdocs-common": "^0.1.1",
|
|
88
|
+
"@backstage/plugin-techdocs-react": "^1.3.11",
|
|
89
|
+
"@backstage/types": "^1.2.2",
|
|
90
|
+
"@backstage/ui": "^0.15.0",
|
|
91
|
+
"@backstage/version-bridge": "^1.0.12",
|
|
92
92
|
"@material-ui/core": "^4.12.2",
|
|
93
93
|
"@material-ui/icons": "^4.9.1",
|
|
94
94
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
"zod": "^4.0.0"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
|
-
"@backstage/cli": "0.36.2
|
|
107
|
-
"@backstage/core-app-api": "1.20.1
|
|
108
|
-
"@backstage/dev-utils": "1.1.23
|
|
109
|
-
"@backstage/frontend-test-utils": "0.
|
|
110
|
-
"@backstage/plugin-permission-common": "0.9.9
|
|
111
|
-
"@backstage/test-utils": "1.7.18
|
|
106
|
+
"@backstage/cli": "^0.36.2",
|
|
107
|
+
"@backstage/core-app-api": "^1.20.1",
|
|
108
|
+
"@backstage/dev-utils": "^1.1.23",
|
|
109
|
+
"@backstage/frontend-test-utils": "^0.6.0",
|
|
110
|
+
"@backstage/plugin-permission-common": "^0.9.9",
|
|
111
|
+
"@backstage/test-utils": "^1.7.18",
|
|
112
112
|
"@testing-library/dom": "^10.0.0",
|
|
113
113
|
"@testing-library/jest-dom": "^6.0.0",
|
|
114
114
|
"@testing-library/react": "^16.0.0",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import HomeIcon from '@material-ui/icons/Home';
|
|
2
|
-
import { NavItemBlueprint } from '@backstage/frontend-plugin-api';
|
|
3
|
-
import { rootRouteRef } from '../routes.esm.js';
|
|
4
|
-
|
|
5
|
-
const catalogNavItem = NavItemBlueprint.make({
|
|
6
|
-
params: {
|
|
7
|
-
routeRef: rootRouteRef,
|
|
8
|
-
title: "Catalog",
|
|
9
|
-
icon: HomeIcon
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var navItems = [catalogNavItem];
|
|
13
|
-
|
|
14
|
-
export { catalogNavItem, navItems as default };
|
|
15
|
-
//# sourceMappingURL=navItems.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navItems.esm.js","sources":["../../src/alpha/navItems.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 HomeIcon from '@material-ui/icons/Home';\nimport { NavItemBlueprint } from '@backstage/frontend-plugin-api';\nimport { rootRouteRef } from '../routes';\n\nexport const catalogNavItem = NavItemBlueprint.make({\n params: {\n routeRef: rootRouteRef,\n title: 'Catalog',\n icon: HomeIcon,\n },\n});\n\nexport default [catalogNavItem];\n"],"names":[],"mappings":";;;;AAoBO,MAAM,cAAA,GAAiB,iBAAiB,IAAA,CAAK;AAAA,EAClD,MAAA,EAAQ;AAAA,IACN,QAAA,EAAU,YAAA;AAAA,IACV,KAAA,EAAO,SAAA;AAAA,IACP,IAAA,EAAM;AAAA;AAEV,CAAC;AAED,eAAe,CAAC,cAAc,CAAA;;;;"}
|