@backstage/backend-app-api 0.5.3-next.2 → 0.5.3-next.3

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.

Potentially problematic release.


This version of @backstage/backend-app-api might be problematic. Click here for more details.

package/dist/index.d.ts CHANGED
@@ -289,7 +289,9 @@ declare class WinstonLogger implements RootLoggerService {
289
289
  * @public
290
290
  */
291
291
  interface Backend {
292
- add(feature: BackendFeature | (() => BackendFeature)): void;
292
+ add(feature: BackendFeature | (() => BackendFeature) | Promise<{
293
+ default: BackendFeature | (() => BackendFeature);
294
+ }>): void;
293
295
  start(): Promise<void>;
294
296
  stop(): Promise<void>;
295
297
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/backend-app-api",
3
3
  "description": "Core API used by Backstage backend apps",
4
- "version": "0.5.3-next.2",
4
+ "version": "0.5.3-next.3",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "publishConfig": {
@@ -43,17 +43,17 @@
43
43
  "start": "backstage-cli package start"
44
44
  },
45
45
  "dependencies": {
46
- "@backstage/backend-common": "^0.19.5-next.2",
47
- "@backstage/backend-plugin-api": "^0.6.3-next.2",
48
- "@backstage/backend-tasks": "^0.5.8-next.2",
46
+ "@backstage/backend-common": "^0.19.5-next.3",
47
+ "@backstage/backend-plugin-api": "^0.6.3-next.3",
48
+ "@backstage/backend-tasks": "^0.5.8-next.3",
49
49
  "@backstage/cli-common": "^0.1.12",
50
- "@backstage/cli-node": "^0.1.3",
51
- "@backstage/config": "^1.1.0-next.1",
52
- "@backstage/config-loader": "^1.5.0-next.2",
53
- "@backstage/errors": "^1.2.1",
54
- "@backstage/plugin-auth-node": "^0.3.0-next.2",
55
- "@backstage/plugin-permission-node": "^0.7.14-next.2",
56
- "@backstage/types": "^1.1.0",
50
+ "@backstage/cli-node": "^0.1.4-next.0",
51
+ "@backstage/config": "^1.1.0-next.2",
52
+ "@backstage/config-loader": "^1.5.0-next.3",
53
+ "@backstage/errors": "^1.2.2-next.0",
54
+ "@backstage/plugin-auth-node": "^0.3.0-next.3",
55
+ "@backstage/plugin-permission-node": "^0.7.14-next.3",
56
+ "@backstage/types": "^1.1.1-next.0",
57
57
  "@manypkg/get-packages": "^1.1.3",
58
58
  "@types/cors": "^2.8.6",
59
59
  "@types/express": "^4.17.6",
@@ -75,8 +75,8 @@
75
75
  "winston-transport": "^4.5.0"
76
76
  },
77
77
  "devDependencies": {
78
- "@backstage/backend-test-utils": "^0.2.3-next.2",
79
- "@backstage/cli": "^0.22.13-next.2",
78
+ "@backstage/backend-test-utils": "^0.2.3-next.3",
79
+ "@backstage/cli": "^0.22.13-next.3",
80
80
  "@types/compression": "^1.7.0",
81
81
  "@types/fs-extra": "^9.0.3",
82
82
  "@types/http-errors": "^2.0.0",