@backstage-community/plugin-scaffolder-backend-module-quay 2.2.2
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 +326 -0
- package/README.md +70 -0
- package/dist/actions/createQuayRepository.cjs.js +125 -0
- package/dist/actions/createQuayRepository.cjs.js.map +1 -0
- package/dist/index.cjs.js +12 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/module.cjs.js +23 -0
- package/dist/module.cjs.js.map +1 -0
- package/package.json +69 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
### Dependencies
|
|
2
|
+
|
|
3
|
+
## 2.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8c4c579: The `quay-actions` plugin from the [janus-idp/backstage-plugins](https://github.com/janus-idp/backstage-plugins) repository was migrated to the community plugins. The migration was performed by following the manual migration steps outlined in the [Community Plugins CONTRIBUTING guide](https://github.com/backstage/community-plugins/blob/main/CONTRIBUTING.md#migrating-a-plugin)
|
|
8
|
+
|
|
9
|
+
## 2.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 0e6bfd3: feat: update Backstage to the latest version
|
|
14
|
+
|
|
15
|
+
Update to Backstage 1.32.5
|
|
16
|
+
|
|
17
|
+
## 2.2.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 8244f28: chore(deps): update to backstage 1.32
|
|
22
|
+
|
|
23
|
+
## 2.1.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- 7342e9b: chore: remove @janus-idp/cli dep and relink local packages
|
|
28
|
+
|
|
29
|
+
This update removes `@janus-idp/cli` from all plugins, as it’s no longer necessary. Additionally, packages are now correctly linked with a specified version.
|
|
30
|
+
|
|
31
|
+
## 2.1.0
|
|
32
|
+
|
|
33
|
+
### Minor Changes
|
|
34
|
+
|
|
35
|
+
- d9551ae: feat(deps): update to backstage 1.31
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- d9551ae: Change local package references to a `*`
|
|
40
|
+
- d9551ae: pin the @janus-idp/cli package
|
|
41
|
+
- d9551ae: upgrade to yarn v3
|
|
42
|
+
- d9551ae: Change the export-dynamic script to no longer use any flags and remove the tracking of the dist-dynamic folder
|
|
43
|
+
|
|
44
|
+
* **@janus-idp/cli:** upgraded to 1.15.2
|
|
45
|
+
|
|
46
|
+
### Dependencies
|
|
47
|
+
|
|
48
|
+
- **@janus-idp/cli:** upgraded to 1.15.1
|
|
49
|
+
|
|
50
|
+
### Dependencies
|
|
51
|
+
|
|
52
|
+
- **@janus-idp/cli:** upgraded to 1.15.0
|
|
53
|
+
|
|
54
|
+
### Dependencies
|
|
55
|
+
|
|
56
|
+
- **@janus-idp/cli:** upgraded to 1.14.0
|
|
57
|
+
|
|
58
|
+
### Dependencies
|
|
59
|
+
|
|
60
|
+
- **@janus-idp/cli:** upgraded to 1.13.2
|
|
61
|
+
|
|
62
|
+
### Dependencies
|
|
63
|
+
|
|
64
|
+
- **@janus-idp/cli:** upgraded to 1.13.1
|
|
65
|
+
|
|
66
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.7.0](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.6.0...@janus-idp/backstage-scaffolder-backend-module-quay@1.7.0) (2024-07-26)
|
|
67
|
+
|
|
68
|
+
### Features
|
|
69
|
+
|
|
70
|
+
- **deps:** update to backstage 1.29 ([#1900](https://github.com/janus-idp/backstage-plugins/issues/1900)) ([f53677f](https://github.com/janus-idp/backstage-plugins/commit/f53677fb02d6df43a9de98c43a9f101a6db76802))
|
|
71
|
+
|
|
72
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.6.0](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.5.1...@janus-idp/backstage-scaffolder-backend-module-quay@1.6.0) (2024-07-24)
|
|
73
|
+
|
|
74
|
+
### Features
|
|
75
|
+
|
|
76
|
+
- **deps:** update to backstage 1.28 ([#1891](https://github.com/janus-idp/backstage-plugins/issues/1891)) ([1ba1108](https://github.com/janus-idp/backstage-plugins/commit/1ba11088e0de60e90d138944267b83600dc446e5))
|
|
77
|
+
|
|
78
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.5.1](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.5.0...@janus-idp/backstage-scaffolder-backend-module-quay@1.5.1) (2024-06-19)
|
|
79
|
+
|
|
80
|
+
### Dependencies
|
|
81
|
+
|
|
82
|
+
- **@janus-idp/cli:** upgraded to 1.11.1
|
|
83
|
+
|
|
84
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.5.0](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.13...@janus-idp/backstage-scaffolder-backend-module-quay@1.5.0) (2024-06-13)
|
|
85
|
+
|
|
86
|
+
### Features
|
|
87
|
+
|
|
88
|
+
- **deps:** update to backstage 1.27 ([#1683](https://github.com/janus-idp/backstage-plugins/issues/1683)) ([a14869c](https://github.com/janus-idp/backstage-plugins/commit/a14869c3f4177049cb8d6552b36c3ffd17e7997d))
|
|
89
|
+
|
|
90
|
+
### Dependencies
|
|
91
|
+
|
|
92
|
+
- **@janus-idp/cli:** upgraded to 1.11.0
|
|
93
|
+
|
|
94
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.13](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.12...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.13) (2024-06-13)
|
|
95
|
+
|
|
96
|
+
### Dependencies
|
|
97
|
+
|
|
98
|
+
- **@janus-idp/cli:** upgraded to 1.10.1
|
|
99
|
+
|
|
100
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.12](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.11...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.12) (2024-06-05)
|
|
101
|
+
|
|
102
|
+
### Dependencies
|
|
103
|
+
|
|
104
|
+
- **@janus-idp/cli:** upgraded to 1.10.0
|
|
105
|
+
|
|
106
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.11](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.10...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.11) (2024-06-04)
|
|
107
|
+
|
|
108
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.10](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.9...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.10) (2024-06-03)
|
|
109
|
+
|
|
110
|
+
### Dependencies
|
|
111
|
+
|
|
112
|
+
- **@janus-idp/cli:** upgraded to 1.9.0
|
|
113
|
+
|
|
114
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.9](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.8...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.9) (2024-05-29)
|
|
115
|
+
|
|
116
|
+
### Dependencies
|
|
117
|
+
|
|
118
|
+
- **@janus-idp/cli:** upgraded to 1.8.10
|
|
119
|
+
|
|
120
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.8](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.7...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.8) (2024-05-29)
|
|
121
|
+
|
|
122
|
+
### Dependencies
|
|
123
|
+
|
|
124
|
+
- **@janus-idp/cli:** upgraded to 1.8.9
|
|
125
|
+
|
|
126
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.7](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.6...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.7) (2024-05-16)
|
|
127
|
+
|
|
128
|
+
### Dependencies
|
|
129
|
+
|
|
130
|
+
- **@janus-idp/cli:** upgraded to 1.8.7
|
|
131
|
+
|
|
132
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.6](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.5...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.6) (2024-05-09)
|
|
133
|
+
|
|
134
|
+
### Dependencies
|
|
135
|
+
|
|
136
|
+
- **@janus-idp/cli:** upgraded to 1.8.6
|
|
137
|
+
|
|
138
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.5](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.4...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.5) (2024-05-02)
|
|
139
|
+
|
|
140
|
+
### Dependencies
|
|
141
|
+
|
|
142
|
+
- **@janus-idp/cli:** upgraded to 1.8.5
|
|
143
|
+
|
|
144
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.4](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.3...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.4) (2024-05-02)
|
|
145
|
+
|
|
146
|
+
### Dependencies
|
|
147
|
+
|
|
148
|
+
- **@janus-idp/cli:** upgraded to 1.8.4
|
|
149
|
+
|
|
150
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.3](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.2...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.3) (2024-04-30)
|
|
151
|
+
|
|
152
|
+
### Dependencies
|
|
153
|
+
|
|
154
|
+
- **@janus-idp/cli:** upgraded to 1.8.3
|
|
155
|
+
|
|
156
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.2](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.1...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.2) (2024-04-30)
|
|
157
|
+
|
|
158
|
+
### Dependencies
|
|
159
|
+
|
|
160
|
+
- **@janus-idp/cli:** upgraded to 1.8.2
|
|
161
|
+
|
|
162
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.1](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.4.0...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.1) (2024-04-25)
|
|
163
|
+
|
|
164
|
+
### Dependencies
|
|
165
|
+
|
|
166
|
+
- **@janus-idp/cli:** upgraded to 1.8.1
|
|
167
|
+
|
|
168
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.4.0](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.10...@janus-idp/backstage-scaffolder-backend-module-quay@1.4.0) (2024-04-15)
|
|
169
|
+
|
|
170
|
+
### Features
|
|
171
|
+
|
|
172
|
+
- checkPluginVersion.sh bump plugins for 1.2.0 release ([#1511](https://github.com/janus-idp/backstage-plugins/issues/1511)) ([73c6588](https://github.com/janus-idp/backstage-plugins/commit/73c6588adb7e8c20907b06f2a8ef248cfd4332e4))
|
|
173
|
+
|
|
174
|
+
### Dependencies
|
|
175
|
+
|
|
176
|
+
- **@janus-idp/cli:** upgraded to 1.8.0
|
|
177
|
+
|
|
178
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.10](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.9...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.10) (2024-04-09)
|
|
179
|
+
|
|
180
|
+
### Dependencies
|
|
181
|
+
|
|
182
|
+
- **@janus-idp/cli:** upgraded to 1.7.10
|
|
183
|
+
|
|
184
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.9](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.8...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.9) (2024-04-09)
|
|
185
|
+
|
|
186
|
+
### Dependencies
|
|
187
|
+
|
|
188
|
+
- **@janus-idp/cli:** upgraded to 1.7.9
|
|
189
|
+
|
|
190
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.8](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.7...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.8) (2024-04-05)
|
|
191
|
+
|
|
192
|
+
### Dependencies
|
|
193
|
+
|
|
194
|
+
- **@janus-idp/cli:** upgraded to 1.7.8
|
|
195
|
+
|
|
196
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.7](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.6...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.7) (2024-04-02)
|
|
197
|
+
|
|
198
|
+
### Dependencies
|
|
199
|
+
|
|
200
|
+
- **@janus-idp/cli:** upgraded to 1.7.7
|
|
201
|
+
|
|
202
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.6](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.5...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.6) (2024-03-29)
|
|
203
|
+
|
|
204
|
+
### Dependencies
|
|
205
|
+
|
|
206
|
+
- **@janus-idp/cli:** upgraded to 1.7.6
|
|
207
|
+
|
|
208
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.5](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.4...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.5) (2024-03-04)
|
|
209
|
+
|
|
210
|
+
### Dependencies
|
|
211
|
+
|
|
212
|
+
- **@janus-idp/cli:** upgraded to 1.7.5
|
|
213
|
+
|
|
214
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.4](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.3...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.4) (2024-02-27)
|
|
215
|
+
|
|
216
|
+
### Dependencies
|
|
217
|
+
|
|
218
|
+
- **@janus-idp/cli:** upgraded to 1.7.4
|
|
219
|
+
|
|
220
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.3](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.2...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.3) (2024-02-26)
|
|
221
|
+
|
|
222
|
+
### Dependencies
|
|
223
|
+
|
|
224
|
+
- **@janus-idp/cli:** upgraded to 1.7.3
|
|
225
|
+
|
|
226
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.2](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.1...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.2) (2024-02-21)
|
|
227
|
+
|
|
228
|
+
### Dependencies
|
|
229
|
+
|
|
230
|
+
- **@janus-idp/cli:** upgraded to 1.7.2
|
|
231
|
+
|
|
232
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.1](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.3.0...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.1) (2024-02-05)
|
|
233
|
+
|
|
234
|
+
### Dependencies
|
|
235
|
+
|
|
236
|
+
- **@janus-idp/cli:** upgraded to 1.7.1
|
|
237
|
+
|
|
238
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.3.0](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.2.7...@janus-idp/backstage-scaffolder-backend-module-quay@1.3.0) (2024-01-30)
|
|
239
|
+
|
|
240
|
+
### Features
|
|
241
|
+
|
|
242
|
+
- add new backend system support for existing backend plugins that have not been migrated over yet ([#1132](https://github.com/janus-idp/backstage-plugins/issues/1132)) ([06e16fd](https://github.com/janus-idp/backstage-plugins/commit/06e16fdcf64257dd08297cb727445d9a8a23c522))
|
|
243
|
+
|
|
244
|
+
### Dependencies
|
|
245
|
+
|
|
246
|
+
- **@janus-idp/cli:** upgraded to 1.7.0
|
|
247
|
+
|
|
248
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.2.7](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.2.6...@janus-idp/backstage-scaffolder-backend-module-quay@1.2.7) (2024-01-25)
|
|
249
|
+
|
|
250
|
+
### Dependencies
|
|
251
|
+
|
|
252
|
+
- **@janus-idp/cli:** upgraded to 1.6.0
|
|
253
|
+
|
|
254
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.2.6](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.2.5...@janus-idp/backstage-scaffolder-backend-module-quay@1.2.6) (2024-01-16)
|
|
255
|
+
|
|
256
|
+
### Dependencies
|
|
257
|
+
|
|
258
|
+
- **@janus-idp/cli:** upgraded to 1.5.0
|
|
259
|
+
|
|
260
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.2.5](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.2.4...@janus-idp/backstage-scaffolder-backend-module-quay@1.2.5) (2023-12-07)
|
|
261
|
+
|
|
262
|
+
### Bug Fixes
|
|
263
|
+
|
|
264
|
+
- attempt to force a bump of backend plugins ([#1007](https://github.com/janus-idp/backstage-plugins/issues/1007)) ([7a37225](https://github.com/janus-idp/backstage-plugins/commit/7a372254fb7e8107aa794f7900a6511eee096677))
|
|
265
|
+
|
|
266
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.2.4](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.2.3...@janus-idp/backstage-scaffolder-backend-module-quay@1.2.4) (2023-12-07)
|
|
267
|
+
|
|
268
|
+
### Dependencies
|
|
269
|
+
|
|
270
|
+
- **@janus-idp/cli:** upgraded to 1.4.7
|
|
271
|
+
|
|
272
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.2.3](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.2.2...@janus-idp/backstage-scaffolder-backend-module-quay@1.2.3) (2023-11-30)
|
|
273
|
+
|
|
274
|
+
### Dependencies
|
|
275
|
+
|
|
276
|
+
- **@janus-idp/cli:** upgraded to 1.4.6
|
|
277
|
+
|
|
278
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.2.2](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.2.1...@janus-idp/backstage-scaffolder-backend-module-quay@1.2.2) (2023-11-22)
|
|
279
|
+
|
|
280
|
+
### Dependencies
|
|
281
|
+
|
|
282
|
+
- **@janus-idp/cli:** upgraded to 1.4.5
|
|
283
|
+
|
|
284
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.2.1](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.2.0...@janus-idp/backstage-scaffolder-backend-module-quay@1.2.1) (2023-11-21)
|
|
285
|
+
|
|
286
|
+
### Bug Fixes
|
|
287
|
+
|
|
288
|
+
- sync versions in dynamic assets and publish derived packages as additional packages ([#963](https://github.com/janus-idp/backstage-plugins/issues/963)) ([7d0a386](https://github.com/janus-idp/backstage-plugins/commit/7d0a38609b4a18b54c75378a150e8b5c3ba8ff43))
|
|
289
|
+
|
|
290
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.2.0](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.1.1...@janus-idp/backstage-scaffolder-backend-module-quay@1.2.0) (2023-11-21)
|
|
291
|
+
|
|
292
|
+
### Features
|
|
293
|
+
|
|
294
|
+
- make all backend plugins dynamic ([#954](https://github.com/janus-idp/backstage-plugins/issues/954)) ([1b4338a](https://github.com/janus-idp/backstage-plugins/commit/1b4338a45c3b92f5607391b2bfc17c4d29050ce3))
|
|
295
|
+
|
|
296
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.1.1](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.1.0...@janus-idp/backstage-scaffolder-backend-module-quay@1.1.1) (2023-10-19)
|
|
297
|
+
|
|
298
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.1.0](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.0.3...@janus-idp/backstage-scaffolder-backend-module-quay@1.1.0) (2023-08-14)
|
|
299
|
+
|
|
300
|
+
### Features
|
|
301
|
+
|
|
302
|
+
- **ts:** transpile each plugin separately ([#634](https://github.com/janus-idp/backstage-plugins/issues/634)) ([b94c4dc](https://github.com/janus-idp/backstage-plugins/commit/b94c4dc50ada328e5ce1bed5fb7c76f64607e1ee))
|
|
303
|
+
|
|
304
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.0.3](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.0.2...@janus-idp/backstage-scaffolder-backend-module-quay@1.0.3) (2023-07-25)
|
|
305
|
+
|
|
306
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.0.2](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.0.1...@janus-idp/backstage-scaffolder-backend-module-quay@1.0.2) (2023-06-14)
|
|
307
|
+
|
|
308
|
+
### Documentation
|
|
309
|
+
|
|
310
|
+
- update plugin README formatting ([#396](https://github.com/janus-idp/backstage-plugins/issues/396)) ([9b39056](https://github.com/janus-idp/backstage-plugins/commit/9b39056f6c66e9a6a0a5d0c4059420dff66db263)), closes [#295](https://github.com/janus-idp/backstage-plugins/issues/295) [#369](https://github.com/janus-idp/backstage-plugins/issues/369) [#295](https://github.com/janus-idp/backstage-plugins/issues/295) [#369](https://github.com/janus-idp/backstage-plugins/issues/369)
|
|
311
|
+
|
|
312
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay [1.0.1](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/backstage-scaffolder-backend-module-quay@1.0.0...@janus-idp/backstage-scaffolder-backend-module-quay@1.0.1) (2023-06-08)
|
|
313
|
+
|
|
314
|
+
### Bug Fixes
|
|
315
|
+
|
|
316
|
+
- **monorepo:** update test script ([#436](https://github.com/janus-idp/backstage-plugins/issues/436)) ([0f1f3ff](https://github.com/janus-idp/backstage-plugins/commit/0f1f3ff25176225076a112f90412d5dcd6f28a75))
|
|
317
|
+
|
|
318
|
+
### Other changes
|
|
319
|
+
|
|
320
|
+
- reorder imports via prettier ([#419](https://github.com/janus-idp/backstage-plugins/issues/419)) ([17f1e6a](https://github.com/janus-idp/backstage-plugins/commit/17f1e6a689bd793a619ec5e42e5cdda0998f78a5))
|
|
321
|
+
|
|
322
|
+
## @janus-idp/backstage-scaffolder-backend-module-quay 1.0.0 (2023-05-31)
|
|
323
|
+
|
|
324
|
+
### Features
|
|
325
|
+
|
|
326
|
+
- **quay-actions:** create action to create quay repository ([#244](https://github.com/janus-idp/backstage-plugins/issues/244)) ([0fcd8b4](https://github.com/janus-idp/backstage-plugins/commit/0fcd8b4ed1924280048f7ec8c8571e10af711cd9))
|
package/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Quay actions for Backstage
|
|
2
|
+
|
|
3
|
+
This module provides [Backstage](https://backstage.io/) template [actions](https://backstage.io/docs/features/software-templates/builtin-actions) for [Quay](https://docs.quay.io/).
|
|
4
|
+
|
|
5
|
+
The following actions are currently supported in this module:
|
|
6
|
+
|
|
7
|
+
- Create a Quay repository
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
Run the following command to install the action package in your Backstage project
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
yarn workspace backend add @backstage-community/plugin-scaffolder-backend-module-quay
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Installing the action on the new backend
|
|
18
|
+
|
|
19
|
+
Add the following to your `packages/backend/src/index.ts` file:
|
|
20
|
+
|
|
21
|
+
```ts title="packages/backend/src/index.ts"
|
|
22
|
+
const backend = createBackend();
|
|
23
|
+
|
|
24
|
+
// Add the following line
|
|
25
|
+
backend.add(
|
|
26
|
+
import('@backstage-community/plugin-scaffolder-backend-module-quay'),
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
backend.start();
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Configuration
|
|
33
|
+
|
|
34
|
+
Add the Quay actions to your templates, see the [example](./examples/templates/01-quay-template.yaml) file in this repository for complete usage examples
|
|
35
|
+
|
|
36
|
+
```yaml
|
|
37
|
+
action: quay:create-repository
|
|
38
|
+
id: create-quay-repo
|
|
39
|
+
name: Create quay repo
|
|
40
|
+
input:
|
|
41
|
+
baseUrl: https://quay.io
|
|
42
|
+
token: UW1dLVdCTj8uZWNuIW97K1k0XiBkSmppVU9MYzFT
|
|
43
|
+
name: foo
|
|
44
|
+
visibility: public
|
|
45
|
+
description: This is a foo repository
|
|
46
|
+
namespace: bar
|
|
47
|
+
repoKind: image
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Usage
|
|
51
|
+
|
|
52
|
+
### Action: quay:create-repository
|
|
53
|
+
|
|
54
|
+
#### Input
|
|
55
|
+
|
|
56
|
+
| Parameter Name | Type | Required | Description | Example |
|
|
57
|
+
| -------------- | :----: | :------: | --------------------------------------------------------------------------------- | ---------------------------------------- |
|
|
58
|
+
| name | string | Yes | Quay repository name | foo |
|
|
59
|
+
| visibility | string | Yes | Visibility setting for the created repository, either public or private | public |
|
|
60
|
+
| description | string | Yes | Description for the created repository | This if foo repository |
|
|
61
|
+
| token | string | Yes | Authentication token, see [docs](https://docs.quay.io/api/) | UW1dLVdCTj8uZWNuIW97K1k0XiBkSmppVU9MYzFT |
|
|
62
|
+
| baseUrl | string | No | Base url of a quay instance, defaults to <https://quay.io> | <https://foo.quay.io> |
|
|
63
|
+
| namespace | string | No | Namespace to create repository in, defaults to the namespace the token belongs to | bar |
|
|
64
|
+
| repoKind | string | No | Created repository kind, either image or application, if empty defaults to image | image |
|
|
65
|
+
|
|
66
|
+
#### Output
|
|
67
|
+
|
|
68
|
+
| Name | Type | Description |
|
|
69
|
+
| ------------- | :----: | ------------------------------------------ |
|
|
70
|
+
| repositoryUrl | string | Quay repository URL created by this action |
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var pluginScaffolderNode = require('@backstage/plugin-scaffolder-node');
|
|
4
|
+
|
|
5
|
+
const getUrl = (url) => {
|
|
6
|
+
if (!url) {
|
|
7
|
+
return "https://quay.io";
|
|
8
|
+
}
|
|
9
|
+
try {
|
|
10
|
+
new URL(url);
|
|
11
|
+
} catch (error) {
|
|
12
|
+
throw new Error('"baseUrl" is invalid');
|
|
13
|
+
}
|
|
14
|
+
return url;
|
|
15
|
+
};
|
|
16
|
+
const isValueValid = (value, valueName, valueOpts) => {
|
|
17
|
+
if (valueOpts.includes(value)) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
throw new Error(
|
|
21
|
+
`For the "${valueName}" parameter "${value}" is not a valid option, available options are: ${valueOpts.map((v) => v || "none").join(", ")}`
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
function createQuayRepositoryAction() {
|
|
25
|
+
return pluginScaffolderNode.createTemplateAction({
|
|
26
|
+
id: "quay:create-repository",
|
|
27
|
+
description: "Create an quay image repository",
|
|
28
|
+
schema: {
|
|
29
|
+
input: {
|
|
30
|
+
type: "object",
|
|
31
|
+
required: ["name", "visibility", "description", "token"],
|
|
32
|
+
properties: {
|
|
33
|
+
name: {
|
|
34
|
+
title: "Repository name",
|
|
35
|
+
description: "Name of the repository to be created",
|
|
36
|
+
type: "string"
|
|
37
|
+
},
|
|
38
|
+
visibility: {
|
|
39
|
+
title: "Visibility setting",
|
|
40
|
+
description: "Visibility setting for the created repository, either public or private",
|
|
41
|
+
type: "string"
|
|
42
|
+
},
|
|
43
|
+
description: {
|
|
44
|
+
title: "Repository description",
|
|
45
|
+
description: "The repository desription",
|
|
46
|
+
type: "string"
|
|
47
|
+
},
|
|
48
|
+
token: {
|
|
49
|
+
title: "Token",
|
|
50
|
+
description: "Bearer token used for authorization",
|
|
51
|
+
type: "string"
|
|
52
|
+
},
|
|
53
|
+
baseUrl: {
|
|
54
|
+
title: "Base URL",
|
|
55
|
+
description: 'URL of your quay instance, set to "https://quay.io" by default',
|
|
56
|
+
type: "string"
|
|
57
|
+
},
|
|
58
|
+
namespace: {
|
|
59
|
+
title: "Namespace",
|
|
60
|
+
description: "Namespace in which to create the repository, by default the users namespace",
|
|
61
|
+
type: "string"
|
|
62
|
+
},
|
|
63
|
+
repoKind: {
|
|
64
|
+
title: "Repository kind",
|
|
65
|
+
description: "The crated repository type either image or an application, if empty image will be used",
|
|
66
|
+
type: "string"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
output: {
|
|
71
|
+
type: "object",
|
|
72
|
+
properties: {
|
|
73
|
+
repositoryUrl: {
|
|
74
|
+
title: "Quay image repository URL",
|
|
75
|
+
type: "string",
|
|
76
|
+
description: "Created repository URL link"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
async handler(ctx) {
|
|
82
|
+
const { token, name, visibility, namespace, description, repoKind } = ctx.input;
|
|
83
|
+
const baseUrl = getUrl(ctx.input.baseUrl);
|
|
84
|
+
isValueValid(visibility, "visibility", ["public", "private"]);
|
|
85
|
+
isValueValid(repoKind, "repository kind", [
|
|
86
|
+
"application",
|
|
87
|
+
"image",
|
|
88
|
+
void 0
|
|
89
|
+
]);
|
|
90
|
+
const params = {
|
|
91
|
+
description,
|
|
92
|
+
repository: name,
|
|
93
|
+
visibility,
|
|
94
|
+
namespace,
|
|
95
|
+
repo_kind: repoKind
|
|
96
|
+
};
|
|
97
|
+
const uri = encodeURI(`${baseUrl}/api/v1/repository`);
|
|
98
|
+
const response = await fetch(uri, {
|
|
99
|
+
headers: {
|
|
100
|
+
"Content-Type": "application/json",
|
|
101
|
+
Accept: "application/json",
|
|
102
|
+
Authorization: `Bearer ${token}`
|
|
103
|
+
},
|
|
104
|
+
body: JSON.stringify(params),
|
|
105
|
+
method: "POST"
|
|
106
|
+
});
|
|
107
|
+
if (!response.ok) {
|
|
108
|
+
const errorBody = await response.json();
|
|
109
|
+
const errorStatus = errorBody.status || response.status;
|
|
110
|
+
const errorMsg = errorBody.detail || errorBody.error;
|
|
111
|
+
throw new Error(
|
|
112
|
+
`Failed to create Quay repository, ${errorStatus} -- ${errorMsg}`
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
const body = await response.json();
|
|
116
|
+
ctx.output(
|
|
117
|
+
"repositoryUrl",
|
|
118
|
+
`${baseUrl}/repository/${body.namespace}/${body.name}`
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
exports.createQuayRepositoryAction = createQuayRepositoryAction;
|
|
125
|
+
//# sourceMappingURL=createQuayRepository.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createQuayRepository.cjs.js","sources":["../../src/actions/createQuayRepository.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createTemplateAction } from '@backstage/plugin-scaffolder-node';\n\nexport interface ResponseBody {\n namespace: string;\n name: string;\n kind: string;\n}\nexport interface ResponseErrorBody {\n detail: string;\n error_message: string;\n error_type: string;\n title: string;\n type: string;\n status: number;\n}\ninterface RequestBody {\n repository: string;\n visibility: string;\n namespace?: string;\n description: string;\n repo_kind?: string;\n}\n\ntype TemplateActionParameters = {\n name: string;\n visibility: string;\n description: string;\n token: string;\n baseUrl?: string;\n namespace?: string;\n repoKind?: string;\n};\n\nconst getUrl = (url: string | undefined): string => {\n if (!url) {\n return 'https://quay.io';\n }\n try {\n // eslint-disable-next-line no-new\n new URL(url);\n } catch (error) {\n throw new Error('\"baseUrl\" is invalid');\n }\n return url;\n};\n\nconst isValueValid = (\n value: string | undefined,\n valueName: string,\n valueOpts: Array<string | undefined>,\n) => {\n if (valueOpts.includes(value)) {\n return;\n }\n throw new Error(\n `For the \"${valueName}\" parameter \"${value}\" is not a valid option,` +\n ` available options are: ${valueOpts.map(v => v || 'none').join(', ')}`,\n );\n};\n\nexport function createQuayRepositoryAction() {\n return createTemplateAction<TemplateActionParameters>({\n id: 'quay:create-repository',\n description: 'Create an quay image repository',\n schema: {\n input: {\n type: 'object',\n required: ['name', 'visibility', 'description', 'token'],\n properties: {\n name: {\n title: 'Repository name',\n description: 'Name of the repository to be created',\n type: 'string',\n },\n visibility: {\n title: 'Visibility setting',\n description:\n 'Visibility setting for the created repository, either public or private',\n type: 'string',\n },\n description: {\n title: 'Repository description',\n description: 'The repository desription',\n type: 'string',\n },\n token: {\n title: 'Token',\n description: 'Bearer token used for authorization',\n type: 'string',\n },\n baseUrl: {\n title: 'Base URL',\n description:\n 'URL of your quay instance, set to \"https://quay.io\" by default',\n type: 'string',\n },\n namespace: {\n title: 'Namespace',\n description:\n 'Namespace in which to create the repository, by default the users namespace',\n type: 'string',\n },\n repoKind: {\n title: 'Repository kind',\n description:\n 'The crated repository type either image or an application, if empty image will be used',\n type: 'string',\n },\n },\n },\n output: {\n type: 'object',\n properties: {\n repositoryUrl: {\n title: 'Quay image repository URL',\n type: 'string',\n description: 'Created repository URL link',\n },\n },\n },\n },\n async handler(ctx) {\n const { token, name, visibility, namespace, description, repoKind } =\n ctx.input;\n const baseUrl = getUrl(ctx.input.baseUrl);\n isValueValid(visibility, 'visibility', ['public', 'private']);\n isValueValid(repoKind, 'repository kind', [\n 'application',\n 'image',\n undefined,\n ]);\n\n const params: RequestBody = {\n description,\n repository: name,\n visibility,\n namespace,\n repo_kind: repoKind,\n };\n\n const uri = encodeURI(`${baseUrl}/api/v1/repository`);\n const response = await fetch(uri, {\n headers: {\n 'Content-Type': 'application/json',\n Accept: 'application/json',\n Authorization: `Bearer ${token}`,\n },\n body: JSON.stringify(params),\n method: 'POST',\n });\n\n if (!response.ok) {\n const errorBody = (await response.json()) as ResponseErrorBody;\n const errorStatus = errorBody.status || response.status;\n // Some error responses don't have the structure defined in ResponseErrorBody\n const errorMsg = errorBody.detail || (errorBody as any).error;\n throw new Error(\n `Failed to create Quay repository, ${errorStatus} -- ${errorMsg}`,\n );\n }\n\n const body = (await response.json()) as ResponseBody;\n ctx.output(\n 'repositoryUrl',\n `${baseUrl}/repository/${body.namespace}/${body.name}`,\n );\n },\n });\n}\n"],"names":["createTemplateAction"],"mappings":";;;;AAgDA,MAAM,MAAA,GAAS,CAAC,GAAoC,KAAA;AAClD,EAAA,IAAI,CAAC,GAAK,EAAA;AACR,IAAO,OAAA,iBAAA,CAAA;AAAA,GACT;AACA,EAAI,IAAA;AAEF,IAAA,IAAI,IAAI,GAAG,CAA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|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var createQuayRepository = require('./actions/createQuayRepository.cjs.js');
|
|
6
|
+
var module$1 = require('./module.cjs.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.createQuayRepositoryAction = createQuayRepository.createQuayRepositoryAction;
|
|
11
|
+
exports.default = module$1.scaffolderModuleQuayAction;
|
|
12
|
+
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as _backstage_plugin_scaffolder_node from '@backstage/plugin-scaffolder-node';
|
|
2
|
+
import * as _backstage_types from '@backstage/types';
|
|
3
|
+
import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
|
|
4
|
+
|
|
5
|
+
type TemplateActionParameters = {
|
|
6
|
+
name: string;
|
|
7
|
+
visibility: string;
|
|
8
|
+
description: string;
|
|
9
|
+
token: string;
|
|
10
|
+
baseUrl?: string;
|
|
11
|
+
namespace?: string;
|
|
12
|
+
repoKind?: string;
|
|
13
|
+
};
|
|
14
|
+
declare function createQuayRepositoryAction(): _backstage_plugin_scaffolder_node.TemplateAction<TemplateActionParameters, _backstage_types.JsonObject>;
|
|
15
|
+
|
|
16
|
+
declare const scaffolderModuleQuayAction: _backstage_backend_plugin_api.BackendFeature;
|
|
17
|
+
|
|
18
|
+
export { createQuayRepositoryAction, scaffolderModuleQuayAction as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var backendPluginApi = require('@backstage/backend-plugin-api');
|
|
4
|
+
var alpha = require('@backstage/plugin-scaffolder-node/alpha');
|
|
5
|
+
var createQuayRepository = require('./actions/createQuayRepository.cjs.js');
|
|
6
|
+
|
|
7
|
+
const scaffolderModuleQuayAction = backendPluginApi.createBackendModule({
|
|
8
|
+
moduleId: "scaffolder-backend-quay",
|
|
9
|
+
pluginId: "scaffolder",
|
|
10
|
+
register(env) {
|
|
11
|
+
env.registerInit({
|
|
12
|
+
deps: {
|
|
13
|
+
scaffolder: alpha.scaffolderActionsExtensionPoint
|
|
14
|
+
},
|
|
15
|
+
async init({ scaffolder }) {
|
|
16
|
+
scaffolder.addActions(createQuayRepository.createQuayRepositoryAction());
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
exports.scaffolderModuleQuayAction = scaffolderModuleQuayAction;
|
|
23
|
+
//# sourceMappingURL=module.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.cjs.js","sources":["../src/module.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createBackendModule } from '@backstage/backend-plugin-api';\nimport { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node/alpha';\n\nimport { createQuayRepositoryAction } from './actions';\n\nexport const scaffolderModuleQuayAction = createBackendModule({\n moduleId: 'scaffolder-backend-quay',\n pluginId: 'scaffolder',\n register(env) {\n env.registerInit({\n deps: {\n scaffolder: scaffolderActionsExtensionPoint,\n },\n async init({ scaffolder }) {\n scaffolder.addActions(createQuayRepositoryAction());\n },\n });\n },\n});\n"],"names":["createBackendModule","scaffolderActionsExtensionPoint","createQuayRepositoryAction"],"mappings":";;;;;;AAoBO,MAAM,6BAA6BA,oCAAoB,CAAA;AAAA,EAC5D,QAAU,EAAA,yBAAA;AAAA,EACV,QAAU,EAAA,YAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,UAAY,EAAAC,qCAAA;AAAA,OACd;AAAA,MACA,MAAM,IAAA,CAAK,EAAE,UAAA,EAAc,EAAA;AACzB,QAAW,UAAA,CAAA,UAAA,CAAWC,iDAA4B,CAAA,CAAA;AAAA,OACpD;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@backstage-community/plugin-scaffolder-backend-module-quay",
|
|
3
|
+
"description": "The quay-actions module for @backstage-community/plugin-scaffolder-backend-module-quay",
|
|
4
|
+
"version": "2.2.2",
|
|
5
|
+
"main": "./dist/index.cjs.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"backstage": {
|
|
12
|
+
"role": "backend-plugin-module",
|
|
13
|
+
"supported-versions": "1.32.5",
|
|
14
|
+
"pluginId": "scaffolder",
|
|
15
|
+
"pluginPackage": "@backstage/plugin-scaffolder-backend"
|
|
16
|
+
},
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"backstage": "@backstage/BackendFeature",
|
|
20
|
+
"require": "./dist/index.cjs.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/index.cjs.js"
|
|
23
|
+
},
|
|
24
|
+
"./package.json": "./package.json"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "backstage-cli package build",
|
|
28
|
+
"clean": "backstage-cli package clean",
|
|
29
|
+
"lint:check": "backstage-cli package lint",
|
|
30
|
+
"lint:fix": "backstage-cli package lint --fix",
|
|
31
|
+
"postpack": "backstage-cli package postpack",
|
|
32
|
+
"prepack": "backstage-cli package prepack",
|
|
33
|
+
"start": "backstage-cli package start",
|
|
34
|
+
"test": "backstage-cli package test --passWithNoTests --coverage",
|
|
35
|
+
"tsc": "tsc",
|
|
36
|
+
"prettier:check": "prettier --ignore-unknown --check .",
|
|
37
|
+
"prettier:fix": "prettier --ignore-unknown --write ."
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@backstage/backend-plugin-api": "^1.0.1",
|
|
41
|
+
"@backstage/plugin-scaffolder-node": "^0.5.0",
|
|
42
|
+
"yaml": "^2.6.0"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@backstage/cli": "0.28.2",
|
|
46
|
+
"@backstage/plugin-scaffolder-node-test-utils": "0.1.14",
|
|
47
|
+
"@spotify/prettier-config": "^15.0.0",
|
|
48
|
+
"prettier": "3.3.3"
|
|
49
|
+
},
|
|
50
|
+
"files": [
|
|
51
|
+
"dist"
|
|
52
|
+
],
|
|
53
|
+
"repository": {
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "https://github.com/backstage/community-plugins",
|
|
56
|
+
"directory": "workspaces/quay/plugins/quay-actions"
|
|
57
|
+
},
|
|
58
|
+
"maintainers": [
|
|
59
|
+
"schultzp2020",
|
|
60
|
+
"christoph-jerolimov"
|
|
61
|
+
],
|
|
62
|
+
"author": "Red Hat",
|
|
63
|
+
"homepage": "https://red.ht/rhdh",
|
|
64
|
+
"bugs": "https://github.com/backstage/community-plugins/issues",
|
|
65
|
+
"keywords": [
|
|
66
|
+
"support:production",
|
|
67
|
+
"lifecycle:active"
|
|
68
|
+
]
|
|
69
|
+
}
|