@backstage/plugin-scaffolder-backend-module-cookiecutter 0.2.15-next.2 → 0.2.15
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 +42 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-cookiecutter
|
|
2
2
|
|
|
3
|
+
## 0.2.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e4c0240445: Added `catalogFilter` field to OwnerPicker and EntityPicker components to support filtering options by any field(s) of an entity.
|
|
8
|
+
|
|
9
|
+
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:
|
|
10
|
+
|
|
11
|
+
- Get all entities of kind `Group`
|
|
12
|
+
|
|
13
|
+
```yaml
|
|
14
|
+
owner:
|
|
15
|
+
title: Owner
|
|
16
|
+
type: string
|
|
17
|
+
description: Owner of the component
|
|
18
|
+
ui:field: OwnerPicker
|
|
19
|
+
ui:options:
|
|
20
|
+
catalogFilter:
|
|
21
|
+
- kind: Group
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
- Get entities of kind `Group` and spec.type `team`
|
|
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
|
+
spec.type: team
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
- Updated dependencies
|
|
38
|
+
- @backstage/plugin-scaffolder-backend@1.10.0
|
|
39
|
+
- @backstage/backend-common@0.18.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
|
+
|
|
3
45
|
## 0.2.15-next.2
|
|
4
46
|
|
|
5
47
|
### 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
|
|
4
|
+
"version": "0.2.15",
|
|
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
|
|
27
|
-
"@backstage/config": "^1.0.6
|
|
26
|
+
"@backstage/backend-common": "^0.18.0",
|
|
27
|
+
"@backstage/config": "^1.0.6",
|
|
28
28
|
"@backstage/errors": "^1.1.4",
|
|
29
|
-
"@backstage/integration": "^1.4.2
|
|
30
|
-
"@backstage/plugin-scaffolder-backend": "^1.10.0
|
|
29
|
+
"@backstage/integration": "^1.4.2",
|
|
30
|
+
"@backstage/plugin-scaffolder-backend": "^1.10.0",
|
|
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
|
|
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",
|