@spotify/backstage-plugin-rbac 0.7.1 → 0.7.2

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
  # @spotify/backstage-plugin-rbac
2
2
 
3
+ ## 0.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Update to Backstage v1.32.0
8
+ - Updated dependencies
9
+ - @spotify/backstage-plugin-core@0.8.2
10
+ - @spotify/backstage-plugin-rbac-common@0.6.2
11
+
3
12
  ## 0.7.1
4
13
 
5
14
  ### Patch Changes
@@ -51,12 +60,6 @@
51
60
 
52
61
  - Aligned dependencies with Backstage package architecture expectations.
53
62
  - Updated backstage dependencies to `v1.26.0`
54
- - Updated dependencies
55
- - Updated dependencies
56
- - Updated dependencies
57
- - Updated dependencies
58
- - Updated dependencies
59
- - Updated dependencies
60
63
  - Updated dependencies
61
64
  - @spotify/backstage-plugin-core@0.7.1
62
65
  - @spotify/backstage-plugin-rbac-common@0.5.13
@@ -91,8 +94,6 @@
91
94
  - Upgraded Backstage to v1.22.0
92
95
  - Minor UI fixes and improvements.
93
96
  - Updated dependency `@types/node` to `^20.0.0`.
94
- - Updated dependencies
95
- - Updated dependencies
96
97
  - Updated dependencies
97
98
  - @spotify/backstage-plugin-rbac-common@0.5.10
98
99
  - @spotify/backstage-plugin-core@0.5.9
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spotify/backstage-plugin-rbac__alpha",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
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
@@ -9,16 +9,17 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
9
9
  declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
10
10
  "api:rbac": _backstage_frontend_plugin_api.ExtensionDefinition<{
11
11
  kind: "api";
12
- namespace: undefined;
13
12
  name: undefined;
14
13
  config: {};
15
14
  configInput: {};
16
15
  output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
17
16
  inputs: {};
17
+ params: {
18
+ factory: _backstage_core_plugin_api.AnyApiFactory;
19
+ };
18
20
  }>;
19
21
  "page:rbac": _backstage_frontend_plugin_api.ExtensionDefinition<{
20
22
  kind: "page";
21
- namespace: undefined;
22
23
  name: undefined;
23
24
  config: {
24
25
  path: string | undefined;
@@ -30,6 +31,11 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
30
31
  optional: true;
31
32
  }>;
32
33
  inputs: {};
34
+ params: {
35
+ defaultPath: string;
36
+ loader: () => Promise<JSX.Element>;
37
+ routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
38
+ };
33
39
  }>;
34
40
  }>;
35
41
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotify/backstage-plugin-rbac",
3
3
  "description": "Control access to actions and data in Backstage with ease.",
4
- "version": "0.7.1",
4
+ "version": "0.7.2",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://backstage.spotify.com",
7
7
  "main": "./dist/index.esm.js",
@@ -25,6 +25,7 @@
25
25
  "default": "./dist/index.esm.js"
26
26
  },
27
27
  "./alpha": {
28
+ "backstage": "@backstage/FrontendPlugin",
28
29
  "import": "./dist/alpha.esm.js",
29
30
  "types": "./dist/alpha.d.ts",
30
31
  "default": "./dist/alpha.esm.js"
@@ -43,21 +44,21 @@
43
44
  },
44
45
  "dependencies": {
45
46
  "@backstage/catalog-model": "^1.7.0",
46
- "@backstage/core-compat-api": "^0.3.0",
47
- "@backstage/core-components": "^0.15.0",
48
- "@backstage/core-plugin-api": "^1.9.4",
47
+ "@backstage/core-compat-api": "^0.3.1",
48
+ "@backstage/core-components": "^0.15.1",
49
+ "@backstage/core-plugin-api": "^1.10.0",
49
50
  "@backstage/errors": "^1.2.4",
50
- "@backstage/frontend-plugin-api": "^0.8.0",
51
- "@backstage/plugin-catalog-react": "^1.13.0",
51
+ "@backstage/frontend-plugin-api": "^0.9.0",
52
+ "@backstage/plugin-catalog-react": "^1.14.0",
52
53
  "@backstage/plugin-permission-common": "^0.8.1",
53
- "@backstage/plugin-permission-react": "^0.4.26",
54
- "@backstage/theme": "^0.5.7",
54
+ "@backstage/plugin-permission-react": "^0.4.27",
55
+ "@backstage/theme": "^0.6.0",
55
56
  "@backstage/types": "^1.1.1",
56
57
  "@material-ui/core": "^4.12.2",
57
58
  "@material-ui/icons": "^4.9.1",
58
59
  "@material-ui/lab": "4.0.0-alpha.61",
59
- "@spotify/backstage-plugin-core": "^0.8.1",
60
- "@spotify/backstage-plugin-rbac-common": "^0.6.1",
60
+ "@spotify/backstage-plugin-core": "^0.8.2",
61
+ "@spotify/backstage-plugin-rbac-common": "^0.6.2",
61
62
  "ajv": "^8.11.2",
62
63
  "file-saver": "^2.0.5",
63
64
  "js-yaml": "^4.1.0",
@@ -76,14 +77,14 @@
76
77
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
77
78
  },
78
79
  "devDependencies": {
79
- "@backstage/cli": "^0.27.1",
80
- "@backstage/core-app-api": "^1.15.0",
81
- "@backstage/dev-utils": "^1.1.0",
80
+ "@backstage/cli": "^0.28.0",
81
+ "@backstage/core-app-api": "^1.15.1",
82
+ "@backstage/dev-utils": "^1.1.2",
82
83
  "@backstage/e2e-test-utils": "^0.1.1",
83
- "@backstage/frontend-test-utils": "^0.2.0",
84
- "@backstage/test-utils": "^1.6.0",
84
+ "@backstage/frontend-test-utils": "^0.2.1",
85
+ "@backstage/test-utils": "^1.7.0",
85
86
  "@playwright/test": "^1.32.3",
86
- "@sp4b-dev/test-utils": "^0.0.7",
87
+ "@sp4b-dev/test-utils": "^0.0.8",
87
88
  "@testing-library/jest-dom": "^6.0.0",
88
89
  "@testing-library/react": "^14.0.0",
89
90
  "@testing-library/user-event": "^14.0.0",