@backstage/plugin-scaffolder-backend-module-yeoman 0.2.12 → 0.2.13-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,53 @@
1
1
  # @backstage/plugin-scaffolder-backend-module-yeoman
2
2
 
3
+ ## 0.2.13-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-scaffolder-backend@1.10.0-next.1
9
+ - @backstage/config@1.0.6-next.0
10
+ - @backstage/types@1.0.2
11
+
12
+ ## 0.2.13-next.0
13
+
14
+ ### Patch Changes
15
+
16
+ - e4c0240445: Added `catalogFilter` field to OwnerPicker and EntityPicker components to support filtering options by any field(s) of an entity.
17
+
18
+ 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:
19
+
20
+ - Get all entities of kind `Group`
21
+
22
+ ```yaml
23
+ owner:
24
+ title: Owner
25
+ type: string
26
+ description: Owner of the component
27
+ ui:field: OwnerPicker
28
+ ui:options:
29
+ catalogFilter:
30
+ - kind: Group
31
+ ```
32
+
33
+ - Get entities of kind `Group` and spec.type `team`
34
+ ```yaml
35
+ owner:
36
+ title: Owner
37
+ type: string
38
+ description: Owner of the component
39
+ ui:field: OwnerPicker
40
+ ui:options:
41
+ catalogFilter:
42
+ - kind: Group
43
+ spec.type: team
44
+ ```
45
+
46
+ - Updated dependencies
47
+ - @backstage/plugin-scaffolder-backend@1.9.1-next.0
48
+ - @backstage/config@1.0.5
49
+ - @backstage/types@1.0.2
50
+
3
51
  ## 0.2.12
4
52
 
5
53
  ### 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend-module-yeoman",
3
- "version": "0.2.12",
3
+ "version": "0.2.13-next.1",
4
4
  "main": "dist/index.cjs.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -22,15 +22,15 @@
22
22
  "clean": "backstage-cli package clean"
23
23
  },
24
24
  "dependencies": {
25
- "@backstage/config": "^1.0.5",
26
- "@backstage/plugin-scaffolder-backend": "^1.9.0",
25
+ "@backstage/config": "^1.0.6-next.0",
26
+ "@backstage/plugin-scaffolder-backend": "^1.10.0-next.1",
27
27
  "@backstage/types": "^1.0.2",
28
28
  "winston": "^3.2.1",
29
29
  "yeoman-environment": "^3.9.1"
30
30
  },
31
31
  "devDependencies": {
32
- "@backstage/backend-common": "^0.17.0",
33
- "@backstage/cli": "^0.22.0"
32
+ "@backstage/backend-common": "^0.18.0-next.0",
33
+ "@backstage/cli": "^0.22.1-next.1"
34
34
  },
35
35
  "files": [
36
36
  "dist"