@backstage/plugin-kubernetes-react 0.5.21 → 0.5.22-next.1

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,10 +1,18 @@
1
1
  # @backstage/plugin-kubernetes-react
2
2
 
3
- ## 0.5.21
3
+ ## 0.5.22-next.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - c9777d0: Fixed the published configuration schema so that it no longer references a file that is excluded from the package. This previously caused configuration schema extraction to fail in apps that depend on this plugin.
7
+ - 2ed90cd: Fixed the published configuration schema so that it no longer references a file that is excluded from the package. This previously caused configuration schema extraction to fail in apps that depend on this plugin.
8
+
9
+ ## 0.5.21-next.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+ - @backstage/core-components@0.18.12-next.0
15
+ - @backstage/core-plugin-api@1.12.8-next.0
8
16
 
9
17
  ## 0.5.20
10
18
 
@@ -0,0 +1,39 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "kubernetes": {
6
+ "type": "object",
7
+ "properties": {
8
+ "podExecTerminal": {
9
+ "type": "object",
10
+ "properties": {
11
+ "enabled": {
12
+ "type": "boolean",
13
+ "description": "Enable `PodExecTerminal` UI feature",
14
+ "visibility": "frontend"
15
+ }
16
+ },
17
+ "description": "Pod Exec Terminal config"
18
+ },
19
+ "frontend": {
20
+ "type": "object",
21
+ "properties": {
22
+ "podDelete": {
23
+ "type": "object",
24
+ "properties": {
25
+ "enabled": {
26
+ "type": "boolean",
27
+ "description": "Enable `podDelete` UI feature",
28
+ "visibility": "frontend"
29
+ }
30
+ },
31
+ "description": "Pod Delete config"
32
+ }
33
+ },
34
+ "description": "Frontend config"
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-react",
3
- "version": "0.5.21",
3
+ "version": "0.5.22-next.1",
4
4
  "description": "Web library for the kubernetes-react plugin",
5
5
  "backstage": {
6
6
  "role": "web-library",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "files": [
52
52
  "dist",
53
- "config.d.ts"
53
+ "config.schema.json"
54
54
  ],
55
55
  "scripts": {
56
56
  "build": "backstage-cli package build",
@@ -62,12 +62,12 @@
62
62
  "test": "backstage-cli package test"
63
63
  },
64
64
  "dependencies": {
65
- "@backstage/catalog-model": "^1.9.0",
66
- "@backstage/core-components": "^0.18.11",
67
- "@backstage/core-plugin-api": "^1.12.7",
68
- "@backstage/errors": "^1.3.1",
69
- "@backstage/plugin-kubernetes-common": "^0.9.12",
70
- "@backstage/types": "^1.2.2",
65
+ "@backstage/catalog-model": "1.9.0",
66
+ "@backstage/core-components": "0.18.12-next.0",
67
+ "@backstage/core-plugin-api": "1.12.8-next.0",
68
+ "@backstage/errors": "1.3.1",
69
+ "@backstage/plugin-kubernetes-common": "0.9.12",
70
+ "@backstage/types": "1.2.2",
71
71
  "@kubernetes-models/apimachinery": "^2.0.0",
72
72
  "@kubernetes-models/base": "^5.0.0",
73
73
  "@kubernetes/client-node": "1.4.0",
@@ -85,9 +85,9 @@
85
85
  "react-use": "^17.4.0"
86
86
  },
87
87
  "devDependencies": {
88
- "@backstage/cli": "^0.36.3",
89
- "@backstage/core-app-api": "^1.20.2",
90
- "@backstage/test-utils": "^1.7.19",
88
+ "@backstage/cli": "0.36.4-next.1",
89
+ "@backstage/core-app-api": "1.20.3-next.0",
90
+ "@backstage/test-utils": "1.7.20-next.0",
91
91
  "@testing-library/jest-dom": "^6.0.0",
92
92
  "@testing-library/react": "^16.0.0",
93
93
  "@types/react": "^18.0.0",
@@ -108,6 +108,6 @@
108
108
  "optional": true
109
109
  }
110
110
  },
111
- "configSchema": "config.d.ts",
111
+ "configSchema": "config.schema.json",
112
112
  "module": "./dist/index.esm.js"
113
113
  }
package/config.d.ts DELETED
@@ -1,45 +0,0 @@
1
- /*
2
- * Copyright 2023 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
-
17
- export interface Config {
18
- kubernetes?: {
19
- /**
20
- * Pod Exec Terminal config
21
- */
22
- podExecTerminal?: {
23
- /**
24
- * Enable `PodExecTerminal` UI feature
25
- * @visibility frontend
26
- */
27
- enabled?: boolean;
28
- };
29
- /**
30
- * Frontend config
31
- */
32
- frontend?: {
33
- /**
34
- * Pod Delete config
35
- */
36
- podDelete?: {
37
- /**
38
- * Enable `podDelete` UI feature
39
- * @visibility frontend
40
- */
41
- enabled?: boolean;
42
- };
43
- };
44
- };
45
- }