@backstage/plugin-app 0.0.0-nightly-20240903022649 → 0.0.0-nightly-20240904022810
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 +44 -3
- package/dist/index.d.ts +1 -18
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @backstage/plugin-app
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20240904022810
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -39,8 +39,49 @@
|
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
- Updated dependencies
|
|
42
|
-
- @backstage/frontend-plugin-api@0.0.0-nightly-
|
|
43
|
-
- @backstage/core-components@0.
|
|
42
|
+
- @backstage/frontend-plugin-api@0.0.0-nightly-20240904022810
|
|
43
|
+
- @backstage/core-components@0.0.0-nightly-20240904022810
|
|
44
|
+
- @backstage/core-plugin-api@1.9.3
|
|
45
|
+
- @backstage/theme@0.5.6
|
|
46
|
+
- @backstage/plugin-permission-react@0.4.25
|
|
47
|
+
|
|
48
|
+
## 0.1.0-next.1
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- 52f9c5a: Deprecated the `namespace` option for `createExtensionBlueprint` and `createExtension`, these are no longer required and will default to the `pluginId` instead.
|
|
53
|
+
|
|
54
|
+
You can migrate some of your extensions that use `createExtensionOverrides` to using `createFrontendModule` instead and providing a `pluginId` there.
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
// Before
|
|
58
|
+
createExtensionOverrides({
|
|
59
|
+
extensions: [
|
|
60
|
+
createExtension({
|
|
61
|
+
name: 'my-extension',
|
|
62
|
+
namespace: 'my-namespace',
|
|
63
|
+
kind: 'test',
|
|
64
|
+
...
|
|
65
|
+
})
|
|
66
|
+
],
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
// After
|
|
70
|
+
createFrontendModule({
|
|
71
|
+
pluginId: 'my-namespace',
|
|
72
|
+
extensions: [
|
|
73
|
+
createExtension({
|
|
74
|
+
name: 'my-extension',
|
|
75
|
+
kind: 'test',
|
|
76
|
+
...
|
|
77
|
+
})
|
|
78
|
+
],
|
|
79
|
+
});
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
- Updated dependencies
|
|
83
|
+
- @backstage/frontend-plugin-api@0.8.0-next.1
|
|
84
|
+
- @backstage/core-components@0.14.11-next.0
|
|
44
85
|
- @backstage/core-plugin-api@1.9.3
|
|
45
86
|
- @backstage/theme@0.5.6
|
|
46
87
|
- @backstage/plugin-permission-react@0.4.25
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
3
|
-
import * as react from 'react';
|
|
4
3
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
4
|
+
import * as react from 'react';
|
|
5
5
|
|
|
6
6
|
/** @public */
|
|
7
7
|
declare const appPlugin: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
8
|
-
[x: `component:app/${string}`]: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
9
|
-
config: {};
|
|
10
|
-
configInput: {};
|
|
11
|
-
output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
|
|
12
|
-
ref: _backstage_frontend_plugin_api.ComponentRef;
|
|
13
|
-
impl: react.ComponentType;
|
|
14
|
-
}, "core.component.component", {}>;
|
|
15
|
-
inputs: {
|
|
16
|
-
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.AnyExtensionDataRef, {
|
|
17
|
-
optional: boolean;
|
|
18
|
-
singleton: boolean;
|
|
19
|
-
}>;
|
|
20
|
-
};
|
|
21
|
-
kind: "component";
|
|
22
|
-
namespace: string;
|
|
23
|
-
name: string;
|
|
24
|
-
}>;
|
|
25
8
|
app: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
26
9
|
config: {};
|
|
27
10
|
configInput: {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-app",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240904022810",
|
|
4
4
|
"main": "dist/index.esm.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"postpack": "backstage-cli package postpack"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@backstage/core-components": "^0.
|
|
37
|
+
"@backstage/core-components": "^0.0.0-nightly-20240904022810",
|
|
38
38
|
"@backstage/core-plugin-api": "^1.9.3",
|
|
39
|
-
"@backstage/frontend-plugin-api": "^0.0.0-nightly-
|
|
39
|
+
"@backstage/frontend-plugin-api": "^0.0.0-nightly-20240904022810",
|
|
40
40
|
"@backstage/plugin-permission-react": "^0.4.25",
|
|
41
41
|
"@backstage/theme": "^0.5.6",
|
|
42
42
|
"@material-ui/core": "^4.9.13",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@backstage/cli": "^0.0.0-nightly-
|
|
54
|
-
"@backstage/dev-utils": "^0.0.0-nightly-
|
|
55
|
-
"@backstage/frontend-test-utils": "^0.0.0-nightly-
|
|
53
|
+
"@backstage/cli": "^0.0.0-nightly-20240904022810",
|
|
54
|
+
"@backstage/dev-utils": "^0.0.0-nightly-20240904022810",
|
|
55
|
+
"@backstage/frontend-test-utils": "^0.0.0-nightly-20240904022810",
|
|
56
56
|
"@testing-library/jest-dom": "^6.0.0",
|
|
57
57
|
"@testing-library/react": "^15.0.0",
|
|
58
58
|
"@testing-library/user-event": "^14.0.0",
|