@backstage-community/plugin-explore 0.5.4 → 0.5.5

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,14 @@
1
1
  # @backstage-community/plugin-explore
2
2
 
3
+ ## 0.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - ce1d0e3: Backstage version bump to v1.31.1
8
+ - Updated dependencies [ce1d0e3]
9
+ - @backstage-community/plugin-explore-common@0.0.6
10
+ - @backstage-community/plugin-explore-react@0.0.42
11
+
3
12
  ## 0.5.4
4
13
 
5
14
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-explore__alpha",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/dist/alpha.d.ts CHANGED
@@ -1,16 +1,41 @@
1
1
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
2
+ import * as _backstage_plugin_search_react_alpha from '@backstage/plugin-search-react/alpha';
2
3
 
3
4
  /** @alpha */
4
5
  declare const exploreSearchResultListItem: _backstage_frontend_plugin_api.ExtensionDefinition<{
5
- noTrack?: boolean | undefined;
6
- }, {
7
- noTrack?: boolean | undefined;
8
- }, never, never, {
9
- kind?: string | undefined;
10
- namespace?: string | undefined;
11
- name?: string | undefined;
6
+ kind: "search-result-list-item";
7
+ namespace: undefined;
8
+ name: undefined;
9
+ config: {
10
+ noTrack: boolean;
11
+ };
12
+ configInput: {
13
+ noTrack?: boolean | undefined;
14
+ };
15
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
16
+ predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
17
+ component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
18
+ }, "search.search-result-list-item.item", {}>;
19
+ inputs: {};
12
20
  }>;
13
21
  /** @alpha */
14
- declare const _default: _backstage_frontend_plugin_api.BackstagePlugin<{}, {}, {}>;
22
+ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
23
+ "search-result-list-item:explore": _backstage_frontend_plugin_api.ExtensionDefinition<{
24
+ kind: "search-result-list-item";
25
+ namespace: undefined;
26
+ name: undefined;
27
+ config: {
28
+ noTrack: boolean;
29
+ };
30
+ configInput: {
31
+ noTrack?: boolean | undefined;
32
+ };
33
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
34
+ predicate?: _backstage_plugin_search_react_alpha.SearchResultItemExtensionPredicate | undefined;
35
+ component: _backstage_plugin_search_react_alpha.SearchResultItemExtensionComponent;
36
+ }, "search.search-result-list-item.item", {}>;
37
+ inputs: {};
38
+ }>;
39
+ }>;
15
40
 
16
41
  export { _default as default, exploreSearchResultListItem };
package/dist/alpha.esm.js CHANGED
@@ -1,13 +1,15 @@
1
- import { createPlugin } from '@backstage/frontend-plugin-api';
2
- import { createSearchResultListItemExtension } from '@backstage/plugin-search-react/alpha';
1
+ import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
2
+ import { SearchResultListItemBlueprint } from '@backstage/plugin-search-react/alpha';
3
3
 
4
- const exploreSearchResultListItem = createSearchResultListItemExtension({
5
- predicate: (result) => result.type === "tools",
6
- component: () => import('./components/ToolSearchResultListItem/index.esm.js').then(
7
- (m) => m.ToolSearchResultListItem
8
- )
4
+ const exploreSearchResultListItem = SearchResultListItemBlueprint.make({
5
+ params: {
6
+ predicate: (result) => result.type === "tools",
7
+ component: () => import('./components/ToolSearchResultListItem/index.esm.js').then(
8
+ (m) => m.ToolSearchResultListItem
9
+ )
10
+ }
9
11
  });
10
- var alpha = createPlugin({
12
+ var alpha = createFrontendPlugin({
11
13
  id: "explore",
12
14
  extensions: [exploreSearchResultListItem]
13
15
  });
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.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 { createPlugin } from '@backstage/frontend-plugin-api';\nimport { createSearchResultListItemExtension } from '@backstage/plugin-search-react/alpha';\n\n/** @alpha */\nexport const exploreSearchResultListItem = createSearchResultListItemExtension({\n predicate: result => result.type === 'tools',\n component: () =>\n import('./components/ToolSearchResultListItem').then(\n m => m.ToolSearchResultListItem,\n ),\n});\n\n/** @alpha */\nexport default createPlugin({\n id: 'explore',\n extensions: [exploreSearchResultListItem],\n});\n"],"names":[],"mappings":";;;AAoBO,MAAM,8BAA8B,mCAAoC,CAAA;AAAA,EAC7E,SAAA,EAAW,CAAU,MAAA,KAAA,MAAA,CAAO,IAAS,KAAA,OAAA;AAAA,EACrC,SAAW,EAAA,MACT,OAAO,oDAAuC,CAAE,CAAA,IAAA;AAAA,IAC9C,OAAK,CAAE,CAAA,wBAAA;AAAA,GACT;AACJ,CAAC,EAAA;AAGD,YAAe,YAAa,CAAA;AAAA,EAC1B,EAAI,EAAA,SAAA;AAAA,EACJ,UAAA,EAAY,CAAC,2BAA2B,CAAA;AAC1C,CAAC,CAAA;;;;"}
1
+ {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.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 { createFrontendPlugin } from '@backstage/frontend-plugin-api';\nimport { SearchResultListItemBlueprint } from '@backstage/plugin-search-react/alpha';\n\n/** @alpha */\nexport const exploreSearchResultListItem = SearchResultListItemBlueprint.make({\n params: {\n predicate: result => result.type === 'tools',\n component: () =>\n import('./components/ToolSearchResultListItem').then(\n m => m.ToolSearchResultListItem,\n ),\n },\n});\n\n/** @alpha */\nexport default createFrontendPlugin({\n id: 'explore',\n extensions: [exploreSearchResultListItem],\n});\n"],"names":[],"mappings":";;;AAoBa,MAAA,2BAAA,GAA8B,8BAA8B,IAAK,CAAA;AAAA,EAC5E,MAAQ,EAAA;AAAA,IACN,SAAA,EAAW,CAAU,MAAA,KAAA,MAAA,CAAO,IAAS,KAAA,OAAA;AAAA,IACrC,SAAW,EAAA,MACT,OAAO,oDAAuC,CAAE,CAAA,IAAA;AAAA,MAC9C,OAAK,CAAE,CAAA,wBAAA;AAAA,KACT;AAAA,GACJ;AACF,CAAC,EAAA;AAGD,YAAe,oBAAqB,CAAA;AAAA,EAClC,EAAI,EAAA,SAAA;AAAA,EACJ,UAAA,EAAY,CAAC,2BAA2B,CAAA;AAC1C,CAAC,CAAA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-explore",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "A Backstage plugin for building an exploration page of your software ecosystem",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -56,17 +56,17 @@
56
56
  "test": "backstage-cli package test"
57
57
  },
58
58
  "dependencies": {
59
- "@backstage-community/plugin-explore-common": "^0.0.5",
60
- "@backstage-community/plugin-explore-react": "^0.0.41",
61
- "@backstage/catalog-client": "^1.6.6",
62
- "@backstage/catalog-model": "^1.6.0",
63
- "@backstage/core-components": "^0.14.10",
64
- "@backstage/core-plugin-api": "^1.9.3",
59
+ "@backstage-community/plugin-explore-common": "^0.0.6",
60
+ "@backstage-community/plugin-explore-react": "^0.0.42",
61
+ "@backstage/catalog-client": "^1.7.0",
62
+ "@backstage/catalog-model": "^1.7.0",
63
+ "@backstage/core-components": "^0.15.0",
64
+ "@backstage/core-plugin-api": "^1.9.4",
65
65
  "@backstage/errors": "^1.2.4",
66
- "@backstage/frontend-plugin-api": "^0.7.0",
67
- "@backstage/plugin-catalog-react": "^1.12.3",
66
+ "@backstage/frontend-plugin-api": "^0.8.0",
67
+ "@backstage/plugin-catalog-react": "^1.13.0",
68
68
  "@backstage/plugin-search-common": "^1.2.14",
69
- "@backstage/plugin-search-react": "^1.7.14",
69
+ "@backstage/plugin-search-react": "^1.8.0",
70
70
  "@material-ui/core": "^4.12.2",
71
71
  "@material-ui/icons": "^4.9.1",
72
72
  "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
@@ -75,11 +75,11 @@
75
75
  "react-use": "^17.2.4"
76
76
  },
77
77
  "devDependencies": {
78
- "@backstage/cli": "^0.27.0",
79
- "@backstage/core-app-api": "^1.14.2",
80
- "@backstage/dev-utils": "^1.0.37",
81
- "@backstage/plugin-catalog": "^1.22.0",
82
- "@backstage/test-utils": "^1.5.10",
78
+ "@backstage/cli": "^0.27.1",
79
+ "@backstage/core-app-api": "^1.15.0",
80
+ "@backstage/dev-utils": "^1.1.0",
81
+ "@backstage/plugin-catalog": "^1.23.0",
82
+ "@backstage/test-utils": "^1.6.0",
83
83
  "@testing-library/dom": "^10.0.0",
84
84
  "@testing-library/jest-dom": "^6.0.0",
85
85
  "@testing-library/react": "^15.0.0",