@backstage-community/plugin-kafka 0.12.0 → 0.13.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,15 @@
1
1
  # @backstage-community/plugin-kafka
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 23bef97: Backstage version bump to v1.54.5
8
+
9
+ ### Patch Changes
10
+
11
+ - 688b57d: Updated dependency `jest-when` to `^4.0.0`.
12
+
3
13
  ## 0.12.0
4
14
 
5
15
  ### Minor Changes
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "kafka": {
6
+ "type": "object",
7
+ "properties": {
8
+ "clusters": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "object",
12
+ "properties": {
13
+ "name": {
14
+ "type": "string",
15
+ "description": "Cluster name",
16
+ "visibility": "frontend"
17
+ },
18
+ "dashboardUrl": {
19
+ "type": "string",
20
+ "description": "Cluster dashboard url",
21
+ "visibility": "frontend"
22
+ }
23
+ },
24
+ "required": [
25
+ "name"
26
+ ]
27
+ }
28
+ }
29
+ },
30
+ "required": [
31
+ "clusters"
32
+ ]
33
+ }
34
+ }
35
+ }
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage-community/plugin-kafka";
2
- var version = "0.12.0";
2
+ var version = "0.13.0";
3
3
  var description = "A Backstage plugin that integrates towards Kafka";
4
4
  var backstage = {
5
5
  role: "frontend-plugin",
@@ -52,29 +52,29 @@ var scripts = {
52
52
  test: "backstage-cli package test"
53
53
  };
54
54
  var dependencies = {
55
- "@backstage/catalog-model": "^1.7.7",
56
- "@backstage/core-compat-api": "^0.5.9",
57
- "@backstage/core-components": "^0.18.8",
58
- "@backstage/core-plugin-api": "^1.12.4",
59
- "@backstage/frontend-plugin-api": "^0.16.1",
60
- "@backstage/plugin-catalog-react": "^2.1.0",
55
+ "@backstage/catalog-model": "backstage:^",
56
+ "@backstage/core-compat-api": "backstage:^",
57
+ "@backstage/core-components": "backstage:^",
58
+ "@backstage/core-plugin-api": "backstage:^",
59
+ "@backstage/frontend-plugin-api": "backstage:^",
60
+ "@backstage/plugin-catalog-react": "backstage:^",
61
61
  "@material-ui/core": "^4.12.2",
62
62
  "@material-ui/icons": "^4.9.1",
63
63
  "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
64
64
  "react-use": "^17.2.4"
65
65
  };
66
66
  var devDependencies = {
67
- "@backstage/cli": "^0.36.0",
68
- "@backstage/dev-utils": "^1.1.21",
69
- "@backstage/frontend-defaults": "^0.5.0",
70
- "@backstage/frontend-test-utils": "^0.5.1",
71
- "@backstage/plugin-catalog": "^2.0.1",
72
- "@backstage/test-utils": "^1.7.16",
67
+ "@backstage/cli": "backstage:^",
68
+ "@backstage/dev-utils": "backstage:^",
69
+ "@backstage/frontend-defaults": "backstage:^",
70
+ "@backstage/frontend-test-utils": "backstage:^",
71
+ "@backstage/plugin-catalog": "backstage:^",
72
+ "@backstage/test-utils": "backstage:^",
73
73
  "@testing-library/dom": "^10.0.0",
74
74
  "@testing-library/jest-dom": "^6.0.0",
75
75
  "@testing-library/react": "^15.0.0",
76
76
  "@types/react-dom": "^18.2.19",
77
- "jest-when": "^3.1.0",
77
+ "jest-when": "^4.0.0",
78
78
  react: "^16.13.1 || ^17.0.0 || ^18.0.0",
79
79
  "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
80
80
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-kafka",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "A Backstage plugin that integrates towards Kafka",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -52,7 +52,7 @@
52
52
  "types": "./dist/index.d.ts",
53
53
  "files": [
54
54
  "dist",
55
- "config.d.ts"
55
+ "config.schema.json"
56
56
  ],
57
57
  "scripts": {
58
58
  "build": "backstage-cli package build",
@@ -65,29 +65,29 @@
65
65
  "test": "backstage-cli package test"
66
66
  },
67
67
  "dependencies": {
68
- "@backstage/catalog-model": "^1.7.7",
69
- "@backstage/core-compat-api": "^0.5.9",
70
- "@backstage/core-components": "^0.18.8",
71
- "@backstage/core-plugin-api": "^1.12.4",
72
- "@backstage/frontend-plugin-api": "^0.16.1",
73
- "@backstage/plugin-catalog-react": "^2.1.0",
68
+ "@backstage/catalog-model": "^1.10.0",
69
+ "@backstage/core-compat-api": "^0.5.14",
70
+ "@backstage/core-components": "^0.18.13",
71
+ "@backstage/core-plugin-api": "^1.12.9",
72
+ "@backstage/frontend-plugin-api": "^0.18.0",
73
+ "@backstage/plugin-catalog-react": "^3.2.2",
74
74
  "@material-ui/core": "^4.12.2",
75
75
  "@material-ui/icons": "^4.9.1",
76
76
  "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
77
77
  "react-use": "^17.2.4"
78
78
  },
79
79
  "devDependencies": {
80
- "@backstage/cli": "^0.36.0",
81
- "@backstage/dev-utils": "^1.1.21",
82
- "@backstage/frontend-defaults": "^0.5.0",
83
- "@backstage/frontend-test-utils": "^0.5.1",
84
- "@backstage/plugin-catalog": "^2.0.1",
85
- "@backstage/test-utils": "^1.7.16",
80
+ "@backstage/cli": "^0.36.5",
81
+ "@backstage/dev-utils": "^1.1.26",
82
+ "@backstage/frontend-defaults": "^0.5.5",
83
+ "@backstage/frontend-test-utils": "^0.6.3",
84
+ "@backstage/plugin-catalog": "^2.0.8",
85
+ "@backstage/test-utils": "^1.7.21",
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",
89
89
  "@types/react-dom": "^18.2.19",
90
- "jest-when": "^3.1.0",
90
+ "jest-when": "^4.0.0",
91
91
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
92
92
  "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
93
93
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
@@ -97,6 +97,6 @@
97
97
  "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
98
98
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
99
99
  },
100
- "configSchema": "config.d.ts",
100
+ "configSchema": "config.schema.json",
101
101
  "module": "./dist/index.esm.js"
102
102
  }
package/config.d.ts DELETED
@@ -1,31 +0,0 @@
1
- /*
2
- * Copyright 2020 The Backstage Authors
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export interface Config {
17
- kafka?: {
18
- clusters: Array<{
19
- /**
20
- * Cluster name
21
- * @visibility frontend
22
- */
23
- name: string;
24
- /**
25
- * Cluster dashboard url
26
- * @visibility frontend
27
- */
28
- dashboardUrl?: string;
29
- }>;
30
- };
31
- }