@backstage/plugin-scaffolder-backend-module-yeoman 0.2.1 → 0.2.2-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 +8 -0
- package/README.md +14 -13
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-yeoman
|
|
2
2
|
|
|
3
|
+
## 0.2.2-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8122e27717: Updating documentation for supporting `apiVersion: scaffolder.backstage.io/v1beta3`
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-scaffolder-backend@0.18.0-next.0
|
|
10
|
+
|
|
3
11
|
## 0.2.1
|
|
4
12
|
|
|
5
13
|
### 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: yeoman-demo
|
|
@@ -107,29 +107,30 @@ spec:
|
|
|
107
107
|
name: Yeoman
|
|
108
108
|
action: run:yeoman
|
|
109
109
|
input:
|
|
110
|
-
namespace:
|
|
110
|
+
namespace: org:codeowners
|
|
111
111
|
options:
|
|
112
|
-
codeowners: '
|
|
112
|
+
codeowners: '@${{ parameters.owner }}'
|
|
113
113
|
|
|
114
114
|
- id: publish
|
|
115
|
-
if:
|
|
115
|
+
if: ${{ parameters.dryRun !== true }}
|
|
116
116
|
name: Publish
|
|
117
117
|
action: publish:github
|
|
118
118
|
input:
|
|
119
|
-
allowedHosts:
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
allowedHosts:
|
|
120
|
+
- github.com
|
|
121
|
+
description: This is ${{ parameters.name }}
|
|
122
|
+
repoUrl: ${{ parameters.repoUrl }}
|
|
122
123
|
|
|
123
124
|
- id: register
|
|
124
|
-
if:
|
|
125
|
+
if: ${{ parameters.dryRun !== true }}
|
|
125
126
|
name: Register
|
|
126
127
|
action: catalog:register
|
|
127
128
|
input:
|
|
128
|
-
repoContentsUrl:
|
|
129
|
+
repoContentsUrl: ${{ steps.publish.output.repoContentsUrl }}
|
|
129
130
|
catalogInfoPath: '/catalog-info.yaml'
|
|
130
131
|
|
|
131
132
|
- name: Results
|
|
132
|
-
if:
|
|
133
|
+
if: ${{ parameters.dryRun }}
|
|
133
134
|
action: debug:log
|
|
134
135
|
input:
|
|
135
136
|
listWorkspace: true
|
|
@@ -137,10 +138,10 @@ spec:
|
|
|
137
138
|
output:
|
|
138
139
|
links:
|
|
139
140
|
- title: Repository
|
|
140
|
-
url:
|
|
141
|
+
url: ${{ steps.publish.output.remoteUrl }}
|
|
141
142
|
- title: Open in catalog
|
|
142
|
-
icon:
|
|
143
|
-
entityRef:
|
|
143
|
+
icon: catalog
|
|
144
|
+
entityRef: ${{ steps.register.output.entityRef }}
|
|
144
145
|
```
|
|
145
146
|
|
|
146
147
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend-module-yeoman",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2-next.0",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@backstage/config": "^0.1.15",
|
|
27
|
-
"@backstage/plugin-scaffolder-backend": "^0.
|
|
27
|
+
"@backstage/plugin-scaffolder-backend": "^0.18.0-next.0",
|
|
28
28
|
"@backstage/types": "^0.1.3",
|
|
29
29
|
"winston": "^3.2.1",
|
|
30
30
|
"yeoman-environment": "^3.9.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@backstage/backend-common": "^0.
|
|
33
|
+
"@backstage/backend-common": "^0.13.0-next.0",
|
|
34
34
|
"@types/jest": "^26.0.7"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "e90d3ed129ebfce978f1adfa40c1dc2cef3f7e65"
|
|
40
40
|
}
|