@backstage-community/plugin-graphql-voyager 0.5.1 → 0.7.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 +12 -0
- package/dist/components/GraphQLVoyagerBrowser/GraphQLVoyagerBrowser.esm.js +20 -16
- package/dist/components/GraphQLVoyagerBrowser/GraphQLVoyagerBrowser.esm.js.map +1 -1
- package/dist/components/GraphQLVoyagerPage/GraphQLVoyagerPage.esm.js +8 -5
- package/dist/components/GraphQLVoyagerPage/GraphQLVoyagerPage.esm.js.map +1 -1
- package/dist/index.d.ts +3 -5
- package/package.json +12 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage-community/plugin-graphql-voyager
|
|
2
2
|
|
|
3
|
+
## 0.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 10f80d4: Backstage version bump to v1.39.0
|
|
8
|
+
|
|
9
|
+
## 0.6.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- abd0927: Backstage version bump to v1.38.1
|
|
14
|
+
|
|
3
15
|
## 0.5.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
1
2
|
import { introspectionQuery } from '../../lib/api/types.esm.js';
|
|
2
|
-
import
|
|
3
|
+
import { useState, Suspense } from 'react';
|
|
3
4
|
import Tab from '@material-ui/core/Tab';
|
|
4
5
|
import Tabs from '@material-ui/core/Tabs';
|
|
5
6
|
import Typography from '@material-ui/core/Typography';
|
|
@@ -16,7 +17,7 @@ const useStyles = makeStyles({
|
|
|
16
17
|
}
|
|
17
18
|
});
|
|
18
19
|
const NoEndpoints = () => {
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
+
return /* @__PURE__ */ jsx(Typography, { variant: "h4", children: "No endpoints available" });
|
|
20
21
|
};
|
|
21
22
|
const VoyagerBrowserContent = ({
|
|
22
23
|
endpoint
|
|
@@ -27,32 +28,35 @@ const VoyagerBrowserContent = ({
|
|
|
27
28
|
[endpoint]
|
|
28
29
|
);
|
|
29
30
|
if (loading) {
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
+
return /* @__PURE__ */ jsx(Progress, {});
|
|
31
32
|
} else if (error) {
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
+
return /* @__PURE__ */ jsx(ErrorPanel, { error });
|
|
33
34
|
}
|
|
34
|
-
return value.data ? /* @__PURE__ */
|
|
35
|
+
return value.data ? /* @__PURE__ */ jsx(Voyager, { introspection: value, ...voyagerProps }, id) : /* @__PURE__ */ jsx(Typography, { variant: "h4", color: "error", children: introspectionErrorMessage });
|
|
35
36
|
};
|
|
36
37
|
const VoyagerBrowser = (props) => {
|
|
37
38
|
const { endpoints } = props;
|
|
38
39
|
const [tabIndex, setTabIndex] = useState(0);
|
|
39
40
|
const classes = useStyles();
|
|
40
|
-
return /* @__PURE__ */
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
return /* @__PURE__ */ jsx("div", { className: classes.root, children: /* @__PURE__ */ jsxs(Suspense, { fallback: /* @__PURE__ */ jsx(Progress, {}), children: [
|
|
42
|
+
/* @__PURE__ */ jsx(
|
|
43
|
+
Tabs,
|
|
44
|
+
{
|
|
45
|
+
value: tabIndex,
|
|
46
|
+
onChange: (_, value) => setTabIndex(value),
|
|
47
|
+
indicatorColor: "primary",
|
|
48
|
+
children: endpoints.map(({ title, id }, index) => /* @__PURE__ */ jsx(Tab, { label: title, value: index }, id))
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
/* @__PURE__ */ jsx(Content, { children: /* @__PURE__ */ jsx(VoyagerBrowserContent, { endpoint: endpoints[tabIndex] }) })
|
|
52
|
+
] }) });
|
|
49
53
|
};
|
|
50
54
|
const GraphQLVoyagerBrowser = (props) => {
|
|
51
55
|
const hasEndpoints = checkEndpoints(props);
|
|
52
56
|
if (!hasEndpoints) {
|
|
53
|
-
return /* @__PURE__ */
|
|
57
|
+
return /* @__PURE__ */ jsx(NoEndpoints, {});
|
|
54
58
|
}
|
|
55
|
-
return /* @__PURE__ */
|
|
59
|
+
return /* @__PURE__ */ jsx(VoyagerBrowser, { ...props });
|
|
56
60
|
};
|
|
57
61
|
function checkEndpoints(props) {
|
|
58
62
|
return props.endpoints.length;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GraphQLVoyagerBrowser.esm.js","sources":["../../../src/components/GraphQLVoyagerBrowser/GraphQLVoyagerBrowser.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 */\n\nimport {\n GraphQLVoyagerEndpoint,\n introspectionQuery,\n} from '../../lib/api/types';\nimport { useState } from 'react';\nimport Tab from '@material-ui/core/Tab';\nimport Tabs from '@material-ui/core/Tabs';\nimport Typography from '@material-ui/core/Typography';\nimport { makeStyles } from '@material-ui/core/styles';\nimport
|
|
1
|
+
{"version":3,"file":"GraphQLVoyagerBrowser.esm.js","sources":["../../../src/components/GraphQLVoyagerBrowser/GraphQLVoyagerBrowser.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 */\n\nimport {\n GraphQLVoyagerEndpoint,\n introspectionQuery,\n} from '../../lib/api/types';\nimport { useState } from 'react';\nimport Tab from '@material-ui/core/Tab';\nimport Tabs from '@material-ui/core/Tabs';\nimport Typography from '@material-ui/core/Typography';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { Suspense } from 'react';\nimport { Content, ErrorPanel, Progress } from '@backstage/core-components';\nimport { Voyager } from 'graphql-voyager';\nimport useAsync from 'react-use/esm/useAsync';\n\nconst useStyles = makeStyles({\n root: {\n height: '100%',\n display: 'flex',\n flexFlow: 'column nowrap',\n },\n});\n\ntype GraphQLVoyagerBrowserProps = {\n endpoints: GraphQLVoyagerEndpoint[];\n};\n\nconst NoEndpoints = () => {\n return <Typography variant=\"h4\">No endpoints available</Typography>;\n};\n\nconst VoyagerBrowserContent = ({\n endpoint,\n}: {\n endpoint: GraphQLVoyagerEndpoint;\n}) => {\n const { id, introspection, introspectionErrorMessage, voyagerProps } =\n endpoint;\n const { value, loading, error } = useAsync(\n () => introspection(introspectionQuery),\n [endpoint],\n );\n\n if (loading) {\n return <Progress />;\n } else if (error) {\n return <ErrorPanel error={error} />;\n }\n return value.data ? (\n <Voyager key={id} introspection={value} {...voyagerProps} />\n ) : (\n <Typography variant=\"h4\" color=\"error\">\n {introspectionErrorMessage}\n </Typography>\n );\n};\n\nconst VoyagerBrowser = (props: GraphQLVoyagerBrowserProps) => {\n const { endpoints } = props;\n const [tabIndex, setTabIndex] = useState(0);\n const classes = useStyles();\n\n return (\n <div className={classes.root}>\n <Suspense fallback={<Progress />}>\n <Tabs\n value={tabIndex}\n onChange={(_, value) => setTabIndex(value)}\n indicatorColor=\"primary\"\n >\n {endpoints.map(({ title, id }, index) => (\n <Tab key={id} label={title} value={index} />\n ))}\n </Tabs>\n <Content>\n <VoyagerBrowserContent endpoint={endpoints[tabIndex]} />\n </Content>\n </Suspense>\n </div>\n );\n};\n\n/** @public */\nexport const GraphQLVoyagerBrowser = (props: GraphQLVoyagerBrowserProps) => {\n const hasEndpoints = checkEndpoints(props);\n\n if (!hasEndpoints) {\n return <NoEndpoints />;\n }\n return <VoyagerBrowser {...props} />;\n};\n\nfunction checkEndpoints(props: GraphQLVoyagerBrowserProps) {\n return props.endpoints.length;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AA8BA,MAAM,YAAY,UAAW,CAAA;AAAA,EAC3B,IAAM,EAAA;AAAA,IACJ,MAAQ,EAAA,MAAA;AAAA,IACR,OAAS,EAAA,MAAA;AAAA,IACT,QAAU,EAAA;AAAA;AAEd,CAAC,CAAA;AAMD,MAAM,cAAc,MAAM;AACxB,EAAA,uBAAQ,GAAA,CAAA,UAAA,EAAA,EAAW,OAAQ,EAAA,IAAA,EAAK,QAAsB,EAAA,wBAAA,EAAA,CAAA;AACxD,CAAA;AAEA,MAAM,wBAAwB,CAAC;AAAA,EAC7B;AACF,CAEM,KAAA;AACJ,EAAA,MAAM,EAAE,EAAA,EAAI,aAAe,EAAA,yBAAA,EAA2B,cACpD,GAAA,QAAA;AACF,EAAA,MAAM,EAAE,KAAA,EAAO,OAAS,EAAA,KAAA,EAAU,GAAA,QAAA;AAAA,IAChC,MAAM,cAAc,kBAAkB,CAAA;AAAA,IACtC,CAAC,QAAQ;AAAA,GACX;AAEA,EAAA,IAAI,OAAS,EAAA;AACX,IAAA,2BAAQ,QAAS,EAAA,EAAA,CAAA;AAAA,aACR,KAAO,EAAA;AAChB,IAAO,uBAAA,GAAA,CAAC,cAAW,KAAc,EAAA,CAAA;AAAA;AAEnC,EAAA,OAAO,MAAM,IACX,mBAAA,GAAA,CAAC,OAAiB,EAAA,EAAA,aAAA,EAAe,OAAQ,GAAG,YAAA,EAAA,EAA9B,EAA4C,CAAA,uBAEzD,UAAW,EAAA,EAAA,OAAA,EAAQ,IAAK,EAAA,KAAA,EAAM,SAC5B,QACH,EAAA,yBAAA,EAAA,CAAA;AAEJ,CAAA;AAEA,MAAM,cAAA,GAAiB,CAAC,KAAsC,KAAA;AAC5D,EAAM,MAAA,EAAE,WAAc,GAAA,KAAA;AACtB,EAAA,MAAM,CAAC,QAAA,EAAU,WAAW,CAAA,GAAI,SAAS,CAAC,CAAA;AAC1C,EAAA,MAAM,UAAU,SAAU,EAAA;AAE1B,EACE,uBAAA,GAAA,CAAC,KAAI,EAAA,EAAA,SAAA,EAAW,OAAQ,CAAA,IAAA,EACtB,+BAAC,QAAS,EAAA,EAAA,QAAA,kBAAW,GAAA,CAAA,QAAA,EAAA,EAAS,CAC5B,EAAA,QAAA,EAAA;AAAA,oBAAA,GAAA;AAAA,MAAC,IAAA;AAAA,MAAA;AAAA,QACC,KAAO,EAAA,QAAA;AAAA,QACP,QAAU,EAAA,CAAC,CAAG,EAAA,KAAA,KAAU,YAAY,KAAK,CAAA;AAAA,QACzC,cAAe,EAAA,SAAA;AAAA,QAEd,QAAU,EAAA,SAAA,CAAA,GAAA,CAAI,CAAC,EAAE,OAAO,EAAG,EAAA,EAAG,KAC7B,qBAAA,GAAA,CAAC,OAAa,KAAO,EAAA,KAAA,EAAO,KAAO,EAAA,KAAA,EAAA,EAAzB,EAAgC,CAC3C;AAAA;AAAA,KACH;AAAA,oBACA,GAAA,CAAC,WACC,QAAC,kBAAA,GAAA,CAAA,qBAAA,EAAA,EAAsB,UAAU,SAAU,CAAA,QAAQ,GAAG,CACxD,EAAA;AAAA,GAAA,EACF,CACF,EAAA,CAAA;AAEJ,CAAA;AAGa,MAAA,qBAAA,GAAwB,CAAC,KAAsC,KAAA;AAC1E,EAAM,MAAA,YAAA,GAAe,eAAe,KAAK,CAAA;AAEzC,EAAA,IAAI,CAAC,YAAc,EAAA;AACjB,IAAA,2BAAQ,WAAY,EAAA,EAAA,CAAA;AAAA;AAEtB,EAAO,uBAAA,GAAA,CAAC,cAAgB,EAAA,EAAA,GAAG,KAAO,EAAA,CAAA;AACpC;AAEA,SAAS,eAAe,KAAmC,EAAA;AACzD,EAAA,OAAO,MAAM,SAAU,CAAA,MAAA;AACzB;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Page, Header, Content, Progress, ErrorPanel } from '@backstage/core-components';
|
|
3
3
|
import { useApi } from '@backstage/core-plugin-api';
|
|
4
4
|
import 'graphql-voyager/dist/voyager.css';
|
|
@@ -12,15 +12,18 @@ const VoyagerContent = () => {
|
|
|
12
12
|
() => graphQLVoyagerApi.getEndpoints()
|
|
13
13
|
);
|
|
14
14
|
if (loading) {
|
|
15
|
-
return /* @__PURE__ */
|
|
15
|
+
return /* @__PURE__ */ jsx(Progress, {});
|
|
16
16
|
} else if (error) {
|
|
17
|
-
return /* @__PURE__ */
|
|
17
|
+
return /* @__PURE__ */ jsx(ErrorPanel, { error });
|
|
18
18
|
}
|
|
19
|
-
return /* @__PURE__ */
|
|
19
|
+
return /* @__PURE__ */ jsx(GraphQLVoyagerBrowser, { endpoints: value });
|
|
20
20
|
};
|
|
21
21
|
const GraphQLVoyagerPage = (props) => {
|
|
22
22
|
const { title = "Welcome to Voyager!" } = props;
|
|
23
|
-
return /* @__PURE__ */
|
|
23
|
+
return /* @__PURE__ */ jsxs(Page, { themeId: "tool", children: [
|
|
24
|
+
/* @__PURE__ */ jsx(Header, { title }),
|
|
25
|
+
/* @__PURE__ */ jsx(Content, { children: /* @__PURE__ */ jsx(VoyagerContent, {}) })
|
|
26
|
+
] });
|
|
24
27
|
};
|
|
25
28
|
|
|
26
29
|
export { GraphQLVoyagerPage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GraphQLVoyagerPage.esm.js","sources":["../../../src/components/GraphQLVoyagerPage/GraphQLVoyagerPage.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
|
|
1
|
+
{"version":3,"file":"GraphQLVoyagerPage.esm.js","sources":["../../../src/components/GraphQLVoyagerPage/GraphQLVoyagerPage.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 {\n Header,\n Page,\n Content,\n Progress,\n ErrorPanel,\n} from '@backstage/core-components';\nimport { useApi } from '@backstage/core-plugin-api';\nimport 'graphql-voyager/dist/voyager.css';\nimport { graphQlVoyagerApiRef } from '../../lib/api';\nimport useAsync from 'react-use/esm/useAsync';\nimport { GraphQLVoyagerBrowser } from '../GraphQLVoyagerBrowser';\n\n/** @public */\nexport type GraphQLVoyagerPageProps = {\n title?: string;\n};\n\nconst VoyagerContent = () => {\n const graphQLVoyagerApi = useApi(graphQlVoyagerApiRef);\n\n const { value, loading, error } = useAsync(() =>\n graphQLVoyagerApi.getEndpoints(),\n );\n\n if (loading) {\n return <Progress />;\n } else if (error) {\n return <ErrorPanel error={error} />;\n }\n return <GraphQLVoyagerBrowser endpoints={value!} />;\n};\n\n/** @public */\nexport const GraphQLVoyagerPage = (props: GraphQLVoyagerPageProps) => {\n const { title = 'Welcome to Voyager!' } = props;\n\n return (\n <Page themeId=\"tool\">\n <Header title={title} />\n <Content>\n <VoyagerContent />\n </Content>\n </Page>\n );\n};\n"],"names":[],"mappings":";;;;;;;;AAiCA,MAAM,iBAAiB,MAAM;AAC3B,EAAM,MAAA,iBAAA,GAAoB,OAAO,oBAAoB,CAAA;AAErD,EAAA,MAAM,EAAE,KAAA,EAAO,OAAS,EAAA,KAAA,EAAU,GAAA,QAAA;AAAA,IAAS,MACzC,kBAAkB,YAAa;AAAA,GACjC;AAEA,EAAA,IAAI,OAAS,EAAA;AACX,IAAA,2BAAQ,QAAS,EAAA,EAAA,CAAA;AAAA,aACR,KAAO,EAAA;AAChB,IAAO,uBAAA,GAAA,CAAC,cAAW,KAAc,EAAA,CAAA;AAAA;AAEnC,EAAO,uBAAA,GAAA,CAAC,qBAAsB,EAAA,EAAA,SAAA,EAAW,KAAQ,EAAA,CAAA;AACnD,CAAA;AAGa,MAAA,kBAAA,GAAqB,CAAC,KAAmC,KAAA;AACpE,EAAM,MAAA,EAAE,KAAQ,GAAA,qBAAA,EAA0B,GAAA,KAAA;AAE1C,EACE,uBAAA,IAAA,CAAC,IAAK,EAAA,EAAA,OAAA,EAAQ,MACZ,EAAA,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,UAAO,KAAc,EAAA,CAAA;AAAA,oBACrB,GAAA,CAAA,OAAA,EAAA,EACC,QAAC,kBAAA,GAAA,CAAA,cAAA,EAAA,EAAe,CAClB,EAAA;AAAA,GACF,EAAA,CAAA;AAEJ;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import React__default from 'react';
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
2
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
5
3
|
import { VoyagerProps } from 'graphql-voyager';
|
|
6
4
|
|
|
@@ -9,7 +7,7 @@ type GraphQLVoyagerPageProps = {
|
|
|
9
7
|
title?: string;
|
|
10
8
|
};
|
|
11
9
|
/** @public */
|
|
12
|
-
declare const GraphQLVoyagerPage: (props: GraphQLVoyagerPageProps) =>
|
|
10
|
+
declare const GraphQLVoyagerPage: (props: GraphQLVoyagerPageProps) => react_jsx_runtime.JSX.Element;
|
|
13
11
|
|
|
14
12
|
/** @public */
|
|
15
13
|
type GraphQLVoyagerEndpoint = {
|
|
@@ -33,7 +31,7 @@ declare const graphqlVoyagerPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
33
31
|
root: _backstage_core_plugin_api.RouteRef<undefined>;
|
|
34
32
|
}, {}, {}>;
|
|
35
33
|
/** @public */
|
|
36
|
-
declare const GraphqlVoyagerPage: (props: GraphQLVoyagerPageProps) =>
|
|
34
|
+
declare const GraphqlVoyagerPage: (props: GraphQLVoyagerPageProps) => react_jsx_runtime.JSX.Element;
|
|
37
35
|
|
|
38
36
|
/** @public */
|
|
39
37
|
declare class GraphQLVoyagerEndpoints implements GraphQLVoyagerApi {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-graphql-voyager",
|
|
3
3
|
"description": "Backstage plugin for GraphQL Voyager",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"main": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"postpack": "backstage-cli package postpack"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@backstage/core-components": "^0.17.
|
|
38
|
-
"@backstage/core-plugin-api": "^1.10.
|
|
37
|
+
"@backstage/core-components": "^0.17.2",
|
|
38
|
+
"@backstage/core-plugin-api": "^1.10.7",
|
|
39
39
|
"@material-ui/core": "^4.12.2",
|
|
40
40
|
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
41
41
|
"graphql-voyager": "^2.0.0",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@backstage/cli": "^0.
|
|
51
|
-
"@backstage/test-utils": "^1.7.
|
|
50
|
+
"@backstage/cli": "^0.32.1",
|
|
51
|
+
"@backstage/test-utils": "^1.7.8",
|
|
52
52
|
"@testing-library/dom": "^10.0.0",
|
|
53
53
|
"@testing-library/jest-dom": "^6.0.0",
|
|
54
54
|
"@testing-library/react": "^15.0.0",
|
|
@@ -60,5 +60,12 @@
|
|
|
60
60
|
"files": [
|
|
61
61
|
"dist"
|
|
62
62
|
],
|
|
63
|
+
"typesVersions": {
|
|
64
|
+
"*": {
|
|
65
|
+
"package.json": [
|
|
66
|
+
"package.json"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
63
70
|
"module": "./dist/index.esm.js"
|
|
64
71
|
}
|