@backstage/plugin-catalog 1.20.1-next.1 → 1.21.0-next.2

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,34 @@
1
1
  # @backstage/plugin-catalog
2
2
 
3
+ ## 1.21.0-next.2
4
+
5
+ ### Minor Changes
6
+
7
+ - 863a800: Added the following default targets for external routes:
8
+
9
+ - `createComponent` binds to the Scaffolder page.
10
+ - `viewTechDoc` binds to the TechDocs entity documentation page.
11
+ - `createFromTemplate` binds to the Scaffolder selected template page.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+ - @backstage/core-components@0.14.8-next.1
17
+ - @backstage/core-compat-api@0.2.6-next.1
18
+ - @backstage/core-plugin-api@1.9.3-next.0
19
+ - @backstage/frontend-plugin-api@0.6.6-next.1
20
+ - @backstage/integration-react@1.1.28-next.0
21
+ - @backstage/plugin-catalog-react@1.12.1-next.1
22
+ - @backstage/plugin-search-react@1.7.12-next.1
23
+ - @backstage/plugin-permission-react@0.4.23-next.0
24
+ - @backstage/catalog-client@1.6.5
25
+ - @backstage/catalog-model@1.5.0
26
+ - @backstage/errors@1.2.4
27
+ - @backstage/types@1.1.1
28
+ - @backstage/plugin-catalog-common@1.0.23
29
+ - @backstage/plugin-scaffolder-common@1.5.3-next.0
30
+ - @backstage/plugin-search-common@1.2.11
31
+
3
32
  ## 1.20.1-next.1
4
33
 
5
34
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog",
3
- "version": "1.20.1-next.1",
3
+ "version": "1.21.0-next.2",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
@@ -2,17 +2,20 @@ import { createExternalRouteRef, createRouteRef } from '@backstage/core-plugin-a
2
2
 
3
3
  const createComponentRouteRef = createExternalRouteRef({
4
4
  id: "create-component",
5
- optional: true
5
+ optional: true,
6
+ defaultTarget: "scaffolder.createComponent"
6
7
  });
7
8
  const viewTechDocRouteRef = createExternalRouteRef({
8
9
  id: "view-techdoc",
9
10
  optional: true,
10
- params: ["namespace", "kind", "name"]
11
+ params: ["namespace", "kind", "name"],
12
+ defaultTarget: "techdocs.docRoot"
11
13
  });
12
14
  const createFromTemplateRouteRef = createExternalRouteRef({
13
15
  id: "create-from-template",
14
16
  optional: true,
15
- params: ["namespace", "templateName"]
17
+ params: ["namespace", "templateName"],
18
+ defaultTarget: "scaffolder.selectedTemplate"
16
19
  });
17
20
  const unregisterRedirectRouteRef = createExternalRouteRef({
18
21
  id: "catalog:unregister-redirect",
@@ -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 */\n\nimport {\n createExternalRouteRef,\n createRouteRef,\n} from '@backstage/core-plugin-api';\n\nexport const createComponentRouteRef = createExternalRouteRef({\n id: 'create-component',\n optional: true,\n});\n\nexport const viewTechDocRouteRef = createExternalRouteRef({\n id: 'view-techdoc',\n optional: true,\n params: ['namespace', 'kind', 'name'],\n});\n\nexport const createFromTemplateRouteRef = createExternalRouteRef({\n id: 'create-from-template',\n optional: true,\n params: ['namespace', 'templateName'],\n});\n\nexport const unregisterRedirectRouteRef = createExternalRouteRef({\n id: 'catalog:unregister-redirect',\n optional: true,\n});\n\nexport const rootRouteRef = createRouteRef({\n id: 'catalog',\n});\n"],"names":[],"mappings":";;AAqBO,MAAM,0BAA0B,sBAAuB,CAAA;AAAA,EAC5D,EAAI,EAAA,kBAAA;AAAA,EACJ,QAAU,EAAA,IAAA;AACZ,CAAC,EAAA;AAEM,MAAM,sBAAsB,sBAAuB,CAAA;AAAA,EACxD,EAAI,EAAA,cAAA;AAAA,EACJ,QAAU,EAAA,IAAA;AAAA,EACV,MAAQ,EAAA,CAAC,WAAa,EAAA,MAAA,EAAQ,MAAM,CAAA;AACtC,CAAC,EAAA;AAEM,MAAM,6BAA6B,sBAAuB,CAAA;AAAA,EAC/D,EAAI,EAAA,sBAAA;AAAA,EACJ,QAAU,EAAA,IAAA;AAAA,EACV,MAAA,EAAQ,CAAC,WAAA,EAAa,cAAc,CAAA;AACtC,CAAC,EAAA;AAEM,MAAM,6BAA6B,sBAAuB,CAAA;AAAA,EAC/D,EAAI,EAAA,6BAAA;AAAA,EACJ,QAAU,EAAA,IAAA;AACZ,CAAC,EAAA;AAEM,MAAM,eAAe,cAAe,CAAA;AAAA,EACzC,EAAI,EAAA,SAAA;AACN,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 */\n\nimport {\n createExternalRouteRef,\n createRouteRef,\n} from '@backstage/core-plugin-api';\n\nexport const createComponentRouteRef = createExternalRouteRef({\n id: 'create-component',\n optional: true,\n defaultTarget: 'scaffolder.createComponent',\n});\n\nexport const viewTechDocRouteRef = createExternalRouteRef({\n id: 'view-techdoc',\n optional: true,\n params: ['namespace', 'kind', 'name'],\n defaultTarget: 'techdocs.docRoot',\n});\n\nexport const createFromTemplateRouteRef = createExternalRouteRef({\n id: 'create-from-template',\n optional: true,\n params: ['namespace', 'templateName'],\n defaultTarget: 'scaffolder.selectedTemplate',\n});\n\nexport const unregisterRedirectRouteRef = createExternalRouteRef({\n id: 'catalog:unregister-redirect',\n optional: true,\n});\n\nexport const rootRouteRef = createRouteRef({\n id: 'catalog',\n});\n"],"names":[],"mappings":";;AAqBO,MAAM,0BAA0B,sBAAuB,CAAA;AAAA,EAC5D,EAAI,EAAA,kBAAA;AAAA,EACJ,QAAU,EAAA,IAAA;AAAA,EACV,aAAe,EAAA,4BAAA;AACjB,CAAC,EAAA;AAEM,MAAM,sBAAsB,sBAAuB,CAAA;AAAA,EACxD,EAAI,EAAA,cAAA;AAAA,EACJ,QAAU,EAAA,IAAA;AAAA,EACV,MAAQ,EAAA,CAAC,WAAa,EAAA,MAAA,EAAQ,MAAM,CAAA;AAAA,EACpC,aAAe,EAAA,kBAAA;AACjB,CAAC,EAAA;AAEM,MAAM,6BAA6B,sBAAuB,CAAA;AAAA,EAC/D,EAAI,EAAA,sBAAA;AAAA,EACJ,QAAU,EAAA,IAAA;AAAA,EACV,MAAA,EAAQ,CAAC,WAAA,EAAa,cAAc,CAAA;AAAA,EACpC,aAAe,EAAA,6BAAA;AACjB,CAAC,EAAA;AAEM,MAAM,6BAA6B,sBAAuB,CAAA;AAAA,EAC/D,EAAI,EAAA,6BAAA;AAAA,EACJ,QAAU,EAAA,IAAA;AACZ,CAAC,EAAA;AAEM,MAAM,eAAe,cAAe,CAAA;AAAA,EACzC,EAAI,EAAA,SAAA;AACN,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog",
3
- "version": "1.20.1-next.1",
3
+ "version": "1.21.0-next.2",
4
4
  "description": "The Backstage plugin for browsing the Backstage catalog",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin"
@@ -51,18 +51,18 @@
51
51
  "dependencies": {
52
52
  "@backstage/catalog-client": "^1.6.5",
53
53
  "@backstage/catalog-model": "^1.5.0",
54
- "@backstage/core-compat-api": "^0.2.6-next.0",
55
- "@backstage/core-components": "^0.14.8-next.0",
56
- "@backstage/core-plugin-api": "^1.9.2",
54
+ "@backstage/core-compat-api": "^0.2.6-next.1",
55
+ "@backstage/core-components": "^0.14.8-next.1",
56
+ "@backstage/core-plugin-api": "^1.9.3-next.0",
57
57
  "@backstage/errors": "^1.2.4",
58
- "@backstage/frontend-plugin-api": "^0.6.6-next.0",
59
- "@backstage/integration-react": "^1.1.27",
58
+ "@backstage/frontend-plugin-api": "^0.6.6-next.1",
59
+ "@backstage/integration-react": "^1.1.28-next.0",
60
60
  "@backstage/plugin-catalog-common": "^1.0.23",
61
- "@backstage/plugin-catalog-react": "^1.12.1-next.0",
62
- "@backstage/plugin-permission-react": "^0.4.22",
61
+ "@backstage/plugin-catalog-react": "^1.12.1-next.1",
62
+ "@backstage/plugin-permission-react": "^0.4.23-next.0",
63
63
  "@backstage/plugin-scaffolder-common": "^1.5.3-next.0",
64
64
  "@backstage/plugin-search-common": "^1.2.11",
65
- "@backstage/plugin-search-react": "^1.7.12-next.0",
65
+ "@backstage/plugin-search-react": "^1.7.12-next.1",
66
66
  "@backstage/types": "^1.1.1",
67
67
  "@material-ui/core": "^4.12.2",
68
68
  "@material-ui/icons": "^4.9.1",
@@ -78,11 +78,11 @@
78
78
  "zen-observable": "^0.10.0"
79
79
  },
80
80
  "devDependencies": {
81
- "@backstage/cli": "^0.26.7-next.1",
82
- "@backstage/core-app-api": "^1.12.5",
83
- "@backstage/dev-utils": "^1.0.33-next.0",
81
+ "@backstage/cli": "^0.26.7-next.2",
82
+ "@backstage/core-app-api": "^1.12.6-next.0",
83
+ "@backstage/dev-utils": "^1.0.33-next.1",
84
84
  "@backstage/plugin-permission-common": "^0.7.13",
85
- "@backstage/test-utils": "^1.5.6-next.0",
85
+ "@backstage/test-utils": "^1.5.6-next.1",
86
86
  "@testing-library/dom": "^10.0.0",
87
87
  "@testing-library/jest-dom": "^6.0.0",
88
88
  "@testing-library/react": "^15.0.0",