@backstage/plugin-catalog-import 0.12.3-next.1 → 0.12.3-next.2
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,25 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-import
|
|
2
2
|
|
|
3
|
+
## 0.12.3-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f3c90da: Support button title should be contained in a single menu item
|
|
8
|
+
- 836127c: Updated dependency `@testing-library/react` to `^16.0.0`.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/core-components@0.14.11-next.1
|
|
11
|
+
- @backstage/plugin-catalog-react@1.13.0-next.2
|
|
12
|
+
- @backstage/integration-react@1.1.31-next.0
|
|
13
|
+
- @backstage/catalog-client@1.7.0-next.1
|
|
14
|
+
- @backstage/integration@1.15.0-next.0
|
|
15
|
+
- @backstage/core-compat-api@0.3.0-next.2
|
|
16
|
+
- @backstage/core-plugin-api@1.9.4-next.0
|
|
17
|
+
- @backstage/frontend-plugin-api@0.8.0-next.2
|
|
18
|
+
- @backstage/catalog-model@1.6.0
|
|
19
|
+
- @backstage/config@1.2.0
|
|
20
|
+
- @backstage/errors@1.2.4
|
|
21
|
+
- @backstage/plugin-catalog-common@1.0.26
|
|
22
|
+
|
|
3
23
|
## 0.12.3-next.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/alpha/package.json
CHANGED
|
@@ -42,11 +42,12 @@ const DefaultImportPage = () => {
|
|
|
42
42
|
const configApi = useApi(configApiRef);
|
|
43
43
|
const isMobile = useMediaQuery(theme.breakpoints.down("sm"));
|
|
44
44
|
const appTitle = configApi.getOptionalString("app.title") || "Backstage";
|
|
45
|
+
const supportTitle = `Start tracking your component in ${appTitle} by adding it to the software catalog.`;
|
|
45
46
|
const contentItems = [
|
|
46
47
|
/* @__PURE__ */ React.createElement(Grid, { key: 0, item: true, xs: 12, md: 4, lg: 6, xl: 8 }, /* @__PURE__ */ React.createElement(ImportInfoCard, null)),
|
|
47
48
|
/* @__PURE__ */ React.createElement(Grid, { key: 1, item: true, xs: 12, md: 8, lg: 6, xl: 4 }, /* @__PURE__ */ React.createElement(ImportStepper, null))
|
|
48
49
|
];
|
|
49
|
-
return /* @__PURE__ */ React.createElement(Page, { themeId: "home" }, /* @__PURE__ */ React.createElement(Header, { title: "Register an existing component" }), /* @__PURE__ */ React.createElement(Content, null, /* @__PURE__ */ React.createElement(ContentHeader, { title: `Start tracking your component in ${appTitle}` }, /* @__PURE__ */ React.createElement(SupportButton, null,
|
|
50
|
+
return /* @__PURE__ */ React.createElement(Page, { themeId: "home" }, /* @__PURE__ */ React.createElement(Header, { title: "Register an existing component" }), /* @__PURE__ */ React.createElement(Content, null, /* @__PURE__ */ React.createElement(ContentHeader, { title: `Start tracking your component in ${appTitle}` }, /* @__PURE__ */ React.createElement(SupportButton, null, supportTitle)), /* @__PURE__ */ React.createElement(Grid, { container: true, spacing: 2 }, isMobile ? contentItems : contentItems.reverse())));
|
|
50
51
|
};
|
|
51
52
|
|
|
52
53
|
export { DefaultImportPage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultImportPage.esm.js","sources":["../../../src/components/DefaultImportPage/DefaultImportPage.tsx"],"sourcesContent":["/*\n * Copyright 2021 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 {\n Content,\n ContentHeader,\n Header,\n Page,\n SupportButton,\n} from '@backstage/core-components';\nimport { configApiRef, useApi } from '@backstage/core-plugin-api';\nimport Grid from '@material-ui/core/Grid';\nimport useMediaQuery from '@material-ui/core/useMediaQuery';\nimport { useTheme } from '@material-ui/core/styles';\nimport React from 'react';\nimport { ImportInfoCard } from '../ImportInfoCard';\nimport { ImportStepper } from '../ImportStepper';\n\n/**\n * The default catalog import page.\n *\n * @public\n */\nexport const DefaultImportPage = () => {\n const theme = useTheme();\n const configApi = useApi(configApiRef);\n const isMobile = useMediaQuery(theme.breakpoints.down('sm'));\n const appTitle = configApi.getOptionalString('app.title') || 'Backstage';\n\n const contentItems = [\n <Grid key={0} item xs={12} md={4} lg={6} xl={8}>\n <ImportInfoCard />\n </Grid>,\n\n <Grid key={1} item xs={12} md={8} lg={6} xl={4}>\n <ImportStepper />\n </Grid>,\n ];\n\n return (\n <Page themeId=\"home\">\n <Header title=\"Register an existing component\" />\n <Content>\n <ContentHeader title={`Start tracking your component in ${appTitle}`}>\n <SupportButton
|
|
1
|
+
{"version":3,"file":"DefaultImportPage.esm.js","sources":["../../../src/components/DefaultImportPage/DefaultImportPage.tsx"],"sourcesContent":["/*\n * Copyright 2021 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 {\n Content,\n ContentHeader,\n Header,\n Page,\n SupportButton,\n} from '@backstage/core-components';\nimport { configApiRef, useApi } from '@backstage/core-plugin-api';\nimport Grid from '@material-ui/core/Grid';\nimport useMediaQuery from '@material-ui/core/useMediaQuery';\nimport { useTheme } from '@material-ui/core/styles';\nimport React from 'react';\nimport { ImportInfoCard } from '../ImportInfoCard';\nimport { ImportStepper } from '../ImportStepper';\n\n/**\n * The default catalog import page.\n *\n * @public\n */\nexport const DefaultImportPage = () => {\n const theme = useTheme();\n const configApi = useApi(configApiRef);\n const isMobile = useMediaQuery(theme.breakpoints.down('sm'));\n const appTitle = configApi.getOptionalString('app.title') || 'Backstage';\n\n const supportTitle = `Start tracking your component in ${appTitle} by adding it to the software catalog.`;\n\n const contentItems = [\n <Grid key={0} item xs={12} md={4} lg={6} xl={8}>\n <ImportInfoCard />\n </Grid>,\n\n <Grid key={1} item xs={12} md={8} lg={6} xl={4}>\n <ImportStepper />\n </Grid>,\n ];\n\n return (\n <Page themeId=\"home\">\n <Header title=\"Register an existing component\" />\n <Content>\n <ContentHeader title={`Start tracking your component in ${appTitle}`}>\n <SupportButton>{supportTitle}</SupportButton>\n </ContentHeader>\n\n <Grid container spacing={2}>\n {isMobile ? contentItems : contentItems.reverse()}\n </Grid>\n </Content>\n </Page>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCO,MAAM,oBAAoB,MAAM;AACrC,EAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,EAAM,MAAA,SAAA,GAAY,OAAO,YAAY,CAAA,CAAA;AACrC,EAAA,MAAM,WAAW,aAAc,CAAA,KAAA,CAAM,WAAY,CAAA,IAAA,CAAK,IAAI,CAAC,CAAA,CAAA;AAC3D,EAAA,MAAM,QAAW,GAAA,SAAA,CAAU,iBAAkB,CAAA,WAAW,CAAK,IAAA,WAAA,CAAA;AAE7D,EAAM,MAAA,YAAA,GAAe,oCAAoC,QAAQ,CAAA,sCAAA,CAAA,CAAA;AAEjE,EAAA,MAAM,YAAe,GAAA;AAAA,wCAClB,IAAK,EAAA,EAAA,GAAA,EAAK,CAAG,EAAA,IAAA,EAAI,MAAC,EAAI,EAAA,EAAA,EAAI,EAAI,EAAA,CAAA,EAAG,IAAI,CAAG,EAAA,EAAA,EAAI,CAC3C,EAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,oBAAe,CAClB,CAAA;AAAA,wCAEC,IAAK,EAAA,EAAA,GAAA,EAAK,CAAG,EAAA,IAAA,EAAI,MAAC,EAAI,EAAA,EAAA,EAAI,EAAI,EAAA,CAAA,EAAG,IAAI,CAAG,EAAA,EAAA,EAAI,CAC3C,EAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,mBAAc,CACjB,CAAA;AAAA,GACF,CAAA;AAEA,EAAA,uBACG,KAAA,CAAA,aAAA,CAAA,IAAA,EAAA,EAAK,OAAQ,EAAA,MAAA,EAAA,sCACX,MAAO,EAAA,EAAA,KAAA,EAAM,gCAAiC,EAAA,CAAA,sCAC9C,OACC,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,aAAc,EAAA,EAAA,KAAA,EAAO,oCAAoC,QAAQ,CAAA,CAAA,EAAA,kBAC/D,KAAA,CAAA,aAAA,CAAA,aAAA,EAAA,IAAA,EAAe,YAAa,CAC/B,CAEA,kBAAA,KAAA,CAAA,aAAA,CAAC,QAAK,SAAS,EAAA,IAAA,EAAC,OAAS,EAAA,CAAA,EAAA,EACtB,WAAW,YAAe,GAAA,YAAA,CAAa,OAAQ,EAClD,CACF,CACF,CAAA,CAAA;AAEJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-import",
|
|
3
|
-
"version": "0.12.3-next.
|
|
3
|
+
"version": "0.12.3-next.2",
|
|
4
4
|
"description": "A Backstage plugin the helps you import entities into your catalog",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -53,18 +53,18 @@
|
|
|
53
53
|
"test": "backstage-cli package test"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@backstage/catalog-client": "^1.
|
|
56
|
+
"@backstage/catalog-client": "^1.7.0-next.1",
|
|
57
57
|
"@backstage/catalog-model": "^1.6.0",
|
|
58
58
|
"@backstage/config": "^1.2.0",
|
|
59
|
-
"@backstage/core-compat-api": "^0.3.0-next.
|
|
60
|
-
"@backstage/core-components": "^0.14.11-next.
|
|
61
|
-
"@backstage/core-plugin-api": "^1.9.
|
|
59
|
+
"@backstage/core-compat-api": "^0.3.0-next.2",
|
|
60
|
+
"@backstage/core-components": "^0.14.11-next.1",
|
|
61
|
+
"@backstage/core-plugin-api": "^1.9.4-next.0",
|
|
62
62
|
"@backstage/errors": "^1.2.4",
|
|
63
|
-
"@backstage/frontend-plugin-api": "^0.8.0-next.
|
|
64
|
-
"@backstage/integration": "^1.
|
|
65
|
-
"@backstage/integration-react": "^1.1.
|
|
63
|
+
"@backstage/frontend-plugin-api": "^0.8.0-next.2",
|
|
64
|
+
"@backstage/integration": "^1.15.0-next.0",
|
|
65
|
+
"@backstage/integration-react": "^1.1.31-next.0",
|
|
66
66
|
"@backstage/plugin-catalog-common": "^1.0.26",
|
|
67
|
-
"@backstage/plugin-catalog-react": "^1.
|
|
67
|
+
"@backstage/plugin-catalog-react": "^1.13.0-next.2",
|
|
68
68
|
"@material-ui/core": "^4.12.2",
|
|
69
69
|
"@material-ui/icons": "^4.9.1",
|
|
70
70
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -78,14 +78,14 @@
|
|
|
78
78
|
"yaml": "^2.0.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@backstage/cli": "^0.27.1-next.
|
|
82
|
-
"@backstage/core-app-api": "^1.14.
|
|
83
|
-
"@backstage/dev-utils": "^1.0
|
|
84
|
-
"@backstage/plugin-catalog": "^1.
|
|
85
|
-
"@backstage/test-utils": "^1.6.0-next.
|
|
81
|
+
"@backstage/cli": "^0.27.1-next.2",
|
|
82
|
+
"@backstage/core-app-api": "^1.14.3-next.0",
|
|
83
|
+
"@backstage/dev-utils": "^1.1.0-next.2",
|
|
84
|
+
"@backstage/plugin-catalog": "^1.23.0-next.2",
|
|
85
|
+
"@backstage/test-utils": "^1.6.0-next.1",
|
|
86
86
|
"@testing-library/dom": "^10.0.0",
|
|
87
87
|
"@testing-library/jest-dom": "^6.0.0",
|
|
88
|
-
"@testing-library/react": "^
|
|
88
|
+
"@testing-library/react": "^16.0.0",
|
|
89
89
|
"@testing-library/user-event": "^14.0.0",
|
|
90
90
|
"msw": "^1.0.0"
|
|
91
91
|
},
|