@backstage/plugin-catalog-backend 1.7.2-next.1 → 1.7.2-next.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,27 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
+ ## 1.7.2-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e716946103: Updated usage of the lifecycle service.
8
+ - 0ff03319be: Updated usage of `createBackendPlugin`.
9
+ - Updated dependencies
10
+ - @backstage/backend-plugin-api@0.4.0-next.2
11
+ - @backstage/backend-common@0.18.2-next.2
12
+ - @backstage/catalog-model@1.2.0-next.1
13
+ - @backstage/plugin-catalog-node@1.3.3-next.2
14
+ - @backstage/plugin-permission-node@0.7.5-next.2
15
+ - @backstage/catalog-client@1.3.1-next.1
16
+ - @backstage/config@1.0.6
17
+ - @backstage/errors@1.1.4
18
+ - @backstage/integration@1.4.2
19
+ - @backstage/types@1.0.2
20
+ - @backstage/plugin-catalog-common@1.0.11-next.1
21
+ - @backstage/plugin-permission-common@0.7.3
22
+ - @backstage/plugin-scaffolder-common@1.2.5-next.1
23
+ - @backstage/plugin-search-common@1.2.1
24
+
3
25
  ## 1.7.2-next.1
4
26
 
5
27
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend",
3
- "version": "1.7.2-next.1",
3
+ "version": "1.7.2-next.2",
4
4
  "main": "../dist/index.cjs.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
package/dist/index.cjs.js CHANGED
@@ -4893,7 +4893,7 @@ class CatalogExtensionPointImpl {
4893
4893
  _processors = new WeakMap();
4894
4894
  _entityProviders = new WeakMap();
4895
4895
  const catalogPlugin = backendPluginApi.createBackendPlugin({
4896
- id: "catalog",
4896
+ pluginId: "catalog",
4897
4897
  register(env) {
4898
4898
  const processingExtensions = new CatalogExtensionPointImpl();
4899
4899
  env.registerExtensionPoint(
@@ -4931,11 +4931,7 @@ const catalogPlugin = backendPluginApi.createBackendPlugin({
4931
4931
  builder.addEntityProvider(...processingExtensions.entityProviders);
4932
4932
  const { processingEngine, router } = await builder.build();
4933
4933
  await processingEngine.start();
4934
- lifecycle.addShutdownHook({
4935
- fn: async () => {
4936
- await processingEngine.stop();
4937
- }
4938
- });
4934
+ lifecycle.addShutdownHook(() => processingEngine.stop());
4939
4935
  httpRouter.use(router);
4940
4936
  }
4941
4937
  });