@backstage/plugin-catalog-graph 0.4.6-next.0 → 0.4.6-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,20 @@
1
1
  # @backstage/plugin-catalog-graph
2
2
 
3
+ ## 0.4.6-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - cd6aeea: The `catalogEntity` external route will now by default bind to the catalog entity page if it is available.
8
+ - Updated dependencies
9
+ - @backstage/core-components@0.14.8-next.1
10
+ - @backstage/core-compat-api@0.2.6-next.1
11
+ - @backstage/core-plugin-api@1.9.3-next.0
12
+ - @backstage/frontend-plugin-api@0.6.6-next.1
13
+ - @backstage/plugin-catalog-react@1.12.1-next.1
14
+ - @backstage/catalog-client@1.6.5
15
+ - @backstage/catalog-model@1.5.0
16
+ - @backstage/types@1.1.1
17
+
3
18
  ## 0.4.6-next.0
4
19
 
5
20
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-graph",
3
- "version": "0.4.6-next.0",
3
+ "version": "0.4.6-next.1",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
@@ -6,7 +6,8 @@ const catalogGraphRouteRef = createRouteRef({
6
6
  const catalogEntityRouteRef = createExternalRouteRef({
7
7
  id: "catalog-entity",
8
8
  params: ["namespace", "kind", "name"],
9
- optional: true
9
+ optional: true,
10
+ defaultTarget: "catalog.catalogEntity"
10
11
  });
11
12
 
12
13
  export { catalogEntityRouteRef, catalogGraphRouteRef };
@@ -1 +1 @@
1
- {"version":3,"file":"routes.esm.js","sources":["../src/routes.ts"],"sourcesContent":["/*\n * Copyright 2021 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 */\nimport {\n createExternalRouteRef,\n createRouteRef,\n} from '@backstage/core-plugin-api';\n\n/**\n * Route pointing to the standalone catalog graph page.\n *\n * @public\n */\nexport const catalogGraphRouteRef = createRouteRef({\n id: 'catalog-graph',\n});\n\n/**\n * Route pointing to the entity page.\n * Used to navigate from the graph to an entity.\n *\n * @public\n * @deprecated This route is no longer used and can be removed\n */\nexport const catalogEntityRouteRef = createExternalRouteRef({\n id: 'catalog-entity',\n params: ['namespace', 'kind', 'name'],\n optional: true,\n});\n"],"names":[],"mappings":";;AAyBO,MAAM,uBAAuB,cAAe,CAAA;AAAA,EACjD,EAAI,EAAA,eAAA;AACN,CAAC,EAAA;AASM,MAAM,wBAAwB,sBAAuB,CAAA;AAAA,EAC1D,EAAI,EAAA,gBAAA;AAAA,EACJ,MAAQ,EAAA,CAAC,WAAa,EAAA,MAAA,EAAQ,MAAM,CAAA;AAAA,EACpC,QAAU,EAAA,IAAA;AACZ,CAAC;;;;"}
1
+ {"version":3,"file":"routes.esm.js","sources":["../src/routes.ts"],"sourcesContent":["/*\n * Copyright 2021 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 */\nimport {\n createExternalRouteRef,\n createRouteRef,\n} from '@backstage/core-plugin-api';\n\n/**\n * Route pointing to the standalone catalog graph page.\n *\n * @public\n */\nexport const catalogGraphRouteRef = createRouteRef({\n id: 'catalog-graph',\n});\n\n/**\n * Route pointing to the entity page.\n * Used to navigate from the graph to an entity.\n *\n * @public\n * @deprecated This route is no longer used and can be removed\n */\nexport const catalogEntityRouteRef = createExternalRouteRef({\n id: 'catalog-entity',\n params: ['namespace', 'kind', 'name'],\n optional: true,\n defaultTarget: 'catalog.catalogEntity',\n});\n"],"names":[],"mappings":";;AAyBO,MAAM,uBAAuB,cAAe,CAAA;AAAA,EACjD,EAAI,EAAA,eAAA;AACN,CAAC,EAAA;AASM,MAAM,wBAAwB,sBAAuB,CAAA;AAAA,EAC1D,EAAI,EAAA,gBAAA;AAAA,EACJ,MAAQ,EAAA,CAAC,WAAa,EAAA,MAAA,EAAQ,MAAM,CAAA;AAAA,EACpC,QAAU,EAAA,IAAA;AAAA,EACV,aAAe,EAAA,uBAAA;AACjB,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-graph",
3
- "version": "0.4.6-next.0",
3
+ "version": "0.4.6-next.1",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin"
6
6
  },
@@ -46,11 +46,11 @@
46
46
  "dependencies": {
47
47
  "@backstage/catalog-client": "^1.6.5",
48
48
  "@backstage/catalog-model": "^1.5.0",
49
- "@backstage/core-compat-api": "^0.2.6-next.0",
50
- "@backstage/core-components": "^0.14.8-next.0",
51
- "@backstage/core-plugin-api": "^1.9.2",
52
- "@backstage/frontend-plugin-api": "^0.6.6-next.0",
53
- "@backstage/plugin-catalog-react": "^1.12.1-next.0",
49
+ "@backstage/core-compat-api": "^0.2.6-next.1",
50
+ "@backstage/core-components": "^0.14.8-next.1",
51
+ "@backstage/core-plugin-api": "^1.9.3-next.0",
52
+ "@backstage/frontend-plugin-api": "^0.6.6-next.1",
53
+ "@backstage/plugin-catalog-react": "^1.12.1-next.1",
54
54
  "@backstage/types": "^1.1.1",
55
55
  "@material-ui/core": "^4.12.2",
56
56
  "@material-ui/icons": "^4.9.1",
@@ -63,11 +63,11 @@
63
63
  "react-use": "^17.2.4"
64
64
  },
65
65
  "devDependencies": {
66
- "@backstage/cli": "^0.26.6-next.0",
67
- "@backstage/core-app-api": "^1.12.5",
68
- "@backstage/dev-utils": "^1.0.33-next.0",
69
- "@backstage/plugin-catalog": "^1.20.1-next.0",
70
- "@backstage/test-utils": "^1.5.6-next.0",
66
+ "@backstage/cli": "^0.26.7-next.2",
67
+ "@backstage/core-app-api": "^1.12.6-next.0",
68
+ "@backstage/dev-utils": "^1.0.33-next.1",
69
+ "@backstage/plugin-catalog": "^1.21.0-next.2",
70
+ "@backstage/test-utils": "^1.5.6-next.1",
71
71
  "@testing-library/dom": "^10.0.0",
72
72
  "@testing-library/jest-dom": "^6.0.0",
73
73
  "@testing-library/react": "^15.0.0",