@backstage/plugin-scaffolder-backend-module-cookiecutter 0.2.14 → 0.2.15-next.1

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,59 @@
1
1
  # @backstage/plugin-scaffolder-backend-module-cookiecutter
2
2
 
3
+ ## 0.2.15-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-scaffolder-backend@1.10.0-next.1
9
+ - @backstage/backend-common@0.18.0-next.0
10
+ - @backstage/config@1.0.6-next.0
11
+ - @backstage/errors@1.1.4
12
+ - @backstage/integration@1.4.2-next.0
13
+ - @backstage/types@1.0.2
14
+
15
+ ## 0.2.15-next.0
16
+
17
+ ### Patch Changes
18
+
19
+ - e4c0240445: Added `catalogFilter` field to OwnerPicker and EntityPicker components to support filtering options by any field(s) of an entity.
20
+
21
+ 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:
22
+
23
+ - Get all entities of kind `Group`
24
+
25
+ ```yaml
26
+ owner:
27
+ title: Owner
28
+ type: string
29
+ description: Owner of the component
30
+ ui:field: OwnerPicker
31
+ ui:options:
32
+ catalogFilter:
33
+ - kind: Group
34
+ ```
35
+
36
+ - Get entities of kind `Group` and spec.type `team`
37
+ ```yaml
38
+ owner:
39
+ title: Owner
40
+ type: string
41
+ description: Owner of the component
42
+ ui:field: OwnerPicker
43
+ ui:options:
44
+ catalogFilter:
45
+ - kind: Group
46
+ spec.type: team
47
+ ```
48
+
49
+ - Updated dependencies
50
+ - @backstage/plugin-scaffolder-backend@1.9.1-next.0
51
+ - @backstage/backend-common@0.17.0
52
+ - @backstage/config@1.0.5
53
+ - @backstage/errors@1.1.4
54
+ - @backstage/integration@1.4.1
55
+ - @backstage/types@1.0.2
56
+
3
57
  ## 0.2.14
4
58
 
5
59
  ### Patch Changes
package/README.md CHANGED
@@ -73,16 +73,16 @@ spec:
73
73
  description: Owner of the component
74
74
  ui:field: OwnerPicker
75
75
  ui:options:
76
- allowedKinds:
77
- - Group
76
+ catalogFilter:
77
+ kind: Group
78
78
  system:
79
79
  title: System
80
80
  type: string
81
81
  description: System of the component
82
82
  ui:field: EntityPicker
83
83
  ui:options:
84
- allowedKinds:
85
- - System
84
+ catalogFilter:
85
+ kind: System
86
86
  defaultKind: System
87
87
 
88
88
  - title: Choose a location
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.14",
4
+ "version": "0.2.15-next.1",
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.17.0",
27
- "@backstage/config": "^1.0.5",
26
+ "@backstage/backend-common": "^0.18.0-next.0",
27
+ "@backstage/config": "^1.0.6-next.0",
28
28
  "@backstage/errors": "^1.1.4",
29
- "@backstage/integration": "^1.4.1",
30
- "@backstage/plugin-scaffolder-backend": "^1.9.0",
29
+ "@backstage/integration": "^1.4.2-next.0",
30
+ "@backstage/plugin-scaffolder-backend": "^1.10.0-next.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.0",
38
+ "@backstage/cli": "^0.22.1-next.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",