@backstage/plugin-scaffolder-backend-module-cookiecutter 0.2.15-next.2 → 0.2.16

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # @backstage/plugin-scaffolder-backend-module-cookiecutter
2
2
 
3
+ ## 0.2.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-common@0.18.1
9
+ - @backstage/plugin-scaffolder-backend@1.10.1
10
+
11
+ ## 0.2.15
12
+
13
+ ### Patch Changes
14
+
15
+ - e4c0240445: Added `catalogFilter` field to OwnerPicker and EntityPicker components to support filtering options by any field(s) of an entity.
16
+
17
+ The `allowedKinds` field has been deprecated. Use `catalogFilter` instead. This field allows users to specify a filter on the shape of [EntityFilterQuery](https://github.com/backstage/backstage/blob/774c42003782121d3d6b2aa5f2865d53370c160e/packages/catalog-client/src/types/api.ts#L74), which can be passed into the CatalogClient. See examples below:
18
+
19
+ - Get all entities of kind `Group`
20
+
21
+ ```yaml
22
+ owner:
23
+ title: Owner
24
+ type: string
25
+ description: Owner of the component
26
+ ui:field: OwnerPicker
27
+ ui:options:
28
+ catalogFilter:
29
+ - kind: Group
30
+ ```
31
+
32
+ - Get entities of kind `Group` and spec.type `team`
33
+ ```yaml
34
+ owner:
35
+ title: Owner
36
+ type: string
37
+ description: Owner of the component
38
+ ui:field: OwnerPicker
39
+ ui:options:
40
+ catalogFilter:
41
+ - kind: Group
42
+ spec.type: team
43
+ ```
44
+
45
+ - Updated dependencies
46
+ - @backstage/plugin-scaffolder-backend@1.10.0
47
+ - @backstage/backend-common@0.18.0
48
+ - @backstage/config@1.0.6
49
+ - @backstage/errors@1.1.4
50
+ - @backstage/integration@1.4.2
51
+ - @backstage/types@1.0.2
52
+
3
53
  ## 0.2.15-next.2
4
54
 
5
55
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend-module-cookiecutter",
3
3
  "description": "A module for the scaffolder backend that lets you template projects using cookiecutter",
4
- "version": "0.2.15-next.2",
4
+ "version": "0.2.16",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -23,11 +23,11 @@
23
23
  "clean": "backstage-cli package clean"
24
24
  },
25
25
  "dependencies": {
26
- "@backstage/backend-common": "^0.18.0-next.1",
27
- "@backstage/config": "^1.0.6-next.0",
26
+ "@backstage/backend-common": "^0.18.1",
27
+ "@backstage/config": "^1.0.6",
28
28
  "@backstage/errors": "^1.1.4",
29
- "@backstage/integration": "^1.4.2-next.0",
30
- "@backstage/plugin-scaffolder-backend": "^1.10.0-next.2",
29
+ "@backstage/integration": "^1.4.2",
30
+ "@backstage/plugin-scaffolder-backend": "^1.10.1",
31
31
  "@backstage/types": "^1.0.2",
32
32
  "command-exists": "^1.2.9",
33
33
  "fs-extra": "10.1.0",
@@ -35,7 +35,7 @@
35
35
  "yn": "^4.0.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@backstage/cli": "^0.22.1-next.2",
38
+ "@backstage/cli": "^0.22.1",
39
39
  "@types/command-exists": "^1.2.0",
40
40
  "@types/fs-extra": "^9.0.1",
41
41
  "@types/mock-fs": "^4.13.0",