@backstage-community/plugin-sonarqube 1.1.0 → 1.2.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,18 @@
1
1
  # @backstage-community/plugin-sonarqube
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 65ec51e: Backstage version bump to v1.50.2
8
+ - 70c356d: Backstage version bump to v1.54.5
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [65ec51e]
13
+ - Updated dependencies [70c356d]
14
+ - @backstage-community/plugin-sonarqube-react@1.2.0
15
+
3
16
  ## 1.1.0
4
17
 
5
18
  ### Minor Changes
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "sonarqube": {
6
+ "type": "object",
7
+ "properties": {
8
+ "baseUrl": {
9
+ "type": "string",
10
+ "description": "The base url of the sonarqube installation. Defaults to https://sonarcloud.io.",
11
+ "visibility": "frontend"
12
+ },
13
+ "externalBaseUrl": {
14
+ "type": "string",
15
+ "description": "The external url of the sonarqube installation. Use this if you want to use a different url for the frontend than the backend.",
16
+ "visibility": "frontend"
17
+ },
18
+ "instances": {
19
+ "type": "array",
20
+ "items": {
21
+ "type": "object",
22
+ "properties": {
23
+ "name": {
24
+ "type": "string",
25
+ "description": "The name of the sonarqube instance.",
26
+ "visibility": "frontend"
27
+ },
28
+ "baseUrl": {
29
+ "type": "string",
30
+ "description": "The base url of the sonarqube instance.",
31
+ "visibility": "frontend"
32
+ },
33
+ "externalBaseUrl": {
34
+ "type": "string",
35
+ "description": "The external url of the sonarqube instance. Use this if you want to use a different url for the frontend than the backend.",
36
+ "visibility": "frontend"
37
+ }
38
+ },
39
+ "required": [
40
+ "name",
41
+ "baseUrl"
42
+ ]
43
+ },
44
+ "description": "The optional sonarqube instances.",
45
+ "visibility": "frontend"
46
+ }
47
+ },
48
+ "description": "Optional configurations for the SonarQube plugin"
49
+ }
50
+ }
51
+ }
package/dist/alpha.d.ts CHANGED
@@ -53,9 +53,9 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
53
53
  icon: string | undefined;
54
54
  };
55
55
  configInput: {
56
- filter?: _backstage_filter_predicates.FilterPredicate | undefined;
57
- title?: string | undefined;
58
56
  path?: string | undefined;
57
+ title?: string | undefined;
58
+ filter?: _backstage_filter_predicates.FilterPredicate | undefined;
59
59
  group?: string | false | undefined;
60
60
  icon?: string | undefined;
61
61
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-sonarqube",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -59,7 +59,7 @@
59
59
  "files": [
60
60
  "dist",
61
61
  "alpha",
62
- "config.d.ts"
62
+ "config.schema.json"
63
63
  ],
64
64
  "scripts": {
65
65
  "build": "backstage-cli package build",
@@ -71,15 +71,15 @@
71
71
  "test": "backstage-cli package test"
72
72
  },
73
73
  "dependencies": {
74
- "@backstage-community/plugin-sonarqube-react": "^1.1.0",
75
- "@backstage/catalog-model": "^1.7.7",
76
- "@backstage/core-compat-api": "^0.5.9",
77
- "@backstage/core-components": "^0.18.8",
78
- "@backstage/core-plugin-api": "^1.12.4",
79
- "@backstage/errors": "^1.2.7",
80
- "@backstage/frontend-app-api": "^0.16.1",
81
- "@backstage/frontend-plugin-api": "^0.15.1",
82
- "@backstage/plugin-catalog-react": "^2.1.1",
74
+ "@backstage-community/plugin-sonarqube-react": "^1.2.0",
75
+ "@backstage/catalog-model": "^1.10.0",
76
+ "@backstage/core-compat-api": "^0.5.14",
77
+ "@backstage/core-components": "^0.18.13",
78
+ "@backstage/core-plugin-api": "^1.12.9",
79
+ "@backstage/errors": "^1.3.1",
80
+ "@backstage/frontend-app-api": "^0.16.7",
81
+ "@backstage/frontend-plugin-api": "^0.18.0",
82
+ "@backstage/plugin-catalog-react": "^3.2.2",
83
83
  "@material-ui/core": "^4.12.2",
84
84
  "@material-ui/icons": "^4.9.1",
85
85
  "@material-ui/styles": "^4.10.0",
@@ -90,11 +90,11 @@
90
90
  "react-use": "^17.2.4"
91
91
  },
92
92
  "devDependencies": {
93
- "@backstage/cli": "^0.36.0",
94
- "@backstage/core-app-api": "^1.19.6",
95
- "@backstage/dev-utils": "^1.1.21",
96
- "@backstage/frontend-test-utils": "^0.5.1",
97
- "@backstage/test-utils": "^1.7.16",
93
+ "@backstage/cli": "^0.36.5",
94
+ "@backstage/core-app-api": "^1.20.4",
95
+ "@backstage/dev-utils": "^1.1.26",
96
+ "@backstage/frontend-test-utils": "^0.6.3",
97
+ "@backstage/test-utils": "^1.7.21",
98
98
  "@testing-library/dom": "^10.0.0",
99
99
  "@testing-library/jest-dom": "^6.0.0",
100
100
  "@testing-library/react": "^15.0.0",
@@ -109,6 +109,6 @@
109
109
  "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
110
110
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
111
111
  },
112
- "configSchema": "config.d.ts",
112
+ "configSchema": "config.schema.json",
113
113
  "module": "./dist/index.esm.js"
114
114
  }
package/config.d.ts DELETED
@@ -1,58 +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
-
17
- export interface Config {
18
- /** Optional configurations for the SonarQube plugin */
19
- sonarqube?: {
20
- /**
21
- * The base url of the sonarqube installation. Defaults to https://sonarcloud.io.
22
- * @visibility frontend
23
- */
24
- baseUrl?: string;
25
-
26
- /**
27
- * The external url of the sonarqube installation.
28
- * Use this if you want to use a different url for the frontend than the backend.
29
- * @visibility frontend
30
- */
31
- externalBaseUrl?: string;
32
-
33
- /**
34
- * The optional sonarqube instances.
35
- * @visibility frontend
36
- */
37
- instances?: Array<{
38
- /**
39
- * The name of the sonarqube instance.
40
- * @visibility frontend
41
- */
42
- name: string;
43
-
44
- /**
45
- * The base url of the sonarqube instance.
46
- * @visibility frontend
47
- */
48
- baseUrl: string;
49
-
50
- /**
51
- * The external url of the sonarqube instance.
52
- * Use this if you want to use a different url for the frontend than the backend.
53
- * @visibility frontend
54
- */
55
- externalBaseUrl?: string;
56
- }>;
57
- };
58
- }