@backstage/plugin-catalog-graph 0.4.0-next.3 → 0.4.1-next.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 CHANGED
@@ -1,5 +1,59 @@
1
1
  # @backstage/plugin-catalog-graph
2
2
 
3
+ ## 0.4.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/core-components@0.14.1-next.0
9
+ - @backstage/plugin-catalog-react@1.10.1-next.0
10
+ - @backstage/catalog-client@1.6.1-next.0
11
+ - @backstage/catalog-model@1.4.5-next.0
12
+ - @backstage/core-plugin-api@1.9.1-next.0
13
+ - @backstage/frontend-plugin-api@0.6.1-next.0
14
+ - @backstage/core-compat-api@0.2.1-next.0
15
+ - @backstage/types@1.1.1
16
+
17
+ ## 0.4.0
18
+
19
+ ### Minor Changes
20
+
21
+ - 3dc64e9: Migrate plugin to the new frontend system, it is experimental and available via alpha subpath.
22
+
23
+ ### Patch Changes
24
+
25
+ - 916da47: Change default icon for unknown entities to nothing instead of the help icon.
26
+ - f937aae: use `CatalogClient.getEntitiesByRefs()` to reduce the number of backend requests from plugin `catalog-graph`
27
+ - 3e1c6e2: Added possibility to show arrow heads for graph edges for better understandability.
28
+
29
+ In order to show arrow heads in the catalog graph page, add `showArrowHeads` attribute to `CatalogGraphPage` component
30
+ (typically in `packages/app/src/App.tsx`):
31
+
32
+ ```diff
33
+ - <CatalogGraphPage />
34
+ + <CatalogGraphPage showArrowHeads />
35
+ ```
36
+
37
+ In order to show arrow heads in entity graphs, add `showArrowHeads` attribute to `EntityCatalogGraphCard` components
38
+ (typically multiple occurrences in `packages/app/src/components/catalog/EntityPage.tsx`):
39
+
40
+ ```diff
41
+ - <EntityCatalogGraphCard variant="gridItem" height={400} />
42
+ + <EntityCatalogGraphCard variant="gridItem" height={400} showArrowHeads />
43
+ ```
44
+
45
+ - 9aac2b0: Use `--cwd` as the first `yarn` argument
46
+ - 8fe56a8: Widen `@types/react` dependency range to include version 18.
47
+ - Updated dependencies
48
+ - @backstage/frontend-plugin-api@0.6.0
49
+ - @backstage/core-compat-api@0.2.0
50
+ - @backstage/plugin-catalog-react@1.10.0
51
+ - @backstage/core-components@0.14.0
52
+ - @backstage/catalog-model@1.4.4
53
+ - @backstage/core-plugin-api@1.9.0
54
+ - @backstage/catalog-client@1.6.0
55
+ - @backstage/types@1.1.1
56
+
3
57
  ## 0.4.0-next.3
4
58
 
5
59
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-graph",
3
- "version": "0.4.0-next.3",
3
+ "version": "0.4.1-next.0",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/package.json CHANGED
@@ -1,12 +1,20 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-graph",
3
- "version": "0.4.0-next.3",
4
- "main": "./dist/index.esm.js",
5
- "types": "./dist/index.d.ts",
6
- "license": "Apache-2.0",
3
+ "version": "0.4.1-next.0",
4
+ "backstage": {
5
+ "role": "frontend-plugin"
6
+ },
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
+ "homepage": "https://backstage.io",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/backstage/backstage",
14
+ "directory": "plugins/catalog-graph"
15
+ },
16
+ "license": "Apache-2.0",
17
+ "sideEffects": false,
10
18
  "exports": {
11
19
  ".": {
12
20
  "import": "./dist/index.esm.js",
@@ -20,33 +28,29 @@
20
28
  },
21
29
  "./package.json": "./package.json"
22
30
  },
23
- "backstage": {
24
- "role": "frontend-plugin"
25
- },
26
- "homepage": "https://backstage.io",
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/backstage/backstage",
30
- "directory": "plugins/catalog-graph"
31
- },
32
- "sideEffects": false,
31
+ "main": "./dist/index.esm.js",
32
+ "types": "./dist/index.d.ts",
33
+ "files": [
34
+ "dist",
35
+ "alpha"
36
+ ],
33
37
  "scripts": {
34
38
  "build": "backstage-cli package build",
35
- "start": "backstage-cli package start",
39
+ "clean": "backstage-cli package clean",
36
40
  "lint": "backstage-cli package lint",
37
- "test": "backstage-cli package test",
38
41
  "prepack": "backstage-cli package prepack",
39
42
  "postpack": "backstage-cli package postpack",
40
- "clean": "backstage-cli package clean"
43
+ "start": "backstage-cli package start",
44
+ "test": "backstage-cli package test"
41
45
  },
42
46
  "dependencies": {
43
- "@backstage/catalog-client": "^1.6.0-next.1",
44
- "@backstage/catalog-model": "^1.4.4-next.0",
45
- "@backstage/core-compat-api": "^0.2.0-next.3",
46
- "@backstage/core-components": "^0.14.0-next.2",
47
- "@backstage/core-plugin-api": "^1.9.0-next.1",
48
- "@backstage/frontend-plugin-api": "^0.6.0-next.3",
49
- "@backstage/plugin-catalog-react": "^1.10.0-next.3",
47
+ "@backstage/catalog-client": "^1.6.1-next.0",
48
+ "@backstage/catalog-model": "^1.4.5-next.0",
49
+ "@backstage/core-compat-api": "^0.2.1-next.0",
50
+ "@backstage/core-components": "^0.14.1-next.0",
51
+ "@backstage/core-plugin-api": "^1.9.1-next.0",
52
+ "@backstage/frontend-plugin-api": "^0.6.1-next.0",
53
+ "@backstage/plugin-catalog-react": "^1.10.1-next.0",
50
54
  "@backstage/types": "^1.1.1",
51
55
  "@material-ui/core": "^4.12.2",
52
56
  "@material-ui/icons": "^4.9.1",
@@ -58,25 +62,21 @@
58
62
  "qs": "^6.9.4",
59
63
  "react-use": "^17.2.4"
60
64
  },
61
- "peerDependencies": {
62
- "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
63
- "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
64
- "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
65
- },
66
65
  "devDependencies": {
67
- "@backstage/cli": "^0.25.2-next.3",
68
- "@backstage/core-app-api": "^1.12.0-next.1",
69
- "@backstage/dev-utils": "^1.0.27-next.3",
70
- "@backstage/plugin-catalog": "^1.17.0-next.3",
71
- "@backstage/test-utils": "^1.5.0-next.3",
66
+ "@backstage/cli": "^0.25.3-next.0",
67
+ "@backstage/core-app-api": "^1.12.1-next.0",
68
+ "@backstage/dev-utils": "^1.0.28-next.0",
69
+ "@backstage/plugin-catalog": "^1.17.1-next.0",
70
+ "@backstage/test-utils": "^1.5.1-next.0",
72
71
  "@testing-library/dom": "^9.0.0",
73
72
  "@testing-library/jest-dom": "^6.0.0",
74
73
  "@testing-library/react": "^14.0.0",
75
74
  "@testing-library/user-event": "^14.0.0"
76
75
  },
77
- "files": [
78
- "dist",
79
- "alpha"
80
- ],
76
+ "peerDependencies": {
77
+ "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
78
+ "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
79
+ "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
80
+ },
81
81
  "module": "./dist/index.esm.js"
82
82
  }