kiosko-plugin-gitlab 0.1.0 → 0.2.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/README.md +5 -0
- package/dist/index.js +3 -1
- package/docs/pipelines.png +0 -0
- package/docs/reviews.png +0 -0
- package/kiosko-manifest.json +507 -0
- package/package.json +11 -4
package/README.md
CHANGED
|
@@ -20,6 +20,11 @@ npm install --prefix ~/.config/kiosko/plugins kiosko-plugin-gitlab
|
|
|
20
20
|
|
|
21
21
|
- [`glab`](https://gitlab.com/gitlab-org/cli) logged in, or a personal access token with `read_api` in the source options.
|
|
22
22
|
|
|
23
|
+
## What it does on your machine
|
|
24
|
+
|
|
25
|
+
- **Internet**: contacts `gitlab.com`, the ones you set in its options.
|
|
26
|
+
- **Runs**: `glab`.
|
|
27
|
+
|
|
23
28
|
## Widgets
|
|
24
29
|
|
|
25
30
|
### My pipelines — `gitlab/pipelines`
|
package/dist/index.js
CHANGED
|
@@ -329,7 +329,9 @@ var reviews = defineWidget({
|
|
|
329
329
|
var index_default = definePlugin({
|
|
330
330
|
id: "gitlab",
|
|
331
331
|
name: { en: "GitLab", es: "GitLab" },
|
|
332
|
-
version: "0.1
|
|
332
|
+
version: "0.2.1",
|
|
333
|
+
sdk: "^0.2.0",
|
|
334
|
+
permissions: { network: ["gitlab.com", "user"], exec: ["glab"] },
|
|
333
335
|
description: { en: "Your merge requests' pipelines and the reviews waiting for you.", es: "Los pipelines de tus merge requests y las revisiones que te esperan." },
|
|
334
336
|
author: "Kiosko",
|
|
335
337
|
license: "MIT",
|
|
Binary file
|
package/docs/reviews.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifest": 1,
|
|
3
|
+
"id": "gitlab",
|
|
4
|
+
"package": "kiosko-plugin-gitlab",
|
|
5
|
+
"name": {
|
|
6
|
+
"en": "GitLab",
|
|
7
|
+
"es": "GitLab"
|
|
8
|
+
},
|
|
9
|
+
"version": "0.2.1",
|
|
10
|
+
"description": {
|
|
11
|
+
"en": "Your merge requests' pipelines and the reviews waiting for you.",
|
|
12
|
+
"es": "Los pipelines de tus merge requests y las revisiones que te esperan."
|
|
13
|
+
},
|
|
14
|
+
"author": "Kiosko",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"homepage": "https://github.com/kiosko-lcd/kiosko-plugin-gitlab#readme",
|
|
17
|
+
"repository": "https://github.com/kiosko-lcd/kiosko-plugin-gitlab.git",
|
|
18
|
+
"icon": "gitlab",
|
|
19
|
+
"sdk": "^0.2.0",
|
|
20
|
+
"platforms": [
|
|
21
|
+
"linux",
|
|
22
|
+
"darwin",
|
|
23
|
+
"win32"
|
|
24
|
+
],
|
|
25
|
+
"languages": [
|
|
26
|
+
"en",
|
|
27
|
+
"es"
|
|
28
|
+
],
|
|
29
|
+
"categories": [
|
|
30
|
+
"dev"
|
|
31
|
+
],
|
|
32
|
+
"tags": [
|
|
33
|
+
"gitlab",
|
|
34
|
+
"ci",
|
|
35
|
+
"code review"
|
|
36
|
+
],
|
|
37
|
+
"permissions": {
|
|
38
|
+
"network": [
|
|
39
|
+
"gitlab.com",
|
|
40
|
+
"user"
|
|
41
|
+
],
|
|
42
|
+
"exec": [
|
|
43
|
+
"glab"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"riskyOptions": [
|
|
47
|
+
{
|
|
48
|
+
"path": "gitlab/merge-requests: host",
|
|
49
|
+
"risk": [
|
|
50
|
+
"network"
|
|
51
|
+
],
|
|
52
|
+
"secret": false
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"path": "gitlab/merge-requests: token",
|
|
56
|
+
"risk": [],
|
|
57
|
+
"secret": true
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "gitlab/merge-requests: bin",
|
|
61
|
+
"risk": [
|
|
62
|
+
"exec"
|
|
63
|
+
],
|
|
64
|
+
"secret": false
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"requires": [],
|
|
68
|
+
"optional": [],
|
|
69
|
+
"widgets": [
|
|
70
|
+
{
|
|
71
|
+
"type": "gitlab/pipelines",
|
|
72
|
+
"name": {
|
|
73
|
+
"en": "My pipelines",
|
|
74
|
+
"es": "Mis pipelines"
|
|
75
|
+
},
|
|
76
|
+
"description": {
|
|
77
|
+
"en": "The pipeline of each of your open merge requests: broken first, then running and queued, passing last.",
|
|
78
|
+
"es": "El pipeline de cada una de tus merge requests abiertas: lo roto primero, luego lo que corre y espera, lo que pasa al final."
|
|
79
|
+
},
|
|
80
|
+
"icon": "git-pull-request",
|
|
81
|
+
"category": "dev",
|
|
82
|
+
"tags": [
|
|
83
|
+
"gitlab",
|
|
84
|
+
"ci"
|
|
85
|
+
],
|
|
86
|
+
"size": {
|
|
87
|
+
"min": {
|
|
88
|
+
"w": 280,
|
|
89
|
+
"h": 100
|
|
90
|
+
},
|
|
91
|
+
"preferred": {
|
|
92
|
+
"w": 600,
|
|
93
|
+
"h": 220
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"chrome": "card",
|
|
97
|
+
"sources": [
|
|
98
|
+
"gitlab/merge-requests"
|
|
99
|
+
],
|
|
100
|
+
"options": {
|
|
101
|
+
"default": {
|
|
102
|
+
"rows": 0,
|
|
103
|
+
"layout": "auto",
|
|
104
|
+
"projects": [],
|
|
105
|
+
"hidePassing": false,
|
|
106
|
+
"includeDrafts": false,
|
|
107
|
+
"aliases": {}
|
|
108
|
+
},
|
|
109
|
+
"x-ui": {},
|
|
110
|
+
"type": "object",
|
|
111
|
+
"properties": {
|
|
112
|
+
"rows": {
|
|
113
|
+
"title": "Rows",
|
|
114
|
+
"description": "0 = as many as fit. A number shows that many, in rows of a readable size (fewer when the tile is too small for them); the rest are counted in \"+N more\".",
|
|
115
|
+
"default": 0,
|
|
116
|
+
"x-ui": {
|
|
117
|
+
"label": {
|
|
118
|
+
"en": "Rows",
|
|
119
|
+
"es": "Filas"
|
|
120
|
+
},
|
|
121
|
+
"help": {
|
|
122
|
+
"en": "0 = as many as fit. A number shows that many, in rows of a readable size (fewer when the tile is too small for them); the rest are counted in \"+N more\".",
|
|
123
|
+
"es": "0 = las que quepan. Con un número se ven esas, en filas de un tamaño legible (menos si la tesela no da para ellas); el resto se cuenta en «+N más»."
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"type": "integer",
|
|
127
|
+
"minimum": 0,
|
|
128
|
+
"maximum": 30
|
|
129
|
+
},
|
|
130
|
+
"layout": {
|
|
131
|
+
"title": "Row layout",
|
|
132
|
+
"description": "Automatic: the widget picks by the tile's shape.",
|
|
133
|
+
"default": "auto",
|
|
134
|
+
"x-ui": {
|
|
135
|
+
"label": {
|
|
136
|
+
"en": "Row layout",
|
|
137
|
+
"es": "Formato de fila"
|
|
138
|
+
},
|
|
139
|
+
"help": {
|
|
140
|
+
"en": "Automatic: the widget picks by the tile's shape.",
|
|
141
|
+
"es": "Automático: el widget elige según la forma de la tesela."
|
|
142
|
+
},
|
|
143
|
+
"labels": {
|
|
144
|
+
"auto": {
|
|
145
|
+
"en": "Automatic",
|
|
146
|
+
"es": "Automático"
|
|
147
|
+
},
|
|
148
|
+
"one-line": {
|
|
149
|
+
"en": "One line",
|
|
150
|
+
"es": "Una línea"
|
|
151
|
+
},
|
|
152
|
+
"detailed": {
|
|
153
|
+
"en": "Detailed",
|
|
154
|
+
"es": "Detallado"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"type": "string",
|
|
159
|
+
"enum": [
|
|
160
|
+
"auto",
|
|
161
|
+
"one-line",
|
|
162
|
+
"detailed"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
"projects": {
|
|
166
|
+
"title": "Projects",
|
|
167
|
+
"description": "Empty: all. Names or patterns, comma-separated: * matches anything, a leading ! leaves out (web, acme/*, !*-old).",
|
|
168
|
+
"default": [],
|
|
169
|
+
"x-ui": {
|
|
170
|
+
"label": {
|
|
171
|
+
"en": "Projects",
|
|
172
|
+
"es": "Proyectos"
|
|
173
|
+
},
|
|
174
|
+
"help": {
|
|
175
|
+
"en": "Empty: all. Names or patterns, comma-separated: * matches anything, a leading ! leaves out (web, acme/*, !*-old).",
|
|
176
|
+
"es": "Vacío: todos. Nombres o patrones separados por comas: * vale por cualquier cosa y un ! delante excluye (web, acme/*, !*-old)."
|
|
177
|
+
},
|
|
178
|
+
"widget": "filter"
|
|
179
|
+
},
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": {
|
|
182
|
+
"default": "",
|
|
183
|
+
"x-ui": {
|
|
184
|
+
"placeholder": "name, group/*, !old-*"
|
|
185
|
+
},
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
"x-filter": true
|
|
189
|
+
},
|
|
190
|
+
"hidePassing": {
|
|
191
|
+
"title": "Hide passing pipelines",
|
|
192
|
+
"description": "Only what is broken, running or waiting.",
|
|
193
|
+
"default": false,
|
|
194
|
+
"x-ui": {
|
|
195
|
+
"label": {
|
|
196
|
+
"en": "Hide passing pipelines",
|
|
197
|
+
"es": "Ocultar los pipelines que pasan"
|
|
198
|
+
},
|
|
199
|
+
"help": {
|
|
200
|
+
"en": "Only what is broken, running or waiting.",
|
|
201
|
+
"es": "Sólo lo roto, lo que corre y lo que espera."
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"type": "boolean"
|
|
205
|
+
},
|
|
206
|
+
"includeDrafts": {
|
|
207
|
+
"title": "Include drafts",
|
|
208
|
+
"default": false,
|
|
209
|
+
"x-ui": {
|
|
210
|
+
"label": {
|
|
211
|
+
"en": "Include drafts",
|
|
212
|
+
"es": "Incluir borradores"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"type": "boolean"
|
|
216
|
+
},
|
|
217
|
+
"aliases": {
|
|
218
|
+
"title": "Short project names",
|
|
219
|
+
"description": "Project (as in its path) → what to show, e.g. web-frontend → web.",
|
|
220
|
+
"default": {},
|
|
221
|
+
"x-ui": {
|
|
222
|
+
"label": {
|
|
223
|
+
"en": "Short project names",
|
|
224
|
+
"es": "Nombres cortos de proyecto"
|
|
225
|
+
},
|
|
226
|
+
"help": {
|
|
227
|
+
"en": "Project (as in its path) → what to show, e.g. web-frontend → web.",
|
|
228
|
+
"es": "Proyecto (como en su ruta) → lo que se muestra, p. ej. web-frontend → web."
|
|
229
|
+
},
|
|
230
|
+
"advanced": true
|
|
231
|
+
},
|
|
232
|
+
"type": "object",
|
|
233
|
+
"additionalProperties": {
|
|
234
|
+
"type": "string"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"screenshot": "docs/pipelines.png",
|
|
240
|
+
"animated": false,
|
|
241
|
+
"urgent": false
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"type": "gitlab/reviews",
|
|
245
|
+
"name": {
|
|
246
|
+
"en": "Reviews for me",
|
|
247
|
+
"es": "Te toca revisar"
|
|
248
|
+
},
|
|
249
|
+
"description": {
|
|
250
|
+
"en": "Merge requests waiting for your review: whose, how long they have waited and how their pipeline is doing. The ones you approved sink, dimmed.",
|
|
251
|
+
"es": "Las merge requests que te toca revisar: de quién son, cuánto llevan esperando y cómo va su pipeline. Las que ya aprobaste bajan, atenuadas."
|
|
252
|
+
},
|
|
253
|
+
"icon": "git-branch",
|
|
254
|
+
"category": "dev",
|
|
255
|
+
"tags": [
|
|
256
|
+
"gitlab",
|
|
257
|
+
"code review"
|
|
258
|
+
],
|
|
259
|
+
"size": {
|
|
260
|
+
"min": {
|
|
261
|
+
"w": 280,
|
|
262
|
+
"h": 100
|
|
263
|
+
},
|
|
264
|
+
"preferred": {
|
|
265
|
+
"w": 600,
|
|
266
|
+
"h": 220
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"chrome": "card",
|
|
270
|
+
"sources": [
|
|
271
|
+
"gitlab/merge-requests"
|
|
272
|
+
],
|
|
273
|
+
"options": {
|
|
274
|
+
"default": {
|
|
275
|
+
"rows": 0,
|
|
276
|
+
"layout": "auto",
|
|
277
|
+
"projects": [],
|
|
278
|
+
"includeDrafts": false,
|
|
279
|
+
"hideApproved": false,
|
|
280
|
+
"includeAssigned": false,
|
|
281
|
+
"aliases": {}
|
|
282
|
+
},
|
|
283
|
+
"x-ui": {},
|
|
284
|
+
"type": "object",
|
|
285
|
+
"properties": {
|
|
286
|
+
"rows": {
|
|
287
|
+
"title": "Rows",
|
|
288
|
+
"description": "0 = as many as fit. A number shows that many, in rows of a readable size (fewer when the tile is too small for them); the rest are counted in \"+N more\".",
|
|
289
|
+
"default": 0,
|
|
290
|
+
"x-ui": {
|
|
291
|
+
"label": {
|
|
292
|
+
"en": "Rows",
|
|
293
|
+
"es": "Filas"
|
|
294
|
+
},
|
|
295
|
+
"help": {
|
|
296
|
+
"en": "0 = as many as fit. A number shows that many, in rows of a readable size (fewer when the tile is too small for them); the rest are counted in \"+N more\".",
|
|
297
|
+
"es": "0 = las que quepan. Con un número se ven esas, en filas de un tamaño legible (menos si la tesela no da para ellas); el resto se cuenta en «+N más»."
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"type": "integer",
|
|
301
|
+
"minimum": 0,
|
|
302
|
+
"maximum": 30
|
|
303
|
+
},
|
|
304
|
+
"layout": {
|
|
305
|
+
"title": "Row layout",
|
|
306
|
+
"description": "Automatic: the widget picks by the tile's shape.",
|
|
307
|
+
"default": "auto",
|
|
308
|
+
"x-ui": {
|
|
309
|
+
"label": {
|
|
310
|
+
"en": "Row layout",
|
|
311
|
+
"es": "Formato de fila"
|
|
312
|
+
},
|
|
313
|
+
"help": {
|
|
314
|
+
"en": "Automatic: the widget picks by the tile's shape.",
|
|
315
|
+
"es": "Automático: el widget elige según la forma de la tesela."
|
|
316
|
+
},
|
|
317
|
+
"labels": {
|
|
318
|
+
"auto": {
|
|
319
|
+
"en": "Automatic",
|
|
320
|
+
"es": "Automático"
|
|
321
|
+
},
|
|
322
|
+
"one-line": {
|
|
323
|
+
"en": "One line",
|
|
324
|
+
"es": "Una línea"
|
|
325
|
+
},
|
|
326
|
+
"detailed": {
|
|
327
|
+
"en": "Detailed",
|
|
328
|
+
"es": "Detallado"
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"type": "string",
|
|
333
|
+
"enum": [
|
|
334
|
+
"auto",
|
|
335
|
+
"one-line",
|
|
336
|
+
"detailed"
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
"projects": {
|
|
340
|
+
"title": "Projects",
|
|
341
|
+
"description": "Empty: all. Names or patterns, comma-separated: * matches anything, a leading ! leaves out (web, acme/*, !*-old).",
|
|
342
|
+
"default": [],
|
|
343
|
+
"x-ui": {
|
|
344
|
+
"label": {
|
|
345
|
+
"en": "Projects",
|
|
346
|
+
"es": "Proyectos"
|
|
347
|
+
},
|
|
348
|
+
"help": {
|
|
349
|
+
"en": "Empty: all. Names or patterns, comma-separated: * matches anything, a leading ! leaves out (web, acme/*, !*-old).",
|
|
350
|
+
"es": "Vacío: todos. Nombres o patrones separados por comas: * vale por cualquier cosa y un ! delante excluye (web, acme/*, !*-old)."
|
|
351
|
+
},
|
|
352
|
+
"widget": "filter"
|
|
353
|
+
},
|
|
354
|
+
"type": "array",
|
|
355
|
+
"items": {
|
|
356
|
+
"default": "",
|
|
357
|
+
"x-ui": {
|
|
358
|
+
"placeholder": "name, group/*, !old-*"
|
|
359
|
+
},
|
|
360
|
+
"type": "string"
|
|
361
|
+
},
|
|
362
|
+
"x-filter": true
|
|
363
|
+
},
|
|
364
|
+
"includeDrafts": {
|
|
365
|
+
"title": "Include drafts",
|
|
366
|
+
"default": false,
|
|
367
|
+
"x-ui": {
|
|
368
|
+
"label": {
|
|
369
|
+
"en": "Include drafts",
|
|
370
|
+
"es": "Incluir borradores"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"type": "boolean"
|
|
374
|
+
},
|
|
375
|
+
"hideApproved": {
|
|
376
|
+
"title": "Hide the ones I approved",
|
|
377
|
+
"default": false,
|
|
378
|
+
"x-ui": {
|
|
379
|
+
"label": {
|
|
380
|
+
"en": "Hide the ones I approved",
|
|
381
|
+
"es": "Ocultar las que ya aprobé"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"type": "boolean"
|
|
385
|
+
},
|
|
386
|
+
"includeAssigned": {
|
|
387
|
+
"title": "Include the ones assigned to me",
|
|
388
|
+
"description": "For teams that assign a merge request to its reviewer instead of requesting a review. Your own are left out.",
|
|
389
|
+
"default": false,
|
|
390
|
+
"x-ui": {
|
|
391
|
+
"label": {
|
|
392
|
+
"en": "Include the ones assigned to me",
|
|
393
|
+
"es": "Incluir las que tengo asignadas"
|
|
394
|
+
},
|
|
395
|
+
"help": {
|
|
396
|
+
"en": "For teams that assign a merge request to its reviewer instead of requesting a review. Your own are left out.",
|
|
397
|
+
"es": "Para equipos que asignan la merge request a quien la revisa en vez de pedirle revisión. Las tuyas no se cuentan."
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"type": "boolean"
|
|
401
|
+
},
|
|
402
|
+
"aliases": {
|
|
403
|
+
"title": "Short project names",
|
|
404
|
+
"description": "Project (as in its path) → what to show, e.g. web-frontend → web.",
|
|
405
|
+
"default": {},
|
|
406
|
+
"x-ui": {
|
|
407
|
+
"label": {
|
|
408
|
+
"en": "Short project names",
|
|
409
|
+
"es": "Nombres cortos de proyecto"
|
|
410
|
+
},
|
|
411
|
+
"help": {
|
|
412
|
+
"en": "Project (as in its path) → what to show, e.g. web-frontend → web.",
|
|
413
|
+
"es": "Proyecto (como en su ruta) → lo que se muestra, p. ej. web-frontend → web."
|
|
414
|
+
},
|
|
415
|
+
"advanced": true
|
|
416
|
+
},
|
|
417
|
+
"type": "object",
|
|
418
|
+
"additionalProperties": {
|
|
419
|
+
"type": "string"
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"screenshot": "docs/reviews.png",
|
|
425
|
+
"animated": false,
|
|
426
|
+
"urgent": false
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"sources": [
|
|
430
|
+
{
|
|
431
|
+
"type": "gitlab/merge-requests",
|
|
432
|
+
"name": {
|
|
433
|
+
"en": "GitLab merge requests",
|
|
434
|
+
"es": "Merge requests de GitLab"
|
|
435
|
+
},
|
|
436
|
+
"description": {
|
|
437
|
+
"en": "Your open merge requests, the ones you are asked to review and the ones assigned to you, through glab or a token.",
|
|
438
|
+
"es": "Tus merge requests abiertas, las que te piden revisar y las que tienes asignadas, con glab o con un token."
|
|
439
|
+
},
|
|
440
|
+
"polled": true,
|
|
441
|
+
"intervalMs": 180000,
|
|
442
|
+
"options": {
|
|
443
|
+
"default": {
|
|
444
|
+
"host": "",
|
|
445
|
+
"token": "",
|
|
446
|
+
"bin": "glab"
|
|
447
|
+
},
|
|
448
|
+
"x-ui": {},
|
|
449
|
+
"type": "object",
|
|
450
|
+
"properties": {
|
|
451
|
+
"host": {
|
|
452
|
+
"title": "GitLab host",
|
|
453
|
+
"description": "Empty = glab's default host (gitlab.com with a token).",
|
|
454
|
+
"default": "",
|
|
455
|
+
"x-ui": {
|
|
456
|
+
"label": {
|
|
457
|
+
"en": "GitLab host",
|
|
458
|
+
"es": "Servidor de GitLab"
|
|
459
|
+
},
|
|
460
|
+
"help": {
|
|
461
|
+
"en": "Empty = glab's default host (gitlab.com with a token).",
|
|
462
|
+
"es": "Vacío = el servidor por defecto de glab (gitlab.com con token)."
|
|
463
|
+
},
|
|
464
|
+
"placeholder": "gitlab.com"
|
|
465
|
+
},
|
|
466
|
+
"x-risk": "network",
|
|
467
|
+
"type": "string"
|
|
468
|
+
},
|
|
469
|
+
"token": {
|
|
470
|
+
"title": "Access token",
|
|
471
|
+
"description": "A personal access token with read_api. Empty = use the glab CLI and its login. Secret: leave it empty (or a placeholder such as \"<token>\"). Kiosko keeps the value it already has, or asks for it in the editor.",
|
|
472
|
+
"default": "",
|
|
473
|
+
"x-ui": {
|
|
474
|
+
"label": {
|
|
475
|
+
"en": "Access token",
|
|
476
|
+
"es": "Token de acceso"
|
|
477
|
+
},
|
|
478
|
+
"help": {
|
|
479
|
+
"en": "A personal access token with read_api. Empty = use the glab CLI and its login.",
|
|
480
|
+
"es": "Un token personal con read_api. Vacío = usar el CLI glab y su sesión."
|
|
481
|
+
},
|
|
482
|
+
"secret": true
|
|
483
|
+
},
|
|
484
|
+
"x-secret": true,
|
|
485
|
+
"type": "string"
|
|
486
|
+
},
|
|
487
|
+
"bin": {
|
|
488
|
+
"title": "glab command",
|
|
489
|
+
"default": "glab",
|
|
490
|
+
"x-ui": {
|
|
491
|
+
"label": {
|
|
492
|
+
"en": "glab command",
|
|
493
|
+
"es": "Comando glab"
|
|
494
|
+
},
|
|
495
|
+
"advanced": true,
|
|
496
|
+
"format": "path"
|
|
497
|
+
},
|
|
498
|
+
"x-risk": "exec",
|
|
499
|
+
"type": "string"
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
],
|
|
505
|
+
"interludes": [],
|
|
506
|
+
"templates": []
|
|
507
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kiosko-plugin-gitlab",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "GitLab cards: the pipelines of your open merge requests and the ones waiting for your review.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,10 +28,14 @@
|
|
|
28
28
|
},
|
|
29
29
|
"kiosko": {
|
|
30
30
|
"plugin": "./dist/index.js",
|
|
31
|
-
"id": "gitlab"
|
|
31
|
+
"id": "gitlab",
|
|
32
|
+
"sdk": "^0.2.0",
|
|
33
|
+
"manifest": "./kiosko-manifest.json"
|
|
32
34
|
},
|
|
33
35
|
"files": [
|
|
34
36
|
"dist",
|
|
37
|
+
"docs",
|
|
38
|
+
"kiosko-manifest.json",
|
|
35
39
|
"README.md",
|
|
36
40
|
"LICENSE"
|
|
37
41
|
],
|
|
@@ -44,9 +48,12 @@
|
|
|
44
48
|
"check": "tsc -p tsconfig.json",
|
|
45
49
|
"prepublishOnly": "npm run build"
|
|
46
50
|
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"@kiosko/sdk": "^0.2.0"
|
|
53
|
+
},
|
|
47
54
|
"devDependencies": {
|
|
48
|
-
"@kiosko/sdk": "^0.1
|
|
49
|
-
"@loksly/lcd-canvas-kit": "^0.
|
|
55
|
+
"@kiosko/sdk": "^0.2.1",
|
|
56
|
+
"@loksly/lcd-canvas-kit": "^0.2.0",
|
|
50
57
|
"@napi-rs/canvas": "^1.0.10",
|
|
51
58
|
"@types/node": "^24.0.0",
|
|
52
59
|
"esbuild": "^0.25.0",
|