@backstage-community/plugin-sonarqube 1.3.0 → 1.4.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,22 @@
1
1
  # @backstage-community/plugin-sonarqube
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4b874dd: Backstage version bump to v1.56.2
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [4b874dd]
12
+ - @backstage-community/plugin-sonarqube-react@1.4.0
13
+
14
+ ## 1.3.1
15
+
16
+ ### Patch Changes
17
+
18
+ - 8c721b0: Updated `csstype` to v3.2.3
19
+
3
20
  ## 1.3.0
4
21
 
5
22
  ### Minor Changes
package/dist/alpha.d.ts CHANGED
@@ -21,11 +21,11 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
21
21
  kind: "entity-card";
22
22
  name: "card";
23
23
  config: {
24
- filter: _backstage_filter_predicates.FilterPredicate | undefined;
24
+ filter: string | _backstage_filter_predicates.FilterPredicate | undefined;
25
25
  type: "content" | "info" | undefined;
26
26
  };
27
27
  configInput: {
28
- filter?: _backstage_filter_predicates.FilterPredicate | undefined;
28
+ filter?: string | _backstage_filter_predicates.FilterPredicate | undefined;
29
29
  type?: "content" | "info" | undefined;
30
30
  };
31
31
  output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
@@ -48,14 +48,14 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
48
48
  config: {
49
49
  path: string | undefined;
50
50
  title: string | undefined;
51
- filter: _backstage_filter_predicates.FilterPredicate | undefined;
51
+ filter: string | _backstage_filter_predicates.FilterPredicate | undefined;
52
52
  group: string | false | undefined;
53
53
  icon: string | undefined;
54
54
  };
55
55
  configInput: {
56
56
  path?: string | undefined;
57
57
  title?: string | undefined;
58
- filter?: _backstage_filter_predicates.FilterPredicate | undefined;
58
+ filter?: string | _backstage_filter_predicates.FilterPredicate | undefined;
59
59
  group?: string | false | undefined;
60
60
  icon?: string | undefined;
61
61
  };
@@ -2,17 +2,15 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import { makeStyles } from '@material-ui/core/styles';
3
3
  import Typography from '@material-ui/core/Typography';
4
4
 
5
- const useStyles = makeStyles((theme) => {
6
- return {
7
- value: {
8
- fontSize: "1.5rem",
9
- fontWeight: theme.typography.fontWeightMedium
10
- },
11
- compact: {
12
- lineHeight: "1.0"
13
- }
14
- };
15
- });
5
+ const useStyles = makeStyles((theme) => ({
6
+ value: {
7
+ fontSize: "1.5rem",
8
+ fontWeight: theme.typography.fontWeightMedium
9
+ },
10
+ compact: {
11
+ lineHeight: "1.0"
12
+ }
13
+ }));
16
14
  const Value = (props) => {
17
15
  const classes = useStyles();
18
16
  return /* @__PURE__ */ jsx(
@@ -1 +1 @@
1
- {"version":3,"file":"Value.esm.js","sources":["../../../src/components/SonarQubeCard/Value.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 */\n\nimport { makeStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\n\nconst useStyles = makeStyles(theme => {\n return {\n value: {\n fontSize: '1.5rem',\n fontWeight: theme.typography.fontWeightMedium,\n },\n compact: {\n lineHeight: '1.0',\n },\n };\n});\n\nexport const Value = (props: { value?: string; compact?: boolean }) => {\n const classes = useStyles();\n return (\n <Typography\n component=\"span\"\n className={props.compact ? classes.compact : ''}\n classes={{ root: classes.value }}\n >\n {props.value}\n </Typography>\n );\n};\n"],"names":[],"mappings":";;;;AAmBA,MAAM,SAAA,GAAY,WAAW,CAAA,KAAA,KAAS;AACpC,EAAA,OAAO;AAAA,IACL,KAAA,EAAO;AAAA,MACL,QAAA,EAAU,QAAA;AAAA,MACV,UAAA,EAAY,MAAM,UAAA,CAAW;AAAA,KAC/B;AAAA,IACA,OAAA,EAAS;AAAA,MACP,UAAA,EAAY;AAAA;AACd,GACF;AACF,CAAC,CAAA;AAEM,MAAM,KAAA,GAAQ,CAAC,KAAA,KAAiD;AACrE,EAAA,MAAM,UAAU,SAAA,EAAU;AAC1B,EAAA,uBACE,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAU,MAAA;AAAA,MACV,SAAA,EAAW,KAAA,CAAM,OAAA,GAAU,OAAA,CAAQ,OAAA,GAAU,EAAA;AAAA,MAC7C,OAAA,EAAS,EAAE,IAAA,EAAM,OAAA,CAAQ,KAAA,EAAM;AAAA,MAE9B,QAAA,EAAA,KAAA,CAAM;AAAA;AAAA,GACT;AAEJ;;;;"}
1
+ {"version":3,"file":"Value.esm.js","sources":["../../../src/components/SonarQubeCard/Value.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 */\n\nimport { makeStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\n\nconst useStyles = makeStyles(theme => ({\n value: {\n fontSize: '1.5rem',\n fontWeight: theme.typography.fontWeightMedium as number,\n },\n compact: {\n lineHeight: '1.0',\n },\n}));\n\nexport const Value = (props: { value?: string; compact?: boolean }) => {\n const classes = useStyles();\n return (\n <Typography\n component=\"span\"\n className={props.compact ? classes.compact : ''}\n classes={{ root: classes.value }}\n >\n {props.value}\n </Typography>\n );\n};\n"],"names":[],"mappings":";;;;AAmBA,MAAM,SAAA,GAAY,WAAW,CAAA,KAAA,MAAU;AAAA,EACrC,KAAA,EAAO;AAAA,IACL,QAAA,EAAU,QAAA;AAAA,IACV,UAAA,EAAY,MAAM,UAAA,CAAW;AAAA,GAC/B;AAAA,EACA,OAAA,EAAS;AAAA,IACP,UAAA,EAAY;AAAA;AAEhB,CAAA,CAAE,CAAA;AAEK,MAAM,KAAA,GAAQ,CAAC,KAAA,KAAiD;AACrE,EAAA,MAAM,UAAU,SAAA,EAAU;AAC1B,EAAA,uBACE,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAU,MAAA;AAAA,MACV,SAAA,EAAW,KAAA,CAAM,OAAA,GAAU,OAAA,CAAQ,OAAA,GAAU,EAAA;AAAA,MAC7C,OAAA,EAAS,EAAE,IAAA,EAAM,OAAA,CAAQ,KAAA,EAAM;AAAA,MAE9B,QAAA,EAAA,KAAA,CAAM;AAAA;AAAA,GACT;AAEJ;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-sonarqube",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -71,15 +71,15 @@
71
71
  "test": "backstage-cli package test"
72
72
  },
73
73
  "dependencies": {
74
- "@backstage-community/plugin-sonarqube-react": "^1.3.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",
74
+ "@backstage-community/plugin-sonarqube-react": "^1.4.0",
75
+ "@backstage/catalog-model": "^1.10.2",
76
+ "@backstage/core-compat-api": "^0.5.16",
77
+ "@backstage/core-components": "^0.18.15",
78
+ "@backstage/core-plugin-api": "^1.12.11",
79
+ "@backstage/errors": "^1.3.2",
80
+ "@backstage/frontend-app-api": "^0.16.9",
81
+ "@backstage/frontend-plugin-api": "^0.18.2",
82
+ "@backstage/plugin-catalog-react": "^3.3.0",
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.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",
93
+ "@backstage/cli": "^0.36.7",
94
+ "@backstage/core-app-api": "^1.20.6",
95
+ "@backstage/dev-utils": "^1.1.28",
96
+ "@backstage/frontend-test-utils": "^0.6.5",
97
+ "@backstage/test-utils": "^1.7.23",
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",