@backstage-community/plugin-sonarqube 0.16.2 → 0.18.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,27 @@
1
1
  # @backstage-community/plugin-sonarqube
2
2
 
3
+ ## 0.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - dcffece: Backstage version bump to v1.42.3
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [dcffece]
12
+ - @backstage-community/plugin-sonarqube-react@0.10.0
13
+
14
+ ## 0.17.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 6d6b976: Backstage version bump to v1.41.1
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [6d6b976]
23
+ - @backstage-community/plugin-sonarqube-react@0.9.0
24
+
3
25
  ## 0.16.2
4
26
 
5
27
  ### Patch Changes
@@ -1,22 +1,20 @@
1
- import { ApiBlueprint, createApiFactory } from '@backstage/frontend-plugin-api';
1
+ import { ApiBlueprint } from '@backstage/frontend-plugin-api';
2
2
  import { SonarQubeClient } from '../api/SonarQubeClient.esm.js';
3
3
  import { sonarQubeApiRef } from '@backstage-community/plugin-sonarqube-react';
4
4
  import { discoveryApiRef, fetchApiRef } from '@backstage/core-plugin-api';
5
5
 
6
6
  const sonarQubeApi = ApiBlueprint.make({
7
- params: {
8
- factory: createApiFactory({
9
- api: sonarQubeApiRef,
10
- deps: {
11
- discoveryApi: discoveryApiRef,
12
- fetchApi: fetchApiRef
13
- },
14
- factory: ({ discoveryApi, fetchApi }) => new SonarQubeClient({
15
- discoveryApi,
16
- fetchApi
17
- })
7
+ params: (defineParams) => defineParams({
8
+ api: sonarQubeApiRef,
9
+ deps: {
10
+ discoveryApi: discoveryApiRef,
11
+ fetchApi: fetchApiRef
12
+ },
13
+ factory: ({ discoveryApi, fetchApi }) => new SonarQubeClient({
14
+ discoveryApi,
15
+ fetchApi
18
16
  })
19
- }
17
+ })
20
18
  });
21
19
 
22
20
  export { sonarQubeApi };
@@ -1 +1 @@
1
- {"version":3,"file":"apis.esm.js","sources":["../../src/alpha/apis.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ApiBlueprint, createApiFactory } from '@backstage/frontend-plugin-api';\nimport { SonarQubeClient } from '../api';\nimport { sonarQubeApiRef } from '@backstage-community/plugin-sonarqube-react';\nimport { discoveryApiRef, fetchApiRef } from '@backstage/core-plugin-api';\n\n/**\n * @alpha\n */\nexport const sonarQubeApi = ApiBlueprint.make({\n params: {\n factory: createApiFactory({\n api: sonarQubeApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n },\n factory: ({ discoveryApi, fetchApi }) =>\n new SonarQubeClient({\n discoveryApi,\n fetchApi,\n }),\n }),\n },\n});\n"],"names":[],"mappings":";;;;;AAuBa,MAAA,YAAA,GAAe,aAAa,IAAK,CAAA;AAAA,EAC5C,MAAQ,EAAA;AAAA,IACN,SAAS,gBAAiB,CAAA;AAAA,MACxB,GAAK,EAAA,eAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,YAAc,EAAA,eAAA;AAAA,QACd,QAAU,EAAA;AAAA,OACZ;AAAA,MACA,SAAS,CAAC,EAAE,cAAc,QAAS,EAAA,KACjC,IAAI,eAAgB,CAAA;AAAA,QAClB,YAAA;AAAA,QACA;AAAA,OACD;AAAA,KACJ;AAAA;AAEL,CAAC;;;;"}
1
+ {"version":3,"file":"apis.esm.js","sources":["../../src/alpha/apis.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ApiBlueprint } from '@backstage/frontend-plugin-api';\nimport { SonarQubeClient } from '../api';\nimport { sonarQubeApiRef } from '@backstage-community/plugin-sonarqube-react';\nimport { discoveryApiRef, fetchApiRef } from '@backstage/core-plugin-api';\n\n/**\n * @alpha\n */\nexport const sonarQubeApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: sonarQubeApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n },\n factory: ({ discoveryApi, fetchApi }) =>\n new SonarQubeClient({\n discoveryApi,\n fetchApi,\n }),\n }),\n});\n"],"names":[],"mappings":";;;;;AAuBa,MAAA,YAAA,GAAe,aAAa,IAAK,CAAA;AAAA,EAC5C,MAAA,EAAQ,kBACN,YAAa,CAAA;AAAA,IACX,GAAK,EAAA,eAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,YAAc,EAAA,eAAA;AAAA,MACd,QAAU,EAAA;AAAA,KACZ;AAAA,IACA,SAAS,CAAC,EAAE,cAAc,QAAS,EAAA,KACjC,IAAI,eAAgB,CAAA;AAAA,MAClB,YAAA;AAAA,MACA;AAAA,KACD;AAAA,GACJ;AACL,CAAC;;;;"}
@@ -5,8 +5,8 @@ import { isSonarQubeAvailable } from '@backstage-community/plugin-sonarqube-reac
5
5
  const entitySonarQubeContent = EntityContentBlueprint.make({
6
6
  name: "entity",
7
7
  params: {
8
- defaultPath: "sonarqube",
9
- defaultTitle: "SonarQube",
8
+ path: "/sonarqube",
9
+ title: "SonarQube",
10
10
  filter: isSonarQubeAvailable,
11
11
  loader: () => import('../components/SonarQubeContentPage/index.esm.js').then((m) => /* @__PURE__ */ jsx(m.SonarQubeContentPage, {}))
12
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"entityContent.esm.js","sources":["../../src/alpha/entityContent.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport { isSonarQubeAvailable } from '@backstage-community/plugin-sonarqube-react';\n\n/**\n * @alpha\n */\nexport const entitySonarQubeContent = EntityContentBlueprint.make({\n name: 'entity',\n params: {\n defaultPath: 'sonarqube',\n defaultTitle: 'SonarQube',\n filter: isSonarQubeAvailable,\n loader: () =>\n import('../components/SonarQubeContentPage').then(m => (\n <m.SonarQubeContentPage />\n )),\n },\n});\n"],"names":[],"mappings":";;;;AAqBa,MAAA,sBAAA,GAAyB,uBAAuB,IAAK,CAAA;AAAA,EAChE,IAAM,EAAA,QAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,WAAa,EAAA,WAAA;AAAA,IACb,YAAc,EAAA,WAAA;AAAA,IACd,MAAQ,EAAA,oBAAA;AAAA,IACR,MAAA,EAAQ,MACN,OAAO,iDAAoC,CAAA,CAAE,IAAK,CAAA,CAAA,CAAA,qBAC/C,GAAA,CAAA,CAAA,CAAE,oBAAF,EAAA,EAAuB,CACzB;AAAA;AAEP,CAAC;;;;"}
1
+ {"version":3,"file":"entityContent.esm.js","sources":["../../src/alpha/entityContent.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport { isSonarQubeAvailable } from '@backstage-community/plugin-sonarqube-react';\n\n/**\n * @alpha\n */\nexport const entitySonarQubeContent = EntityContentBlueprint.make({\n name: 'entity',\n params: {\n path: '/sonarqube',\n title: 'SonarQube',\n filter: isSonarQubeAvailable,\n loader: () =>\n import('../components/SonarQubeContentPage').then(m => (\n <m.SonarQubeContentPage />\n )),\n },\n});\n"],"names":[],"mappings":";;;;AAqBa,MAAA,sBAAA,GAAyB,uBAAuB,IAAK,CAAA;AAAA,EAChE,IAAM,EAAA,QAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,YAAA;AAAA,IACN,KAAO,EAAA,WAAA;AAAA,IACP,MAAQ,EAAA,oBAAA;AAAA,IACR,MAAA,EAAQ,MACN,OAAO,iDAAoC,CAAA,CAAE,IAAK,CAAA,CAAA,CAAA,qBAC/C,GAAA,CAAA,CAAA,CAAE,oBAAF,EAAA,EAAuB,CACzB;AAAA;AAEP,CAAC;;;;"}
@@ -4,7 +4,7 @@ import { sonarQubeApi } from './apis.esm.js';
4
4
  import { entitySonarQubeContent } from './entityContent.esm.js';
5
5
 
6
6
  var plugin = createFrontendPlugin({
7
- id: "sonarqube",
7
+ pluginId: "sonarqube",
8
8
  extensions: [sonarQubeApi, entitySonarQubeCard, entitySonarQubeContent]
9
9
  });
10
10
 
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createFrontendPlugin } from '@backstage/frontend-plugin-api';\nimport { entitySonarQubeCard } from './entityCard';\nimport { sonarQubeApi } from './apis';\nimport { entitySonarQubeContent } from './entityContent';\n\n/**\n * @alpha\n */\nexport default createFrontendPlugin({\n id: 'sonarqube',\n extensions: [sonarQubeApi, entitySonarQubeCard, entitySonarQubeContent],\n});\n"],"names":[],"mappings":";;;;;AAuBA,aAAe,oBAAqB,CAAA;AAAA,EAClC,EAAI,EAAA,WAAA;AAAA,EACJ,UAAY,EAAA,CAAC,YAAc,EAAA,mBAAA,EAAqB,sBAAsB;AACxE,CAAC,CAAA;;;;"}
1
+ {"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createFrontendPlugin } from '@backstage/frontend-plugin-api';\nimport { entitySonarQubeCard } from './entityCard';\nimport { sonarQubeApi } from './apis';\nimport { entitySonarQubeContent } from './entityContent';\n\n/**\n * @alpha\n */\nexport default createFrontendPlugin({\n pluginId: 'sonarqube',\n extensions: [sonarQubeApi, entitySonarQubeCard, entitySonarQubeContent],\n});\n"],"names":[],"mappings":";;;;;AAuBA,aAAe,oBAAqB,CAAA;AAAA,EAClC,QAAU,EAAA,WAAA;AAAA,EACV,UAAY,EAAA,CAAC,YAAc,EAAA,mBAAA,EAAqB,sBAAsB;AACxE,CAAC,CAAA;;;;"}
package/dist/alpha.d.ts CHANGED
@@ -3,6 +3,6 @@ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api'
3
3
  /**
4
4
  * @alpha
5
5
  */
6
- declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {}>;
6
+ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{}, {}, {}>;
7
7
 
8
8
  export { _default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-sonarqube",
3
- "version": "0.16.2",
3
+ "version": "0.18.0",
4
4
  "description": "",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -71,14 +71,14 @@
71
71
  "test": "backstage-cli package test"
72
72
  },
73
73
  "dependencies": {
74
- "@backstage-community/plugin-sonarqube-react": "^0.8.1",
75
- "@backstage/catalog-model": "^1.7.4",
76
- "@backstage/core-compat-api": "^0.4.3",
77
- "@backstage/core-components": "^0.17.3",
78
- "@backstage/core-plugin-api": "^1.10.8",
79
- "@backstage/frontend-app-api": "^0.11.3",
80
- "@backstage/frontend-plugin-api": "^0.10.3",
81
- "@backstage/plugin-catalog-react": "^1.19.0",
74
+ "@backstage-community/plugin-sonarqube-react": "^0.10.0",
75
+ "@backstage/catalog-model": "^1.7.5",
76
+ "@backstage/core-compat-api": "^0.5.1",
77
+ "@backstage/core-components": "^0.17.5",
78
+ "@backstage/core-plugin-api": "^1.10.9",
79
+ "@backstage/frontend-app-api": "^0.12.0",
80
+ "@backstage/frontend-plugin-api": "^0.11.0",
81
+ "@backstage/plugin-catalog-react": "^1.20.1",
82
82
  "@material-ui/core": "^4.12.2",
83
83
  "@material-ui/icons": "^4.9.1",
84
84
  "@material-ui/styles": "^4.10.0",
@@ -89,11 +89,11 @@
89
89
  "react-use": "^17.2.4"
90
90
  },
91
91
  "devDependencies": {
92
- "@backstage/cli": "^0.33.0",
93
- "@backstage/core-app-api": "^1.17.1",
94
- "@backstage/dev-utils": "^1.1.11",
95
- "@backstage/frontend-test-utils": "^0.3.3",
96
- "@backstage/test-utils": "^1.7.9",
92
+ "@backstage/cli": "^0.34.0",
93
+ "@backstage/core-app-api": "^1.18.0",
94
+ "@backstage/dev-utils": "^1.1.13",
95
+ "@backstage/frontend-test-utils": "^0.3.5",
96
+ "@backstage/test-utils": "^1.7.11",
97
97
  "@testing-library/dom": "^10.0.0",
98
98
  "@testing-library/jest-dom": "^6.0.0",
99
99
  "@testing-library/react": "^15.0.0",