@backstage/plugin-signals 0.0.21 → 0.0.22-next.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,27 @@
1
1
  # @backstage/plugin-signals
2
2
 
3
+ ## 0.0.22-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - f2f133c: Internal update to use the new variant of `ApiBlueprint`.
8
+ - Updated dependencies
9
+ - @backstage/core-compat-api@0.4.5-next.1
10
+ - @backstage/frontend-plugin-api@0.11.0-next.0
11
+ - @backstage/theme@0.6.8-next.0
12
+ - @backstage/core-components@0.17.5-next.0
13
+ - @backstage/core-plugin-api@1.10.9
14
+ - @backstage/types@1.2.1
15
+ - @backstage/plugin-signals-react@0.0.15
16
+
17
+ ## 0.0.22-next.0
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+ - @backstage/core-compat-api@0.4.5-next.0
23
+ - @backstage/frontend-plugin-api@0.10.4
24
+
3
25
  ## 0.0.21
4
26
 
5
27
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -10,9 +10,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
10
10
  configInput: {};
11
11
  output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
12
12
  inputs: {};
13
- params: {
14
- factory: _backstage_frontend_plugin_api.AnyApiFactory;
15
- };
13
+ params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
16
14
  }>;
17
15
  "app-root-element:signals/signals-display": _backstage_frontend_plugin_api.ExtensionDefinition<{
18
16
  kind: "app-root-element";
package/dist/alpha.esm.js CHANGED
@@ -1,26 +1,24 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { ApiBlueprint, createApiFactory, identityApiRef, discoveryApiRef, AppRootElementBlueprint, createFrontendPlugin } from '@backstage/frontend-plugin-api';
2
+ import { ApiBlueprint, identityApiRef, discoveryApiRef, AppRootElementBlueprint, createFrontendPlugin } from '@backstage/frontend-plugin-api';
3
3
  import { signalApiRef } from '@backstage/plugin-signals-react';
4
4
  import { SignalClient } from './api/SignalClient.esm.js';
5
5
  import { SignalsDisplay } from './plugin.esm.js';
6
6
  import { compatWrapper } from '@backstage/core-compat-api';
7
7
 
8
8
  const api = ApiBlueprint.make({
9
- params: {
10
- factory: createApiFactory({
11
- api: signalApiRef,
12
- deps: {
13
- identity: identityApiRef,
14
- discoveryApi: discoveryApiRef
15
- },
16
- factory: ({ identity, discoveryApi }) => {
17
- return SignalClient.create({
18
- identity,
19
- discoveryApi
20
- });
21
- }
22
- })
23
- }
9
+ params: (define) => define({
10
+ api: signalApiRef,
11
+ deps: {
12
+ identity: identityApiRef,
13
+ discoveryApi: discoveryApiRef
14
+ },
15
+ factory: ({ identity, discoveryApi }) => {
16
+ return SignalClient.create({
17
+ identity,
18
+ discoveryApi
19
+ });
20
+ }
21
+ })
24
22
  });
25
23
  const signalsDisplayAppRootElement = AppRootElementBlueprint.make({
26
24
  name: "signals-display",
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"sourcesContent":["/*\n * Copyright 2025 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 ApiBlueprint,\n AppRootElementBlueprint,\n createApiFactory,\n createFrontendPlugin,\n discoveryApiRef,\n identityApiRef,\n} from '@backstage/frontend-plugin-api';\nimport { signalApiRef } from '@backstage/plugin-signals-react';\nimport { SignalClient } from './api/SignalClient';\nimport { SignalsDisplay } from './plugin';\nimport { compatWrapper } from '@backstage/core-compat-api';\n\nconst api = ApiBlueprint.make({\n params: {\n factory: createApiFactory({\n api: signalApiRef,\n deps: {\n identity: identityApiRef,\n discoveryApi: discoveryApiRef,\n },\n factory: ({ identity, discoveryApi }) => {\n return SignalClient.create({\n identity,\n discoveryApi,\n });\n },\n }),\n },\n});\n\nconst signalsDisplayAppRootElement = AppRootElementBlueprint.make({\n name: 'signals-display',\n params: {\n element: compatWrapper(<SignalsDisplay />),\n },\n});\n\n/** @alpha */\nexport default createFrontendPlugin({\n pluginId: 'signals',\n info: { packageJson: () => import('../package.json') },\n extensions: [api, signalsDisplayAppRootElement],\n});\n"],"names":[],"mappings":";;;;;;;AA6BA,MAAM,GAAA,GAAM,aAAa,IAAK,CAAA;AAAA,EAC5B,MAAQ,EAAA;AAAA,IACN,SAAS,gBAAiB,CAAA;AAAA,MACxB,GAAK,EAAA,YAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,QAAU,EAAA,cAAA;AAAA,QACV,YAAc,EAAA;AAAA,OAChB;AAAA,MACA,OAAS,EAAA,CAAC,EAAE,QAAA,EAAU,cAAmB,KAAA;AACvC,QAAA,OAAO,aAAa,MAAO,CAAA;AAAA,UACzB,QAAA;AAAA,UACA;AAAA,SACD,CAAA;AAAA;AACH,KACD;AAAA;AAEL,CAAC,CAAA;AAED,MAAM,4BAAA,GAA+B,wBAAwB,IAAK,CAAA;AAAA,EAChE,IAAM,EAAA,iBAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,OAAS,EAAA,aAAA,iBAAe,GAAA,CAAA,cAAA,EAAA,EAAe,CAAE;AAAA;AAE7C,CAAC,CAAA;AAGD,YAAe,oBAAqB,CAAA;AAAA,EAClC,QAAU,EAAA,SAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,uBAAiB,CAAE,EAAA;AAAA,EACrD,UAAA,EAAY,CAAC,GAAA,EAAK,4BAA4B;AAChD,CAAC,CAAA;;;;"}
1
+ {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"sourcesContent":["/*\n * Copyright 2025 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 ApiBlueprint,\n AppRootElementBlueprint,\n createFrontendPlugin,\n discoveryApiRef,\n identityApiRef,\n} from '@backstage/frontend-plugin-api';\nimport { signalApiRef } from '@backstage/plugin-signals-react';\nimport { SignalClient } from './api/SignalClient';\nimport { SignalsDisplay } from './plugin';\nimport { compatWrapper } from '@backstage/core-compat-api';\n\nconst api = ApiBlueprint.make({\n params: define =>\n define({\n api: signalApiRef,\n deps: {\n identity: identityApiRef,\n discoveryApi: discoveryApiRef,\n },\n factory: ({ identity, discoveryApi }) => {\n return SignalClient.create({\n identity,\n discoveryApi,\n });\n },\n }),\n});\n\nconst signalsDisplayAppRootElement = AppRootElementBlueprint.make({\n name: 'signals-display',\n params: {\n element: compatWrapper(<SignalsDisplay />),\n },\n});\n\n/** @alpha */\nexport default createFrontendPlugin({\n pluginId: 'signals',\n info: { packageJson: () => import('../package.json') },\n extensions: [api, signalsDisplayAppRootElement],\n});\n"],"names":[],"mappings":";;;;;;;AA4BA,MAAM,GAAA,GAAM,aAAa,IAAK,CAAA;AAAA,EAC5B,MAAA,EAAQ,YACN,MAAO,CAAA;AAAA,IACL,GAAK,EAAA,YAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,QAAU,EAAA,cAAA;AAAA,MACV,YAAc,EAAA;AAAA,KAChB;AAAA,IACA,OAAS,EAAA,CAAC,EAAE,QAAA,EAAU,cAAmB,KAAA;AACvC,MAAA,OAAO,aAAa,MAAO,CAAA;AAAA,QACzB,QAAA;AAAA,QACA;AAAA,OACD,CAAA;AAAA;AACH,GACD;AACL,CAAC,CAAA;AAED,MAAM,4BAAA,GAA+B,wBAAwB,IAAK,CAAA;AAAA,EAChE,IAAM,EAAA,iBAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,OAAS,EAAA,aAAA,iBAAe,GAAA,CAAA,cAAA,EAAA,EAAe,CAAE;AAAA;AAE7C,CAAC,CAAA;AAGD,YAAe,oBAAqB,CAAA;AAAA,EAClC,QAAU,EAAA,SAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,uBAAiB,CAAE,EAAA;AAAA,EACrD,UAAA,EAAY,CAAC,GAAA,EAAK,4BAA4B;AAChD,CAAC,CAAA;;;;"}
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-signals";
2
- var version = "0.0.21";
2
+ var version = "0.0.22-next.1";
3
3
  var backstage = {
4
4
  role: "frontend-plugin",
5
5
  pluginId: "signals",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-signals",
3
- "version": "0.0.21",
3
+ "version": "0.0.22-next.1",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "signals",
@@ -63,13 +63,13 @@
63
63
  "test": "backstage-cli package test"
64
64
  },
65
65
  "dependencies": {
66
- "@backstage/core-compat-api": "^0.4.4",
67
- "@backstage/core-components": "^0.17.4",
68
- "@backstage/core-plugin-api": "^1.10.9",
69
- "@backstage/frontend-plugin-api": "^0.10.4",
70
- "@backstage/plugin-signals-react": "^0.0.15",
71
- "@backstage/theme": "^0.6.7",
72
- "@backstage/types": "^1.2.1",
66
+ "@backstage/core-compat-api": "0.4.5-next.1",
67
+ "@backstage/core-components": "0.17.5-next.0",
68
+ "@backstage/core-plugin-api": "1.10.9",
69
+ "@backstage/frontend-plugin-api": "0.11.0-next.0",
70
+ "@backstage/plugin-signals-react": "0.0.15",
71
+ "@backstage/theme": "0.6.8-next.0",
72
+ "@backstage/types": "1.2.1",
73
73
  "@material-ui/core": "^4.12.4",
74
74
  "@material-ui/icons": "^4.9.1",
75
75
  "@material-ui/lab": "^4.0.0-alpha.61",
@@ -77,10 +77,10 @@
77
77
  "uuid": "^11.0.0"
78
78
  },
79
79
  "devDependencies": {
80
- "@backstage/cli": "^0.33.1",
81
- "@backstage/core-app-api": "^1.18.0",
82
- "@backstage/dev-utils": "^1.1.12",
83
- "@backstage/test-utils": "^1.7.10",
80
+ "@backstage/cli": "0.33.2-next.0",
81
+ "@backstage/core-app-api": "1.18.0",
82
+ "@backstage/dev-utils": "1.1.13-next.1",
83
+ "@backstage/test-utils": "1.7.11-next.0",
84
84
  "@testing-library/jest-dom": "^6.0.0",
85
85
  "@testing-library/react": "^16.0.0",
86
86
  "@testing-library/user-event": "^14.0.0",