@drodil/backstage-plugin-qeta 3.32.1 → 3.33.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.
@@ -0,0 +1,97 @@
1
+ import * as _backstage_catalog_model from '@backstage/catalog-model';
2
+ import * as react from 'react';
3
+ import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
4
+ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
5
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
6
+ export { qetaTranslationRef } from '@drodil/backstage-plugin-qeta-react';
7
+
8
+ /**
9
+ * Backstage frontend plugin.
10
+ *
11
+ * @alpha
12
+ */
13
+ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
14
+ root: _backstage_frontend_plugin_api.RouteRef<undefined>;
15
+ }, {}, {
16
+ "api:qeta": _backstage_frontend_plugin_api.ExtensionDefinition<{
17
+ kind: "api";
18
+ name: undefined;
19
+ config: {};
20
+ configInput: {};
21
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
22
+ inputs: {};
23
+ params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
24
+ }>;
25
+ "entity-card:qeta/entity-posts-container": _backstage_frontend_plugin_api.ExtensionDefinition<{
26
+ kind: "entity-card";
27
+ name: "entity-posts-container";
28
+ config: {
29
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
30
+ type: "content" | "summary" | "info" | undefined;
31
+ };
32
+ configInput: {
33
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
34
+ type?: "content" | "summary" | "info" | undefined;
35
+ };
36
+ 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", {
37
+ optional: true;
38
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
39
+ optional: true;
40
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
41
+ optional: true;
42
+ }>;
43
+ inputs: {};
44
+ params: {
45
+ loader: () => Promise<JSX.Element>;
46
+ filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
47
+ type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
48
+ };
49
+ }>;
50
+ "entity-card:qeta/entity-posts-grid": _backstage_frontend_plugin_api.ExtensionDefinition<{
51
+ kind: "entity-card";
52
+ name: "entity-posts-grid";
53
+ config: {
54
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
55
+ type: "content" | "summary" | "info" | undefined;
56
+ };
57
+ configInput: {
58
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
59
+ type?: "content" | "summary" | "info" | undefined;
60
+ };
61
+ 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", {
62
+ optional: true;
63
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
64
+ optional: true;
65
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
66
+ optional: true;
67
+ }>;
68
+ inputs: {};
69
+ params: {
70
+ loader: () => Promise<JSX.Element>;
71
+ filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
72
+ type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
73
+ };
74
+ }>;
75
+ "page:qeta": _backstage_frontend_plugin_api.ExtensionDefinition<{
76
+ kind: "page";
77
+ name: undefined;
78
+ config: {
79
+ path: string | undefined;
80
+ };
81
+ configInput: {
82
+ path?: string | undefined;
83
+ };
84
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
85
+ optional: true;
86
+ }>;
87
+ inputs: {};
88
+ params: {
89
+ defaultPath?: [Error: `Use the 'path' param instead`];
90
+ path: string;
91
+ loader: () => Promise<JSX.Element>;
92
+ routeRef?: _backstage_frontend_plugin_api.RouteRef;
93
+ };
94
+ }>;
95
+ }>;
96
+
97
+ export { _default as default };
@@ -0,0 +1,60 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { ApiBlueprint, PageBlueprint, createFrontendPlugin } from '@backstage/frontend-plugin-api';
3
+ import { convertLegacyRouteRef, compatWrapper, convertLegacyRouteRefs } from '@backstage/core-compat-api';
4
+ import { qetaApiRef, qetaRouteRef } from '@drodil/backstage-plugin-qeta-react';
5
+ export { qetaTranslationRef } from '@drodil/backstage-plugin-qeta-react';
6
+ import { discoveryApiRef, fetchApiRef } from '@backstage/core-plugin-api';
7
+ import { QetaClient } from '@drodil/backstage-plugin-qeta-common';
8
+ import { EntityCardBlueprint } from '@backstage/plugin-catalog-react/alpha';
9
+
10
+ const qetaApi = ApiBlueprint.make({
11
+ params: (defineParams) => defineParams({
12
+ api: qetaApiRef,
13
+ deps: {
14
+ discoveryApi: discoveryApiRef,
15
+ fetchApi: fetchApiRef
16
+ },
17
+ factory({ discoveryApi, fetchApi }) {
18
+ return new QetaClient({ discoveryApi, fetchApi });
19
+ }
20
+ })
21
+ });
22
+ const qetaPage = PageBlueprint.make({
23
+ params: {
24
+ path: "/qeta",
25
+ routeRef: convertLegacyRouteRef(qetaRouteRef),
26
+ loader: () => import('./components/QetaPage/index.esm.js').then((m) => compatWrapper(/* @__PURE__ */ jsx(m.QetaPage, {})))
27
+ }
28
+ });
29
+ const EntityPostsGridCard = EntityCardBlueprint.make({
30
+ name: "entity-posts-grid",
31
+ params: {
32
+ loader: async () => import('./components/EntityCards/EntityPostsGridCard.esm.js').then(
33
+ (m) => compatWrapper(/* @__PURE__ */ jsx(m.EntityPostsGridCard, {}))
34
+ )
35
+ }
36
+ });
37
+ const EntityPostsContainerCard = EntityCardBlueprint.make({
38
+ name: "entity-posts-container",
39
+ params: {
40
+ loader: async () => import('./components/EntityCards/EntityPostsContainerCard.esm.js').then(
41
+ (m) => compatWrapper(/* @__PURE__ */ jsx(m.EntityPostsContainerCard, {}))
42
+ )
43
+ }
44
+ });
45
+ var alpha = createFrontendPlugin({
46
+ pluginId: "qeta",
47
+ info: { packageJson: () => import('./package.json.esm.js') },
48
+ routes: convertLegacyRouteRefs({
49
+ root: qetaRouteRef
50
+ }),
51
+ extensions: [
52
+ qetaApi,
53
+ qetaPage,
54
+ EntityPostsGridCard,
55
+ EntityPostsContainerCard
56
+ ]
57
+ });
58
+
59
+ export { alpha as default };
60
+ //# sourceMappingURL=alpha.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"sourcesContent":["import {\n ApiBlueprint,\n createFrontendPlugin,\n PageBlueprint,\n} from '@backstage/frontend-plugin-api';\nimport {\n compatWrapper,\n convertLegacyRouteRef,\n convertLegacyRouteRefs,\n} from '@backstage/core-compat-api';\nimport { qetaApiRef, qetaRouteRef } from '@drodil/backstage-plugin-qeta-react';\nimport { discoveryApiRef, fetchApiRef } from '@backstage/core-plugin-api';\nimport { QetaClient } from '@drodil/backstage-plugin-qeta-common';\nimport { EntityCardBlueprint } from '@backstage/plugin-catalog-react/alpha';\n\nconst qetaApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: qetaApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n },\n factory({ discoveryApi, fetchApi }) {\n return new QetaClient({ discoveryApi, fetchApi });\n },\n }),\n});\n\nconst qetaPage = PageBlueprint.make({\n params: {\n path: '/qeta',\n routeRef: convertLegacyRouteRef(qetaRouteRef),\n loader: () =>\n import('./components/QetaPage').then(m => compatWrapper(<m.QetaPage />)),\n },\n});\n\nconst EntityPostsGridCard = EntityCardBlueprint.make({\n name: 'entity-posts-grid',\n params: {\n loader: async () =>\n import('./components/EntityCards/EntityPostsGridCard').then(m =>\n compatWrapper(<m.EntityPostsGridCard />),\n ),\n },\n});\n\nconst EntityPostsContainerCard = EntityCardBlueprint.make({\n name: 'entity-posts-container',\n params: {\n loader: async () =>\n import('./components/EntityCards/EntityPostsContainerCard').then(m =>\n compatWrapper(<m.EntityPostsContainerCard />),\n ),\n },\n});\n\n/**\n * Backstage frontend plugin.\n *\n * @alpha\n */\nexport default createFrontendPlugin({\n pluginId: 'qeta',\n info: { packageJson: () => import('../package.json') },\n routes: convertLegacyRouteRefs({\n root: qetaRouteRef,\n }),\n extensions: [\n qetaApi,\n qetaPage,\n EntityPostsGridCard,\n EntityPostsContainerCard,\n ],\n});\n\nexport { qetaTranslationRef } from '@drodil/backstage-plugin-qeta-react';\n"],"names":[],"mappings":";;;;;;;;;AAeA,MAAM,OAAA,GAAU,aAAa,IAAK,CAAA;AAAA,EAChC,MAAA,EAAQ,kBACN,YAAa,CAAA;AAAA,IACX,GAAK,EAAA,UAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,YAAc,EAAA,eAAA;AAAA,MACd,QAAU,EAAA;AAAA,KACZ;AAAA,IACA,OAAQ,CAAA,EAAE,YAAc,EAAA,QAAA,EAAY,EAAA;AAClC,MAAA,OAAO,IAAI,UAAA,CAAW,EAAE,YAAA,EAAc,UAAU,CAAA;AAAA;AAClD,GACD;AACL,CAAC,CAAA;AAED,MAAM,QAAA,GAAW,cAAc,IAAK,CAAA;AAAA,EAClC,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,OAAA;AAAA,IACN,QAAA,EAAU,sBAAsB,YAAY,CAAA;AAAA,IAC5C,MAAQ,EAAA,MACN,OAAO,oCAAuB,CAAE,CAAA,IAAA,CAAK,CAAK,CAAA,KAAA,aAAA,iBAAe,GAAA,CAAA,CAAA,CAAE,QAAF,EAAA,EAAW,CAAE,CAAC;AAAA;AAE7E,CAAC,CAAA;AAED,MAAM,mBAAA,GAAsB,oBAAoB,IAAK,CAAA;AAAA,EACnD,IAAM,EAAA,mBAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,MAAQ,EAAA,YACN,OAAO,qDAA8C,CAAE,CAAA,IAAA;AAAA,MAAK,OAC1D,aAAc,iBAAA,GAAA,CAAC,CAAE,CAAA,mBAAA,EAAF,EAAsB,CAAE;AAAA;AACzC;AAEN,CAAC,CAAA;AAED,MAAM,wBAAA,GAA2B,oBAAoB,IAAK,CAAA;AAAA,EACxD,IAAM,EAAA,wBAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,MAAQ,EAAA,YACN,OAAO,0DAAmD,CAAE,CAAA,IAAA;AAAA,MAAK,OAC/D,aAAc,iBAAA,GAAA,CAAC,CAAE,CAAA,wBAAA,EAAF,EAA2B,CAAE;AAAA;AAC9C;AAEN,CAAC,CAAA;AAOD,YAAe,oBAAqB,CAAA;AAAA,EAClC,QAAU,EAAA,MAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,uBAAiB,CAAE,EAAA;AAAA,EACrD,QAAQ,sBAAuB,CAAA;AAAA,IAC7B,IAAM,EAAA;AAAA,GACP,CAAA;AAAA,EACD,UAAY,EAAA;AAAA,IACV,OAAA;AAAA,IACA,QAAA;AAAA,IACA,mBAAA;AAAA,IACA;AAAA;AAEJ,CAAC,CAAA;;;;"}
@@ -0,0 +1,13 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { useEntity } from '@backstage/plugin-catalog-react';
3
+ import { stringifyEntityRef } from '@backstage/catalog-model';
4
+ import { PostsContainer } from '@drodil/backstage-plugin-qeta-react';
5
+ import { InfoCard } from '@backstage/core-components';
6
+
7
+ const EntityPostsContainerCard = (props) => {
8
+ const { entity } = useEntity();
9
+ return /* @__PURE__ */ jsx(InfoCard, { children: /* @__PURE__ */ jsx(PostsContainer, { ...props, entity: stringifyEntityRef(entity) }) });
10
+ };
11
+
12
+ export { EntityPostsContainerCard };
13
+ //# sourceMappingURL=EntityPostsContainerCard.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityPostsContainerCard.esm.js","sources":["../../../src/components/EntityCards/EntityPostsContainerCard.tsx"],"sourcesContent":["import { useEntity } from '@backstage/plugin-catalog-react';\nimport { stringifyEntityRef } from '@backstage/catalog-model';\nimport {\n PostsContainer,\n PostsContainerProps,\n} from '@drodil/backstage-plugin-qeta-react';\nimport { InfoCard } from '@backstage/core-components';\n\nexport const EntityPostsContainerCard = (props: PostsContainerProps) => {\n const { entity } = useEntity();\n\n return (\n <InfoCard>\n <PostsContainer {...props} entity={stringifyEntityRef(entity)} />\n </InfoCard>\n );\n};\n"],"names":[],"mappings":";;;;;;AAQa,MAAA,wBAAA,GAA2B,CAAC,KAA+B,KAAA;AACtE,EAAM,MAAA,EAAE,MAAO,EAAA,GAAI,SAAU,EAAA;AAE7B,EACE,uBAAA,GAAA,CAAC,QACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,cAAgB,EAAA,EAAA,GAAG,OAAO,MAAQ,EAAA,kBAAA,CAAmB,MAAM,CAAA,EAAG,CACjE,EAAA,CAAA;AAEJ;;;;"}
@@ -0,0 +1,13 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { useEntity } from '@backstage/plugin-catalog-react';
3
+ import { stringifyEntityRef } from '@backstage/catalog-model';
4
+ import { PostsGrid } from '@drodil/backstage-plugin-qeta-react';
5
+ import { InfoCard } from '@backstage/core-components';
6
+
7
+ const EntityPostsGridCard = (props) => {
8
+ const { entity } = useEntity();
9
+ return /* @__PURE__ */ jsx(InfoCard, { children: /* @__PURE__ */ jsx(PostsGrid, { ...props, entity: stringifyEntityRef(entity) }) });
10
+ };
11
+
12
+ export { EntityPostsGridCard };
13
+ //# sourceMappingURL=EntityPostsGridCard.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityPostsGridCard.esm.js","sources":["../../../src/components/EntityCards/EntityPostsGridCard.tsx"],"sourcesContent":["import { useEntity } from '@backstage/plugin-catalog-react';\nimport { stringifyEntityRef } from '@backstage/catalog-model';\nimport { PostGridProps, PostsGrid } from '@drodil/backstage-plugin-qeta-react';\nimport { InfoCard } from '@backstage/core-components';\n\nexport const EntityPostsGridCard = (props: PostGridProps) => {\n const { entity } = useEntity();\n\n return (\n <InfoCard>\n <PostsGrid {...props} entity={stringifyEntityRef(entity)} />\n </InfoCard>\n );\n};\n"],"names":[],"mappings":";;;;;;AAKa,MAAA,mBAAA,GAAsB,CAAC,KAAyB,KAAA;AAC3D,EAAM,MAAA,EAAE,MAAO,EAAA,GAAI,SAAU,EAAA;AAE7B,EACE,uBAAA,GAAA,CAAC,QACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,SAAW,EAAA,EAAA,GAAG,OAAO,MAAQ,EAAA,kBAAA,CAAmB,MAAM,CAAA,EAAG,CAC5D,EAAA,CAAA;AAEJ;;;;"}
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import * as react from 'react';
4
4
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
5
5
  import { PostType } from '@drodil/backstage-plugin-qeta-common';
6
6
  import { IndexableDocument, ResultHighlight } from '@backstage/plugin-search-common';
7
+ import { PostsContainerProps, PostGridProps } from '@drodil/backstage-plugin-qeta-react';
7
8
 
8
9
  type QetaSearchResultListItemProps = {
9
10
  result?: IndexableDocument;
@@ -51,6 +52,10 @@ declare const Content: (props: {
51
52
  postType?: PostType;
52
53
  }) => react_jsx_runtime.JSX.Element;
53
54
 
55
+ declare const EntityPostsContainerCard: (props: PostsContainerProps) => react_jsx_runtime.JSX.Element;
56
+
57
+ declare const EntityPostsGridCard: (props: PostGridProps) => react_jsx_runtime.JSX.Element;
58
+
54
59
  declare const StatisticsPage: () => react_jsx_runtime.JSX.Element;
55
60
 
56
- export { Content, PostsTableCard, QetaPage, QetaSearchResultListItem, type QetaSearchResultListItemProps, QuestionsTableCard, StatisticsPage, qetaPlugin };
61
+ export { Content, EntityPostsContainerCard, EntityPostsGridCard, PostsTableCard, QetaPage, QetaSearchResultListItem, type QetaSearchResultListItemProps, QuestionsTableCard, StatisticsPage, qetaPlugin };
package/dist/index.esm.js CHANGED
@@ -1,4 +1,6 @@
1
1
  export { PostsTableCard, QetaPage, QetaSearchResultListItem, QuestionsTableCard, qetaPlugin } from './plugin.esm.js';
2
2
  export { Content } from './components/PostsTableCard/Content.esm.js';
3
+ export { EntityPostsContainerCard } from './components/EntityCards/EntityPostsContainerCard.esm.js';
4
+ export { EntityPostsGridCard } from './components/EntityCards/EntityPostsGridCard.esm.js';
3
5
  export { StatisticsPage } from './components/Statistics/StatisticsPage.esm.js';
4
6
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -0,0 +1,138 @@
1
+ var name = "@drodil/backstage-plugin-qeta";
2
+ var description = "Backstage.io Q&A plugin frontend";
3
+ var keywords = [
4
+ "backstage",
5
+ "plugin",
6
+ "frontend",
7
+ "backstage.io"
8
+ ];
9
+ var version = "3.33.1";
10
+ var main = "src/index.ts";
11
+ var types = "src/index.ts";
12
+ var prepublishOnly = "yarn tsc && yarn build";
13
+ var license = "MIT";
14
+ var homepage = "https://github.com/drodil/backstage-plugin-qeta";
15
+ var bugs = {
16
+ url: "https://github.com/drodil/backstage-plugin-qeta/issues"
17
+ };
18
+ var exports = {
19
+ ".": "./src/index.ts",
20
+ "./alpha": "./src/alpha.tsx",
21
+ "./package.json": "./package.json"
22
+ };
23
+ var typesVersions = {
24
+ "*": {
25
+ alpha: [
26
+ "src/alpha.tsx"
27
+ ],
28
+ "package.json": [
29
+ "package.json"
30
+ ]
31
+ }
32
+ };
33
+ var repository = {
34
+ type: "git",
35
+ url: "https://github.com/drodil/backstage-plugin-qeta.git"
36
+ };
37
+ var publishConfig = {
38
+ access: "public"
39
+ };
40
+ var backstage = {
41
+ role: "frontend-plugin",
42
+ pluginId: "qeta",
43
+ pluginPackages: [
44
+ "@drodil/backstage-plugin-qeta",
45
+ "@drodil/backstage-plugin-qeta-backend",
46
+ "@drodil/backstage-plugin-qeta-common",
47
+ "@drodil/backstage-plugin-qeta-node",
48
+ "@drodil/backstage-plugin-qeta-react"
49
+ ]
50
+ };
51
+ var sideEffects = false;
52
+ var scripts = {
53
+ start: "backstage-cli package start",
54
+ build: "backstage-cli package build",
55
+ lint: "backstage-cli package lint",
56
+ test: "backstage-cli package test",
57
+ clean: "backstage-cli package clean",
58
+ prepack: "backstage-cli package prepack",
59
+ postpack: "backstage-cli package postpack",
60
+ tsc: "tsc"
61
+ };
62
+ var dependencies = {
63
+ "@backstage/catalog-model": "backstage:^",
64
+ "@backstage/core-compat-api": "backstage:^",
65
+ "@backstage/core-components": "backstage:^",
66
+ "@backstage/core-plugin-api": "backstage:^",
67
+ "@backstage/frontend-plugin-api": "backstage:^",
68
+ "@backstage/plugin-catalog-react": "backstage:^",
69
+ "@backstage/plugin-home-react": "backstage:^",
70
+ "@backstage/plugin-search-common": "backstage:^",
71
+ "@backstage/plugin-search-react": "backstage:^",
72
+ "@backstage/plugin-signals-react": "backstage:^",
73
+ "@drodil/backstage-plugin-qeta-common": "workspace:^",
74
+ "@drodil/backstage-plugin-qeta-react": "workspace:^",
75
+ "@material-ui/core": "^4.12.2",
76
+ "@material-ui/icons": "^4.11.3",
77
+ "@material-ui/lab": "4.0.0-alpha.61",
78
+ dompurify: "^3.2.4",
79
+ lodash: "^4.17.21",
80
+ luxon: "^3.5.0",
81
+ "react-use": "^17.4.0"
82
+ };
83
+ var peerDependencies = {
84
+ "@backstage/catalog-client": "^1.11.0",
85
+ react: " ^18.0.0 || ^19.0.0",
86
+ "react-dom": "^18.0.0 || ^19.0.0",
87
+ "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
88
+ };
89
+ var resolutions = {
90
+ "react-markdown": "8.0.7"
91
+ };
92
+ var devDependencies = {
93
+ "@backstage/cli": "backstage:^",
94
+ "@backstage/dev-utils": "backstage:^",
95
+ "@backstage/plugin-catalog": "backstage:^",
96
+ "@backstage/plugin-home": "backstage:^",
97
+ "@backstage/plugin-notifications": "backstage:^",
98
+ "@backstage/plugin-search": "backstage:^",
99
+ "@backstage/plugin-search-react": "backstage:^",
100
+ "@backstage/plugin-signals": "backstage:^",
101
+ "@testing-library/jest-dom": "^6.1.3",
102
+ "@types/lodash": "^4.14.199",
103
+ "@types/luxon": "^3",
104
+ "cross-fetch": "^3.1.5"
105
+ };
106
+ var files = [
107
+ "dist",
108
+ "configSchema.d.ts"
109
+ ];
110
+ var configSchema = "configSchema.d.ts";
111
+ var _package = {
112
+ name: name,
113
+ description: description,
114
+ keywords: keywords,
115
+ version: version,
116
+ main: main,
117
+ types: types,
118
+ prepublishOnly: prepublishOnly,
119
+ license: license,
120
+ homepage: homepage,
121
+ bugs: bugs,
122
+ exports: exports,
123
+ typesVersions: typesVersions,
124
+ repository: repository,
125
+ publishConfig: publishConfig,
126
+ backstage: backstage,
127
+ sideEffects: sideEffects,
128
+ scripts: scripts,
129
+ dependencies: dependencies,
130
+ peerDependencies: peerDependencies,
131
+ resolutions: resolutions,
132
+ devDependencies: devDependencies,
133
+ files: files,
134
+ configSchema: configSchema
135
+ };
136
+
137
+ export { backstage, bugs, configSchema, _package as default, dependencies, description, devDependencies, exports, files, homepage, keywords, license, main, name, peerDependencies, prepublishOnly, publishConfig, repository, resolutions, scripts, sideEffects, types, typesVersions, version };
138
+ //# sourceMappingURL=package.json.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -7,23 +7,45 @@
7
7
  "frontend",
8
8
  "backstage.io"
9
9
  ],
10
- "version": "3.32.1",
11
- "main": "dist/index.esm.js",
12
- "types": "dist/index.d.ts",
10
+ "version": "3.33.1",
11
+ "main": "./dist/index.esm.js",
12
+ "types": "./dist/index.d.ts",
13
13
  "prepublishOnly": "yarn tsc && yarn build",
14
14
  "license": "MIT",
15
15
  "homepage": "https://github.com/drodil/backstage-plugin-qeta",
16
16
  "bugs": {
17
17
  "url": "https://github.com/drodil/backstage-plugin-qeta/issues"
18
18
  },
19
+ "exports": {
20
+ ".": {
21
+ "import": "./dist/index.esm.js",
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.esm.js"
24
+ },
25
+ "./alpha": {
26
+ "backstage": "@backstage/FrontendPlugin",
27
+ "import": "./dist/alpha.esm.js",
28
+ "types": "./dist/alpha.d.ts",
29
+ "default": "./dist/alpha.esm.js"
30
+ },
31
+ "./package.json": "./package.json"
32
+ },
33
+ "typesVersions": {
34
+ "*": {
35
+ "alpha": [
36
+ "dist/alpha.d.ts"
37
+ ],
38
+ "package.json": [
39
+ "package.json"
40
+ ]
41
+ }
42
+ },
19
43
  "repository": {
20
44
  "type": "git",
21
45
  "url": "https://github.com/drodil/backstage-plugin-qeta.git"
22
46
  },
23
47
  "publishConfig": {
24
- "access": "public",
25
- "main": "dist/index.esm.js",
26
- "types": "dist/index.d.ts"
48
+ "access": "public"
27
49
  },
28
50
  "backstage": {
29
51
  "role": "frontend-plugin",
@@ -34,7 +56,10 @@
34
56
  "@drodil/backstage-plugin-qeta-common",
35
57
  "@drodil/backstage-plugin-qeta-node",
36
58
  "@drodil/backstage-plugin-qeta-react"
37
- ]
59
+ ],
60
+ "features": {
61
+ "./alpha": "@backstage/FrontendPlugin"
62
+ }
38
63
  },
39
64
  "sideEffects": false,
40
65
  "scripts": {
@@ -49,15 +74,17 @@
49
74
  },
50
75
  "dependencies": {
51
76
  "@backstage/catalog-model": "^1.7.5",
52
- "@backstage/core-components": "^0.17.4",
77
+ "@backstage/core-compat-api": "^0.5.0",
78
+ "@backstage/core-components": "^0.17.5",
53
79
  "@backstage/core-plugin-api": "^1.10.9",
54
- "@backstage/plugin-catalog-react": "^1.19.1",
55
- "@backstage/plugin-home-react": "^0.1.28",
80
+ "@backstage/frontend-plugin-api": "^0.11.0",
81
+ "@backstage/plugin-catalog-react": "^1.20.0",
82
+ "@backstage/plugin-home-react": "^0.1.29",
56
83
  "@backstage/plugin-search-common": "^1.2.19",
57
- "@backstage/plugin-search-react": "^1.9.2",
84
+ "@backstage/plugin-search-react": "^1.9.3",
58
85
  "@backstage/plugin-signals-react": "^0.0.15",
59
- "@drodil/backstage-plugin-qeta-common": "^3.32.1",
60
- "@drodil/backstage-plugin-qeta-react": "^3.32.1",
86
+ "@drodil/backstage-plugin-qeta-common": "^3.33.1",
87
+ "@drodil/backstage-plugin-qeta-react": "^3.33.1",
61
88
  "@material-ui/core": "^4.12.2",
62
89
  "@material-ui/icons": "^4.11.3",
63
90
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -67,7 +94,7 @@
67
94
  "react-use": "^17.4.0"
68
95
  },
69
96
  "peerDependencies": {
70
- "@backstage/catalog-client": "^1.10.2",
97
+ "@backstage/catalog-client": "^1.11.0",
71
98
  "react": " ^18.0.0 || ^19.0.0",
72
99
  "react-dom": "^18.0.0 || ^19.0.0",
73
100
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
@@ -76,14 +103,14 @@
76
103
  "react-markdown": "8.0.7"
77
104
  },
78
105
  "devDependencies": {
79
- "@backstage/cli": "^0.33.1",
80
- "@backstage/dev-utils": "^1.1.12",
81
- "@backstage/plugin-catalog": "^1.31.1",
82
- "@backstage/plugin-home": "^0.8.10",
83
- "@backstage/plugin-notifications": "^0.5.7",
84
- "@backstage/plugin-search": "^1.4.28",
85
- "@backstage/plugin-search-react": "^1.9.2",
86
- "@backstage/plugin-signals": "^0.0.21",
106
+ "@backstage/cli": "^0.34.0",
107
+ "@backstage/dev-utils": "^1.1.13",
108
+ "@backstage/plugin-catalog": "^1.31.2",
109
+ "@backstage/plugin-home": "^0.8.11",
110
+ "@backstage/plugin-notifications": "^0.5.8",
111
+ "@backstage/plugin-search": "^1.4.29",
112
+ "@backstage/plugin-search-react": "^1.9.3",
113
+ "@backstage/plugin-signals": "^0.0.22",
87
114
  "@testing-library/jest-dom": "^6.1.3",
88
115
  "@types/lodash": "^4.14.199",
89
116
  "@types/luxon": "^3",
@@ -94,12 +121,5 @@
94
121
  "configSchema.d.ts"
95
122
  ],
96
123
  "configSchema": "configSchema.d.ts",
97
- "typesVersions": {
98
- "*": {
99
- "package.json": [
100
- "package.json"
101
- ]
102
- }
103
- },
104
124
  "module": "./dist/index.esm.js"
105
125
  }