@backstage/core-plugin-api 1.9.4-next.0 → 1.10.0-next.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 +27 -0
- package/alpha/package.json +1 -1
- package/dist/index.d.ts +1 -3
- package/package.json +31 -31
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @backstage/core-plugin-api
|
|
2
2
|
|
|
3
|
+
## 1.10.0-next.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bfd4bec: **BREAKING PRODUCERS**: The `IconComponent` no longer accepts `fontSize="default"`. This has effectively been removed from Material-UI since its last two major versions, and has not worked properly for them in a long time.
|
|
8
|
+
|
|
9
|
+
This change should not have an effect on neither users of MUI4 nor MUI5/6, since the updated interface should still let you send the respective `SvgIcon` types into interfaces where relevant (e.g. as app icons).
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
- @backstage/config@1.2.0
|
|
15
|
+
- @backstage/errors@1.2.4
|
|
16
|
+
- @backstage/types@1.1.1
|
|
17
|
+
- @backstage/version-bridge@1.0.9
|
|
18
|
+
|
|
19
|
+
## 1.9.4
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- 836127c: Updated dependency `@testing-library/react` to `^16.0.0`.
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
- @backstage/version-bridge@1.0.9
|
|
26
|
+
- @backstage/config@1.2.0
|
|
27
|
+
- @backstage/errors@1.2.4
|
|
28
|
+
- @backstage/types@1.1.1
|
|
29
|
+
|
|
3
30
|
## 1.9.4-next.0
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/alpha/package.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -170,7 +170,7 @@ declare function createApiFactory<Api, Impl extends Api>(api: ApiRef<Api>, insta
|
|
|
170
170
|
*
|
|
171
171
|
* @remarks
|
|
172
172
|
*
|
|
173
|
-
* The type is based on SvgIcon from Material UI, but
|
|
173
|
+
* The type is based on SvgIcon from Material UI, but we do not want the plugin-api
|
|
174
174
|
* package to have a dependency on Material UI, nor do we want the props to be as broad
|
|
175
175
|
* as the SvgIconProps interface.
|
|
176
176
|
*
|
|
@@ -181,8 +181,6 @@ declare function createApiFactory<Api, Impl extends Api>(api: ApiRef<Api>, insta
|
|
|
181
181
|
* @public
|
|
182
182
|
*/
|
|
183
183
|
type IconComponent = ComponentType<{
|
|
184
|
-
fontSize?: 'large' | 'small' | 'default' | 'inherit';
|
|
185
|
-
} | {
|
|
186
184
|
fontSize?: 'medium' | 'large' | 'small' | 'inherit';
|
|
187
185
|
}>;
|
|
188
186
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/core-plugin-api",
|
|
3
|
+
"version": "1.10.0-next.0",
|
|
3
4
|
"description": "Core API used by Backstage plugins",
|
|
4
|
-
"
|
|
5
|
+
"backstage": {
|
|
6
|
+
"role": "web-library"
|
|
7
|
+
},
|
|
5
8
|
"publishConfig": {
|
|
6
9
|
"access": "public"
|
|
7
10
|
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"backstage"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://backstage.io",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/backstage/backstage",
|
|
18
|
+
"directory": "packages/core-plugin-api"
|
|
19
|
+
},
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"sideEffects": false,
|
|
8
22
|
"exports": {
|
|
9
23
|
".": {
|
|
10
24
|
"import": "./dist/index.esm.js",
|
|
@@ -18,56 +32,42 @@
|
|
|
18
32
|
},
|
|
19
33
|
"./package.json": "./package.json"
|
|
20
34
|
},
|
|
21
|
-
"backstage": {
|
|
22
|
-
"role": "web-library"
|
|
23
|
-
},
|
|
24
|
-
"homepage": "https://backstage.io",
|
|
25
|
-
"repository": {
|
|
26
|
-
"type": "git",
|
|
27
|
-
"url": "https://github.com/backstage/backstage",
|
|
28
|
-
"directory": "packages/core-plugin-api"
|
|
29
|
-
},
|
|
30
|
-
"keywords": [
|
|
31
|
-
"backstage"
|
|
32
|
-
],
|
|
33
|
-
"license": "Apache-2.0",
|
|
34
35
|
"main": "./dist/index.esm.js",
|
|
35
36
|
"types": "./dist/index.d.ts",
|
|
36
|
-
"
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"alpha"
|
|
40
|
+
],
|
|
37
41
|
"scripts": {
|
|
38
42
|
"build": "backstage-cli package build",
|
|
43
|
+
"clean": "backstage-cli package clean",
|
|
39
44
|
"lint": "backstage-cli package lint",
|
|
40
|
-
"test": "backstage-cli package test",
|
|
41
45
|
"prepack": "backstage-cli package prepack",
|
|
42
46
|
"postpack": "backstage-cli package postpack",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
47
|
+
"start": "backstage-cli package start",
|
|
48
|
+
"test": "backstage-cli package test"
|
|
45
49
|
},
|
|
46
50
|
"dependencies": {
|
|
47
51
|
"@backstage/config": "^1.2.0",
|
|
48
52
|
"@backstage/errors": "^1.2.4",
|
|
49
53
|
"@backstage/types": "^1.1.1",
|
|
50
|
-
"@backstage/version-bridge": "^1.0.9
|
|
54
|
+
"@backstage/version-bridge": "^1.0.9",
|
|
51
55
|
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
52
56
|
"history": "^5.0.0"
|
|
53
57
|
},
|
|
54
|
-
"peerDependencies": {
|
|
55
|
-
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
56
|
-
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
57
|
-
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
58
|
-
},
|
|
59
58
|
"devDependencies": {
|
|
60
|
-
"@backstage/cli": "^0.
|
|
61
|
-
"@backstage/core-app-api": "^1.
|
|
62
|
-
"@backstage/test-utils": "^1.6.
|
|
59
|
+
"@backstage/cli": "^0.28.0-next.0",
|
|
60
|
+
"@backstage/core-app-api": "^1.15.1-next.0",
|
|
61
|
+
"@backstage/test-utils": "^1.6.1-next.0",
|
|
63
62
|
"@testing-library/dom": "^10.0.0",
|
|
64
63
|
"@testing-library/jest-dom": "^6.0.0",
|
|
65
64
|
"@testing-library/react": "^16.0.0",
|
|
66
65
|
"@testing-library/user-event": "^14.0.0"
|
|
67
66
|
},
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
69
|
+
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
70
|
+
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
71
|
+
},
|
|
72
72
|
"module": "./dist/index.esm.js"
|
|
73
73
|
}
|