@backstage/plugin-home 0.6.0-next.3 → 0.6.0
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 +46 -0
- package/alpha/package.json +1 -1
- package/dist/alpha.esm.js +2 -2
- package/dist/alpha.esm.js.map +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# @backstage/plugin-home
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5a317f5: Added view of entities grouped by kind to make it easier to distinguish entities with different kind but same name
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 2633d64: Change user settings backend plugin id and fix when using user setting backend home page first will cause edit page loop render
|
|
12
|
+
- a1227cc: Wrap `/alpha` export extension elements in backwards compatibility wrapper.
|
|
13
|
+
- 5814122: Updated `/alpha` exports to fit new naming patterns.
|
|
14
|
+
- 8f5d6c1: Updates to the `/alpha` exports to match the extension input wrapping change.
|
|
15
|
+
- 2b72591: Updated dependency `@rjsf/utils` to `5.14.3`.
|
|
16
|
+
Updated dependency `@rjsf/core` to `5.14.3`.
|
|
17
|
+
Updated dependency `@rjsf/material-ui` to `5.14.3`.
|
|
18
|
+
Updated dependency `@rjsf/validator-ajv8` to `5.14.3`.
|
|
19
|
+
- 6cd12f2: Updated dependency `@rjsf/utils` to `5.14.1`.
|
|
20
|
+
Updated dependency `@rjsf/core` to `5.14.1`.
|
|
21
|
+
Updated dependency `@rjsf/material-ui` to `5.14.1`.
|
|
22
|
+
Updated dependency `@rjsf/validator-ajv8` to `5.14.1`.
|
|
23
|
+
- 64301d3: Updated dependency `@rjsf/utils` to `5.15.0`.
|
|
24
|
+
Updated dependency `@rjsf/core` to `5.15.0`.
|
|
25
|
+
Updated dependency `@rjsf/material-ui` to `5.15.0`.
|
|
26
|
+
Updated dependency `@rjsf/validator-ajv8` to `5.15.0`.
|
|
27
|
+
- 63c494e: Updated dependency `@rjsf/utils` to `5.14.2`.
|
|
28
|
+
Updated dependency `@rjsf/core` to `5.14.2`.
|
|
29
|
+
Updated dependency `@rjsf/material-ui` to `5.14.2`.
|
|
30
|
+
Updated dependency `@rjsf/validator-ajv8` to `5.14.2`.
|
|
31
|
+
- 36c94b8: Refactor of the alpha exports due to API change in how extension IDs are constructed.
|
|
32
|
+
- 54cef27: StarredEntities component calls `getEntitiesByRefs` instead of `getEntities` to improve performance since we have the `entityRefs`
|
|
33
|
+
- c8908d4: Use new option from RJSF 5.15
|
|
34
|
+
- 0cbb03b: Fixing regular expression ReDoS with zod packages. Upgrading to latest. ref: https://security.snyk.io/vuln/SNYK-JS-ZOD-5925617
|
|
35
|
+
- Updated dependencies
|
|
36
|
+
- @backstage/core-compat-api@0.1.0
|
|
37
|
+
- @backstage/core-plugin-api@1.8.1
|
|
38
|
+
- @backstage/frontend-plugin-api@0.4.0
|
|
39
|
+
- @backstage/plugin-catalog-react@1.9.2
|
|
40
|
+
- @backstage/core-components@0.13.9
|
|
41
|
+
- @backstage/theme@0.5.0
|
|
42
|
+
- @backstage/catalog-client@1.5.0
|
|
43
|
+
- @backstage/core-app-api@1.11.2
|
|
44
|
+
- @backstage/plugin-home-react@0.1.6
|
|
45
|
+
- @backstage/catalog-model@1.4.3
|
|
46
|
+
- @backstage/config@1.1.1
|
|
47
|
+
- @backstage/types@1.1.1
|
|
48
|
+
|
|
3
49
|
## 0.6.0-next.3
|
|
4
50
|
|
|
5
51
|
### Patch Changes
|
package/alpha/package.json
CHANGED
package/dist/alpha.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import { compatWrapper } from '@backstage/core-compat-api';
|
|
|
4
4
|
|
|
5
5
|
const rootRouteRef = createRouteRef();
|
|
6
6
|
const titleExtensionDataRef = createExtensionDataRef("title");
|
|
7
|
-
const
|
|
7
|
+
const homePage = createPageExtension({
|
|
8
8
|
defaultPath: "/home",
|
|
9
9
|
routeRef: rootRouteRef,
|
|
10
10
|
inputs: {
|
|
@@ -36,7 +36,7 @@ const HomepageCompositionRootExtension = createPageExtension({
|
|
|
36
36
|
});
|
|
37
37
|
var alpha = createPlugin({
|
|
38
38
|
id: "home",
|
|
39
|
-
extensions: [
|
|
39
|
+
extensions: [homePage]
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
export { alpha as default, titleExtensionDataRef };
|
package/dist/alpha.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alpha.esm.js","sources":["../src/alpha.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 React from 'react';\n\nimport {\n coreExtensionData,\n createExtensionDataRef,\n createExtensionInput,\n createPageExtension,\n createPlugin,\n createRouteRef,\n} from '@backstage/frontend-plugin-api';\nimport { compatWrapper } from '@backstage/core-compat-api';\n\nconst rootRouteRef = createRouteRef();\n\n/**\n * @alpha\n */\nexport const titleExtensionDataRef = createExtensionDataRef<string>('title');\n\nconst
|
|
1
|
+
{"version":3,"file":"alpha.esm.js","sources":["../src/alpha.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 React from 'react';\n\nimport {\n coreExtensionData,\n createExtensionDataRef,\n createExtensionInput,\n createPageExtension,\n createPlugin,\n createRouteRef,\n} from '@backstage/frontend-plugin-api';\nimport { compatWrapper } from '@backstage/core-compat-api';\n\nconst rootRouteRef = createRouteRef();\n\n/**\n * @alpha\n */\nexport const titleExtensionDataRef = createExtensionDataRef<string>('title');\n\nconst homePage = createPageExtension({\n defaultPath: '/home',\n routeRef: rootRouteRef,\n inputs: {\n props: createExtensionInput(\n {\n children: coreExtensionData.reactElement.optional(),\n title: titleExtensionDataRef.optional(),\n },\n\n {\n singleton: true,\n optional: true,\n },\n ),\n },\n loader: ({ inputs }) =>\n import('./components/').then(m =>\n compatWrapper(\n <m.HomepageCompositionRoot\n children={inputs.props?.output.children}\n title={inputs.props?.output.title}\n />,\n ),\n ),\n});\n\n/**\n * @alpha\n */\nexport default createPlugin({\n id: 'home',\n extensions: [homePage],\n});\n"],"names":[],"mappings":";;;;AA4BA,MAAM,eAAe,cAAe,EAAA,CAAA;AAKvB,MAAA,qBAAA,GAAwB,uBAA+B,OAAO,EAAA;AAE3E,MAAM,WAAW,mBAAoB,CAAA;AAAA,EACnC,WAAa,EAAA,OAAA;AAAA,EACb,QAAU,EAAA,YAAA;AAAA,EACV,MAAQ,EAAA;AAAA,IACN,KAAO,EAAA,oBAAA;AAAA,MACL;AAAA,QACE,QAAA,EAAU,iBAAkB,CAAA,YAAA,CAAa,QAAS,EAAA;AAAA,QAClD,KAAA,EAAO,sBAAsB,QAAS,EAAA;AAAA,OACxC;AAAA,MAEA;AAAA,QACE,SAAW,EAAA,IAAA;AAAA,QACX,QAAU,EAAA,IAAA;AAAA,OACZ;AAAA,KACF;AAAA,GACF;AAAA,EACA,QAAQ,CAAC,EAAE,QACT,KAAA,OAAO,6BAAe,CAAE,CAAA,IAAA;AAAA,IAAK,CAAE,CAAA,KAAA;AApDnC,MAAA,IAAA,EAAA,EAAA,EAAA,CAAA;AAqDM,MAAA,OAAA,aAAA;AAAA,wBACE,KAAA,CAAA,aAAA;AAAA,UAAC,CAAE,CAAA,uBAAA;AAAA,UAAF;AAAA,YACC,QAAU,EAAA,CAAA,EAAA,GAAA,MAAA,CAAO,KAAP,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAc,MAAO,CAAA,QAAA;AAAA,YAC/B,KAAO,EAAA,CAAA,EAAA,GAAA,MAAA,CAAO,KAAP,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAc,MAAO,CAAA,KAAA;AAAA,WAAA;AAAA,SAC9B;AAAA,OACF,CAAA;AAAA,KAAA;AAAA,GACF;AACJ,CAAC,CAAA,CAAA;AAKD,YAAe,YAAa,CAAA;AAAA,EAC1B,EAAI,EAAA,MAAA;AAAA,EACJ,UAAA,EAAY,CAAC,QAAQ,CAAA;AACvB,CAAC,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-home",
|
|
3
3
|
"description": "A Backstage plugin that helps you build a home page",
|
|
4
|
-
"version": "0.6.0
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"main": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
"clean": "backstage-cli package clean"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@backstage/catalog-client": "^1.5.0
|
|
48
|
+
"@backstage/catalog-client": "^1.5.0",
|
|
49
49
|
"@backstage/catalog-model": "^1.4.3",
|
|
50
50
|
"@backstage/config": "^1.1.1",
|
|
51
|
-
"@backstage/core-app-api": "^1.11.2
|
|
52
|
-
"@backstage/core-compat-api": "^0.1.0
|
|
53
|
-
"@backstage/core-components": "^0.13.9
|
|
54
|
-
"@backstage/core-plugin-api": "^1.8.1
|
|
55
|
-
"@backstage/frontend-plugin-api": "^0.4.0
|
|
56
|
-
"@backstage/plugin-catalog-react": "^1.9.2
|
|
57
|
-
"@backstage/plugin-home-react": "^0.1.6
|
|
58
|
-
"@backstage/theme": "^0.5.0
|
|
51
|
+
"@backstage/core-app-api": "^1.11.2",
|
|
52
|
+
"@backstage/core-compat-api": "^0.1.0",
|
|
53
|
+
"@backstage/core-components": "^0.13.9",
|
|
54
|
+
"@backstage/core-plugin-api": "^1.8.1",
|
|
55
|
+
"@backstage/frontend-plugin-api": "^0.4.0",
|
|
56
|
+
"@backstage/plugin-catalog-react": "^1.9.2",
|
|
57
|
+
"@backstage/plugin-home-react": "^0.1.6",
|
|
58
|
+
"@backstage/theme": "^0.5.0",
|
|
59
59
|
"@backstage/types": "^1.1.1",
|
|
60
60
|
"@material-ui/core": "^4.12.2",
|
|
61
61
|
"@material-ui/icons": "^4.9.1",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"react-grid-layout": "1.3.4",
|
|
71
71
|
"react-resizable": "^3.0.4",
|
|
72
72
|
"react-use": "^17.2.4",
|
|
73
|
-
"zod": "^3.
|
|
73
|
+
"zod": "^3.22.4"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@backstage/cli": "^0.25.0
|
|
82
|
-
"@backstage/dev-utils": "^1.0.25
|
|
83
|
-
"@backstage/test-utils": "^1.4.6
|
|
81
|
+
"@backstage/cli": "^0.25.0",
|
|
82
|
+
"@backstage/dev-utils": "^1.0.25",
|
|
83
|
+
"@backstage/test-utils": "^1.4.6",
|
|
84
84
|
"@testing-library/dom": "^9.0.0",
|
|
85
85
|
"@testing-library/jest-dom": "^6.0.0",
|
|
86
86
|
"@testing-library/react": "^14.0.0",
|