@backstage/backend-app-api 0.5.0-next.2 → 0.5.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.

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,7 @@ declare class WinstonLogger implements RootLoggerService {
289
289
  * @public
290
290
  */
291
291
  interface Backend {
292
- add(feature: BackendFeature): void;
292
+ add(feature: BackendFeature | (() => BackendFeature)): void;
293
293
  start(): Promise<void>;
294
294
  stop(): Promise<void>;
295
295
  }
@@ -297,7 +297,7 @@ interface Backend {
297
297
  * @public
298
298
  */
299
299
  interface CreateSpecializedBackendOptions {
300
- services: ServiceFactoryOrFunction[];
300
+ defaultServiceFactories: ServiceFactoryOrFunction[];
301
301
  }
302
302
 
303
303
  /**
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.0-next.2",
4
+ "version": "0.5.0",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "publishConfig": {
@@ -43,16 +43,16 @@
43
43
  "start": "backstage-cli package start"
44
44
  },
45
45
  "dependencies": {
46
- "@backstage/backend-common": "^0.19.2-next.2",
47
- "@backstage/backend-plugin-api": "^0.6.0-next.2",
48
- "@backstage/backend-tasks": "^0.5.5-next.2",
46
+ "@backstage/backend-common": "^0.19.2",
47
+ "@backstage/backend-plugin-api": "^0.6.0",
48
+ "@backstage/backend-tasks": "^0.5.5",
49
49
  "@backstage/cli-common": "^0.1.12",
50
- "@backstage/cli-node": "^0.1.3-next.0",
50
+ "@backstage/cli-node": "^0.1.3",
51
51
  "@backstage/config": "^1.0.8",
52
- "@backstage/config-loader": "^1.4.0-next.1",
52
+ "@backstage/config-loader": "^1.4.0",
53
53
  "@backstage/errors": "^1.2.1",
54
- "@backstage/plugin-auth-node": "^0.2.17-next.2",
55
- "@backstage/plugin-permission-node": "^0.7.11-next.2",
54
+ "@backstage/plugin-auth-node": "^0.2.17",
55
+ "@backstage/plugin-permission-node": "^0.7.11",
56
56
  "@backstage/types": "^1.1.0",
57
57
  "@manypkg/get-packages": "^1.1.3",
58
58
  "@types/cors": "^2.8.6",
@@ -75,8 +75,8 @@
75
75
  "winston-transport": "^4.5.0"
76
76
  },
77
77
  "devDependencies": {
78
- "@backstage/backend-test-utils": "^0.2.0-next.2",
79
- "@backstage/cli": "^0.22.10-next.1",
78
+ "@backstage/backend-test-utils": "^0.2.0",
79
+ "@backstage/cli": "^0.22.10",
80
80
  "@types/compression": "^1.7.0",
81
81
  "@types/fs-extra": "^9.0.3",
82
82
  "@types/http-errors": "^2.0.0",