@backstage/plugin-scaffolder-common 1.3.2-next.0 → 1.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @backstage/plugin-scaffolder-common
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e514aac3eac0: Introduce `each` property on action steps, allowing them to be ran repeatedly.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @backstage/catalog-model@1.4.1
13
+ - @backstage/types@1.1.0
14
+ - @backstage/plugin-permission-common@0.7.7
15
+
16
+ ## 1.3.2
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+ - @backstage/catalog-model@1.4.1
22
+ - @backstage/types@1.1.0
23
+ - @backstage/plugin-permission-common@0.7.7
24
+
3
25
  ## 1.3.2-next.0
4
26
 
5
27
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-common",
3
- "version": "1.3.2-next.0",
3
+ "version": "1.4.0",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { EntityMeta, UserEntity, Entity, KindValidator } from '@backstage/catalog-model';
2
- import { JsonObject, JsonValue } from '@backstage/types';
2
+ import { JsonObject, JsonArray, JsonValue } from '@backstage/types';
3
3
 
4
4
  /**
5
5
  * Information about a template that is stored on a task specification.
@@ -52,6 +52,10 @@ interface TaskStep {
52
52
  * When this is false, or if the templated value string evaluates to something that is falsy the step will be skipped.
53
53
  */
54
54
  if?: string | boolean;
55
+ /**
56
+ * Run step repeatedly
57
+ */
58
+ each?: string | JsonArray;
55
59
  }
56
60
  /**
57
61
  * A scaffolder task as stored in the database, generated from a v1beta3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-common",
3
3
  "description": "Common functionalities for the scaffolder, to be shared between scaffolder and scaffolder-backend plugin",
4
- "version": "1.3.2-next.0",
4
+ "version": "1.4.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -54,12 +54,12 @@
54
54
  "url": "https://github.com/backstage/backstage/issues"
55
55
  },
56
56
  "dependencies": {
57
- "@backstage/catalog-model": "^1.4.1-next.0",
58
- "@backstage/plugin-permission-common": "^0.7.7-next.0",
57
+ "@backstage/catalog-model": "^1.4.1",
58
+ "@backstage/plugin-permission-common": "^0.7.7",
59
59
  "@backstage/types": "^1.1.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@backstage/cli": "^0.22.9-next.0"
62
+ "@backstage/cli": "^0.22.10"
63
63
  },
64
64
  "module": "dist/index.esm.js"
65
65
  }