@backstage/plugin-scaffolder-backend 1.11.0-next.0 → 1.11.0-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,51 @@
1
1
  # @backstage/plugin-scaffolder-backend
2
2
 
3
+ ## 1.11.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 0ff03319be: Updated usage of `createBackendPlugin`.
8
+ - Updated dependencies
9
+ - @backstage/backend-plugin-api@0.4.0-next.2
10
+ - @backstage/backend-common@0.18.2-next.2
11
+ - @backstage/plugin-catalog-backend@1.7.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-scaffolder-node@0.1.0-next.2
15
+ - @backstage/backend-tasks@0.4.3-next.2
16
+ - @backstage/plugin-auth-node@0.2.11-next.2
17
+ - @backstage/catalog-client@1.3.1-next.1
18
+ - @backstage/config@1.0.6
19
+ - @backstage/errors@1.1.4
20
+ - @backstage/integration@1.4.2
21
+ - @backstage/types@1.0.2
22
+ - @backstage/plugin-scaffolder-common@1.2.5-next.1
23
+
24
+ ## 1.11.0-next.1
25
+
26
+ ### Minor Changes
27
+
28
+ - 127154930f: Renamed the export `scaffolderCatalogModule` to `catalogModuleTemplateKind` in order to follow the new recommended naming patterns of backend system items. This is technically a breaking change but in an alpha export, so take care to change your imports if you have already migrated to the new backend system.
29
+
30
+ ### Patch Changes
31
+
32
+ - 66cf22fdc4: Updated dependency `esbuild` to `^0.17.0`.
33
+ - Updated dependencies
34
+ - @backstage/plugin-catalog-backend@1.7.2-next.1
35
+ - @backstage/backend-common@0.18.2-next.1
36
+ - @backstage/backend-plugin-api@0.3.2-next.1
37
+ - @backstage/backend-tasks@0.4.3-next.1
38
+ - @backstage/catalog-client@1.3.1-next.0
39
+ - @backstage/catalog-model@1.1.6-next.0
40
+ - @backstage/config@1.0.6
41
+ - @backstage/errors@1.1.4
42
+ - @backstage/integration@1.4.2
43
+ - @backstage/types@1.0.2
44
+ - @backstage/plugin-auth-node@0.2.11-next.1
45
+ - @backstage/plugin-catalog-node@1.3.3-next.1
46
+ - @backstage/plugin-scaffolder-common@1.2.5-next.0
47
+ - @backstage/plugin-scaffolder-node@0.1.0-next.1
48
+
3
49
  ## 1.11.0-next.0
4
50
 
5
51
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend",
3
- "version": "1.11.0-next.0",
3
+ "version": "1.11.0-next.2",
4
4
  "main": "../dist/index.cjs.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -42,6 +42,13 @@ import { Writable } from 'stream';
42
42
  */
43
43
  export declare type ActionContext<TInput extends JsonObject> = ActionContext_2<TInput>;
44
44
 
45
+ /**
46
+ * Registers support for the Template kind to the catalog backend plugin.
47
+ *
48
+ * @alpha
49
+ */
50
+ export declare const catalogModuleTemplateKind: () => BackendFeature;
51
+
45
52
  /**
46
53
  * A function to generate create a list of default actions that the scaffolder provides.
47
54
  * Is called internally in the default setup, but can be used when adding your own actions or overriding the default ones
@@ -794,12 +801,6 @@ export declare type RunCommandOptions = {
794
801
  logStream?: Writable;
795
802
  };
796
803
 
797
- /**
798
- * @alpha
799
- * Registers the ScaffolderEntitiesProcessor with the catalog processing extension point.
800
- */
801
- export declare const scaffolderCatalogModule: () => BackendFeature;
802
-
803
804
  /** @public */
804
805
  export declare class ScaffolderEntitiesProcessor implements CatalogProcessor {
805
806
  getProcessorName(): string;
@@ -42,6 +42,8 @@ import { Writable } from 'stream';
42
42
  */
43
43
  export declare type ActionContext<TInput extends JsonObject> = ActionContext_2<TInput>;
44
44
 
45
+ /* Excluded from this release type: catalogModuleTemplateKind */
46
+
45
47
  /**
46
48
  * A function to generate create a list of default actions that the scaffolder provides.
47
49
  * Is called internally in the default setup, but can be used when adding your own actions or overriding the default ones
@@ -794,8 +796,6 @@ export declare type RunCommandOptions = {
794
796
  logStream?: Writable;
795
797
  };
796
798
 
797
- /* Excluded from this release type: scaffolderCatalogModule */
798
-
799
799
  /** @public */
800
800
  export declare class ScaffolderEntitiesProcessor implements CatalogProcessor {
801
801
  getProcessorName(): string;
package/dist/index.cjs.js CHANGED
@@ -5622,9 +5622,9 @@ class ScaffolderEntitiesProcessor {
5622
5622
  }
5623
5623
  }
5624
5624
 
5625
- const scaffolderCatalogModule = backendPluginApi.createBackendModule({
5625
+ const catalogModuleTemplateKind = backendPluginApi.createBackendModule({
5626
5626
  moduleId: "scaffolder",
5627
- pluginId: "catalog",
5627
+ pluginId: "templateKind",
5628
5628
  register(env) {
5629
5629
  env.registerInit({
5630
5630
  deps: {
@@ -5665,7 +5665,7 @@ class ScaffolderActionsExtensionPointImpl {
5665
5665
  _actions = new WeakMap();
5666
5666
  const scaffolderPlugin = backendPluginApi.createBackendPlugin(
5667
5667
  (options) => ({
5668
- id: "scaffolder",
5668
+ pluginId: "scaffolder",
5669
5669
  register(env) {
5670
5670
  const actionsExtensions = new ScaffolderActionsExtensionPointImpl();
5671
5671
  env.registerExtensionPoint(
@@ -5738,6 +5738,7 @@ exports.ScaffolderEntitiesProcessor = ScaffolderEntitiesProcessor;
5738
5738
  exports.TaskManager = TaskManager;
5739
5739
  exports.TaskWorker = TaskWorker;
5740
5740
  exports.TemplateActionRegistry = TemplateActionRegistry;
5741
+ exports.catalogModuleTemplateKind = catalogModuleTemplateKind;
5741
5742
  exports.createBuiltinActions = createBuiltinActions;
5742
5743
  exports.createCatalogRegisterAction = createCatalogRegisterAction;
5743
5744
  exports.createCatalogWriteAction = createCatalogWriteAction;
@@ -5766,6 +5767,5 @@ exports.createRouter = createRouter;
5766
5767
  exports.createTemplateAction = createTemplateAction;
5767
5768
  exports.executeShellCommand = executeShellCommand;
5768
5769
  exports.fetchContents = fetchContents;
5769
- exports.scaffolderCatalogModule = scaffolderCatalogModule;
5770
5770
  exports.scaffolderPlugin = scaffolderPlugin;
5771
5771
  //# sourceMappingURL=index.cjs.js.map