@backstage/plugin-catalog-graph 0.4.14-next.1 → 0.4.14-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 +14 -0
- package/README.md +14 -0
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-graph
|
|
2
2
|
|
|
3
|
+
## 0.4.14-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/core-compat-api@0.3.4-next.2
|
|
9
|
+
- @backstage/plugin-catalog-react@1.14.3-next.2
|
|
10
|
+
- @backstage/catalog-client@1.9.0-next.2
|
|
11
|
+
- @backstage/catalog-model@1.7.2-next.0
|
|
12
|
+
- @backstage/core-components@0.16.2-next.2
|
|
13
|
+
- @backstage/core-plugin-api@1.10.2-next.0
|
|
14
|
+
- @backstage/frontend-plugin-api@0.9.3-next.2
|
|
15
|
+
- @backstage/types@1.2.0
|
|
16
|
+
|
|
3
17
|
## 0.4.14-next.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -137,6 +137,20 @@ return (
|
|
|
137
137
|
);
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
+
Once you have your custom implementation, you can follow these steps to modify the required components:
|
|
141
|
+
|
|
142
|
+
- In the `app.tsx` update the `CatalogGraphPage` component to include your custom styles:
|
|
143
|
+
|
|
144
|
+
```tsx
|
|
145
|
+
<Route path=“/catalog-graph” element={<CatalogGraphPage renderNode={MyCustomRenderNode} />} />
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
- In the `Entity.tsx` file, update the `EntityCatalogGraphCard` component to this:
|
|
149
|
+
|
|
150
|
+
```tsx
|
|
151
|
+
<EntityCatalogGraphCard variant=“gridItem” renderNode={MyCustomRenderNode} height={400} />
|
|
152
|
+
```
|
|
153
|
+
|
|
140
154
|
## Development
|
|
141
155
|
|
|
142
156
|
Run `yarn` in the root of this plugin to install all dependencies and then `yarn start` to run a [development version](./dev/index.tsx) of this plugin.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-graph",
|
|
3
|
-
"version": "0.4.14-next.
|
|
3
|
+
"version": "0.4.14-next.2",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin",
|
|
6
6
|
"pluginId": "catalog-graph",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"test": "backstage-cli package test"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@backstage/catalog-client": "1.9.0-next.
|
|
62
|
-
"@backstage/catalog-model": "1.7.
|
|
63
|
-
"@backstage/core-compat-api": "0.3.4-next.
|
|
64
|
-
"@backstage/core-components": "0.16.2-next.
|
|
65
|
-
"@backstage/core-plugin-api": "1.10.
|
|
66
|
-
"@backstage/frontend-plugin-api": "0.9.3-next.
|
|
67
|
-
"@backstage/plugin-catalog-react": "1.14.3-next.
|
|
61
|
+
"@backstage/catalog-client": "1.9.0-next.2",
|
|
62
|
+
"@backstage/catalog-model": "1.7.2-next.0",
|
|
63
|
+
"@backstage/core-compat-api": "0.3.4-next.2",
|
|
64
|
+
"@backstage/core-components": "0.16.2-next.2",
|
|
65
|
+
"@backstage/core-plugin-api": "1.10.2-next.0",
|
|
66
|
+
"@backstage/frontend-plugin-api": "0.9.3-next.2",
|
|
67
|
+
"@backstage/plugin-catalog-react": "1.14.3-next.2",
|
|
68
68
|
"@backstage/types": "1.2.0",
|
|
69
69
|
"@material-ui/core": "^4.12.2",
|
|
70
70
|
"@material-ui/icons": "^4.9.1",
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
"react-use": "^17.2.4"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@backstage/cli": "0.29.3-next.
|
|
80
|
-
"@backstage/core-app-api": "1.15.3-next.
|
|
81
|
-
"@backstage/dev-utils": "1.1.5-next.
|
|
82
|
-
"@backstage/plugin-catalog": "1.
|
|
83
|
-
"@backstage/test-utils": "1.7.3-next.
|
|
79
|
+
"@backstage/cli": "0.29.3-next.2",
|
|
80
|
+
"@backstage/core-app-api": "1.15.3-next.1",
|
|
81
|
+
"@backstage/dev-utils": "1.1.5-next.2",
|
|
82
|
+
"@backstage/plugin-catalog": "1.26.0-next.2",
|
|
83
|
+
"@backstage/test-utils": "1.7.3-next.1",
|
|
84
84
|
"@testing-library/dom": "^10.0.0",
|
|
85
85
|
"@testing-library/jest-dom": "^6.0.0",
|
|
86
86
|
"@testing-library/react": "^16.0.0",
|