@backstage/plugin-scaffolder-react 1.19.1-next.1 → 1.19.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,5 +1,29 @@
1
1
  # @backstage/plugin-scaffolder-react
2
2
 
3
+ ## 1.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 58fc108: Fix scaffolder task log stream not having a minimum height
8
+ - Updated dependencies
9
+ - @backstage/plugin-catalog-react@1.21.0
10
+ - @backstage/frontend-plugin-api@0.12.0
11
+ - @backstage/core-plugin-api@1.11.0
12
+ - @backstage/catalog-client@1.12.0
13
+ - @backstage/core-components@0.18.0
14
+ - @backstage/types@1.2.2
15
+ - @backstage/plugin-scaffolder-common@1.7.1
16
+
17
+ ## 1.19.1-next.2
18
+
19
+ ### Patch Changes
20
+
21
+ - 58fc108: Fix scaffolder task log stream not having a minimum height
22
+ - Updated dependencies
23
+ - @backstage/catalog-client@1.12.0-next.0
24
+ - @backstage/plugin-catalog-react@1.21.0-next.2
25
+ - @backstage/core-components@0.17.6-next.1
26
+
3
27
  ## 1.19.1-next.1
4
28
 
5
29
  ### Patch Changes
@@ -6,7 +6,8 @@ const useStyles = makeStyles({
6
6
  root: {
7
7
  width: "100%",
8
8
  height: "100%",
9
- position: "relative"
9
+ position: "relative",
10
+ minHeight: 240
10
11
  }
11
12
  });
12
13
  const TaskLogStream = (props) => {
@@ -1 +1 @@
1
- {"version":3,"file":"TaskLogStream.esm.js","sources":["../../../../src/next/components/TaskLogStream/TaskLogStream.tsx"],"sourcesContent":["/*\n * Copyright 2023 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 { LogViewer } from '@backstage/core-components';\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles({\n root: {\n width: '100%',\n height: '100%',\n position: 'relative',\n },\n});\n\n/**\n * The text of the event stream\n *\n * @alpha\n */\nexport const TaskLogStream = (props: { logs: { [k: string]: string[] } }) => {\n const styles = useStyles();\n return (\n <div className={styles.root}>\n <LogViewer\n text={Object.values(props.logs)\n .map(l => l.join('\\n'))\n .filter(Boolean)\n .join('\\n')}\n />\n </div>\n );\n};\n"],"names":[],"mappings":";;;;AAkBA,MAAM,YAAY,UAAA,CAAW;AAAA,EAC3B,IAAA,EAAM;AAAA,IACJ,KAAA,EAAO,MAAA;AAAA,IACP,MAAA,EAAQ,MAAA;AAAA,IACR,QAAA,EAAU;AAAA;AAEd,CAAC,CAAA;AAOM,MAAM,aAAA,GAAgB,CAAC,KAAA,KAA+C;AAC3E,EAAA,MAAM,SAAS,SAAA,EAAU;AACzB,EAAA,uBACE,GAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAW,MAAA,CAAO,IAAA,EACrB,QAAA,kBAAA,GAAA;AAAA,IAAC,SAAA;AAAA,IAAA;AAAA,MACC,MAAM,MAAA,CAAO,MAAA,CAAO,KAAA,CAAM,IAAI,EAC3B,GAAA,CAAI,CAAA,CAAA,KAAK,CAAA,CAAE,IAAA,CAAK,IAAI,CAAC,CAAA,CACrB,OAAO,OAAO,CAAA,CACd,KAAK,IAAI;AAAA;AAAA,GACd,EACF,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"TaskLogStream.esm.js","sources":["../../../../src/next/components/TaskLogStream/TaskLogStream.tsx"],"sourcesContent":["/*\n * Copyright 2023 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 { LogViewer } from '@backstage/core-components';\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles({\n root: {\n width: '100%',\n height: '100%',\n position: 'relative',\n minHeight: 240,\n },\n});\n\n/**\n * The text of the event stream\n *\n * @alpha\n */\nexport const TaskLogStream = (props: { logs: { [k: string]: string[] } }) => {\n const styles = useStyles();\n return (\n <div className={styles.root}>\n <LogViewer\n text={Object.values(props.logs)\n .map(l => l.join('\\n'))\n .filter(Boolean)\n .join('\\n')}\n />\n </div>\n );\n};\n"],"names":[],"mappings":";;;;AAkBA,MAAM,YAAY,UAAA,CAAW;AAAA,EAC3B,IAAA,EAAM;AAAA,IACJ,KAAA,EAAO,MAAA;AAAA,IACP,MAAA,EAAQ,MAAA;AAAA,IACR,QAAA,EAAU,UAAA;AAAA,IACV,SAAA,EAAW;AAAA;AAEf,CAAC,CAAA;AAOM,MAAM,aAAA,GAAgB,CAAC,KAAA,KAA+C;AAC3E,EAAA,MAAM,SAAS,SAAA,EAAU;AACzB,EAAA,uBACE,GAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAW,MAAA,CAAO,IAAA,EACrB,QAAA,kBAAA,GAAA;AAAA,IAAC,SAAA;AAAA,IAAA;AAAA,MACC,MAAM,MAAA,CAAO,MAAA,CAAO,KAAA,CAAM,IAAI,EAC3B,GAAA,CAAI,CAAA,CAAA,KAAK,CAAA,CAAE,IAAA,CAAK,IAAI,CAAC,CAAA,CACrB,OAAO,OAAO,CAAA,CACd,KAAK,IAAI;AAAA;AAAA,GACd,EACF,CAAA;AAEJ;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-react",
3
- "version": "1.19.1-next.1",
3
+ "version": "1.19.1",
4
4
  "description": "A frontend library that helps other Backstage plugins interact with the Scaffolder",
5
5
  "backstage": {
6
6
  "role": "web-library",
@@ -66,17 +66,17 @@
66
66
  "test": "backstage-cli package test"
67
67
  },
68
68
  "dependencies": {
69
- "@backstage/catalog-client": "1.11.0",
70
- "@backstage/catalog-model": "1.7.5",
71
- "@backstage/core-components": "0.17.6-next.0",
72
- "@backstage/core-plugin-api": "1.10.9",
73
- "@backstage/frontend-plugin-api": "0.11.1-next.0",
74
- "@backstage/plugin-catalog-react": "1.20.2-next.1",
75
- "@backstage/plugin-permission-react": "0.4.36",
76
- "@backstage/plugin-scaffolder-common": "1.7.1-next.0",
77
- "@backstage/theme": "0.6.8",
78
- "@backstage/types": "1.2.1",
79
- "@backstage/version-bridge": "1.0.11",
69
+ "@backstage/catalog-client": "^1.12.0",
70
+ "@backstage/catalog-model": "^1.7.5",
71
+ "@backstage/core-components": "^0.18.0",
72
+ "@backstage/core-plugin-api": "^1.11.0",
73
+ "@backstage/frontend-plugin-api": "^0.12.0",
74
+ "@backstage/plugin-catalog-react": "^1.21.0",
75
+ "@backstage/plugin-permission-react": "^0.4.36",
76
+ "@backstage/plugin-scaffolder-common": "^1.7.1",
77
+ "@backstage/theme": "^0.6.8",
78
+ "@backstage/types": "^1.2.2",
79
+ "@backstage/version-bridge": "^1.0.11",
80
80
  "@material-ui/core": "^4.12.2",
81
81
  "@material-ui/icons": "^4.9.1",
82
82
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -104,12 +104,12 @@
104
104
  "zod-to-json-schema": "^3.20.4"
105
105
  },
106
106
  "devDependencies": {
107
- "@backstage/cli": "0.34.2-next.1",
108
- "@backstage/core-app-api": "1.18.0",
109
- "@backstage/plugin-catalog": "1.31.3-next.1",
110
- "@backstage/plugin-catalog-common": "1.1.5",
111
- "@backstage/plugin-permission-common": "0.9.1",
112
- "@backstage/test-utils": "1.7.11",
107
+ "@backstage/cli": "^0.34.2",
108
+ "@backstage/core-app-api": "^1.19.0",
109
+ "@backstage/plugin-catalog": "^1.31.3",
110
+ "@backstage/plugin-catalog-common": "^1.1.5",
111
+ "@backstage/plugin-permission-common": "^0.9.1",
112
+ "@backstage/test-utils": "^1.7.11",
113
113
  "@testing-library/dom": "^10.0.0",
114
114
  "@testing-library/jest-dom": "^6.0.0",
115
115
  "@testing-library/react": "^16.0.0",