@backstage/plugin-scaffolder-backend-module-cookiecutter 0.2.3 → 0.2.4-next.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 +10 -0
- package/README.md +16 -15
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-cookiecutter
|
|
2
2
|
|
|
3
|
+
## 0.2.4-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8122e27717: Updating documentation for supporting `apiVersion: scaffolder.backstage.io/v1beta3`
|
|
8
|
+
- e0a69ba49f: build(deps): bump `fs-extra` from 9.1.0 to 10.0.1
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/backend-common@0.13.0-next.0
|
|
11
|
+
- @backstage/plugin-scaffolder-backend@0.18.0-next.0
|
|
12
|
+
|
|
3
13
|
## 0.2.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ return await createRouter({
|
|
|
44
44
|
After that you can use the action in your template:
|
|
45
45
|
|
|
46
46
|
```yaml
|
|
47
|
-
apiVersion: backstage.io/
|
|
47
|
+
apiVersion: scaffolder.backstage.io/v1beta3
|
|
48
48
|
kind: Template
|
|
49
49
|
metadata:
|
|
50
50
|
name: cookiecutter-demo
|
|
@@ -109,30 +109,31 @@ spec:
|
|
|
109
109
|
input:
|
|
110
110
|
url: ./template
|
|
111
111
|
values:
|
|
112
|
-
name:
|
|
113
|
-
owner:
|
|
114
|
-
system:
|
|
115
|
-
destination:
|
|
112
|
+
name: ${{ parameters.name }}
|
|
113
|
+
owner: ${{ parameters.owner }}
|
|
114
|
+
system: ${{ parameters.system }}
|
|
115
|
+
destination: ${{ parameters.repoUrl | parseRepoUrl }}
|
|
116
116
|
|
|
117
117
|
- id: publish
|
|
118
|
-
if:
|
|
118
|
+
if: ${{ parameters.dryRun !== true }}
|
|
119
119
|
name: Publish
|
|
120
120
|
action: publish:github
|
|
121
121
|
input:
|
|
122
|
-
allowedHosts:
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
allowedHosts:
|
|
123
|
+
- github.com
|
|
124
|
+
description: This is ${{ parameters.name }}
|
|
125
|
+
repoUrl: ${{ parameters.repoUrl }}
|
|
125
126
|
|
|
126
127
|
- id: register
|
|
127
|
-
if:
|
|
128
|
+
if: ${{ parameters.dryRun !== true }}
|
|
128
129
|
name: Register
|
|
129
130
|
action: catalog:register
|
|
130
131
|
input:
|
|
131
|
-
repoContentsUrl:
|
|
132
|
+
repoContentsUrl: ${{ steps.publish.output.repoContentsUrl }}
|
|
132
133
|
catalogInfoPath: '/catalog-info.yaml'
|
|
133
134
|
|
|
134
135
|
- name: Results
|
|
135
|
-
if:
|
|
136
|
+
if: ${{ parameters.dryRun }}
|
|
136
137
|
action: debug:log
|
|
137
138
|
input:
|
|
138
139
|
listWorkspace: true
|
|
@@ -140,10 +141,10 @@ spec:
|
|
|
140
141
|
output:
|
|
141
142
|
links:
|
|
142
143
|
- title: Repository
|
|
143
|
-
url:
|
|
144
|
+
url: ${{ steps.publish.output.remoteUrl }}
|
|
144
145
|
- title: Open in catalog
|
|
145
|
-
icon:
|
|
146
|
-
entityRef:
|
|
146
|
+
icon: catalog
|
|
147
|
+
entityRef: ${{ steps.register.output.entityRef }}
|
|
147
148
|
```
|
|
148
149
|
|
|
149
150
|
You can also visit the `/create/actions` route in your Backstage application to find out more about the parameters this action accepts when it's installed to configure how you like.
|
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.
|
|
4
|
+
"version": "0.2.4-next.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"clean": "backstage-cli package clean"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@backstage/backend-common": "^0.
|
|
26
|
+
"@backstage/backend-common": "^0.13.0-next.0",
|
|
27
27
|
"@backstage/config": "^0.1.15",
|
|
28
28
|
"@backstage/errors": "^0.2.2",
|
|
29
29
|
"@backstage/integration": "^0.8.0",
|
|
30
|
-
"@backstage/plugin-scaffolder-backend": "^0.
|
|
30
|
+
"@backstage/plugin-scaffolder-backend": "^0.18.0-next.0",
|
|
31
31
|
"@backstage/types": "^0.1.3",
|
|
32
32
|
"command-exists": "^1.2.9",
|
|
33
|
-
"fs-extra": "10.0.
|
|
33
|
+
"fs-extra": "10.0.1",
|
|
34
34
|
"winston": "^3.2.1",
|
|
35
35
|
"yn": "^4.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@backstage/cli": "^0.15.0",
|
|
38
|
+
"@backstage/cli": "^0.15.2-next.0",
|
|
39
39
|
"@types/command-exists": "^1.2.0",
|
|
40
40
|
"@types/fs-extra": "^9.0.1",
|
|
41
41
|
"@types/jest": "^26.0.7",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"files": [
|
|
47
47
|
"dist"
|
|
48
48
|
],
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "e90d3ed129ebfce978f1adfa40c1dc2cef3f7e65"
|
|
50
50
|
}
|