launchset 0.0.1 → 1.2.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.
Files changed (47) hide show
  1. package/README.md +98 -4
  2. package/dist/appstore-bVSJnUv2.js +143 -0
  3. package/dist/cli.js +6889 -0
  4. package/dist/errors-CHdD4g_K.js +58 -0
  5. package/dist/gitlab-child-girdQprO.js +6071 -0
  6. package/dist/http-dQt8kfON.js +127 -0
  7. package/dist/index.d.ts +854 -0
  8. package/dist/index.js +29 -0
  9. package/dist/init-Cv748KKZ.js +8222 -0
  10. package/dist/launchset.schema.json +1473 -0
  11. package/dist/play-D7nv0n-W.js +123 -0
  12. package/dist/prompts-S8h8cgml.js +52 -0
  13. package/dist/schema-CKljQNeI.js +1202 -0
  14. package/dist/store-BCwWrhhY.js +73 -0
  15. package/package.json +85 -5
  16. package/skills/launchset/AGENTS-snippet.md +24 -0
  17. package/skills/launchset/SKILL.md +205 -0
  18. package/skills/launchset-adopt/SKILL.md +222 -0
  19. package/templates/gitlab/child/build.yml +17 -0
  20. package/templates/gitlab/child/cli.yml +14 -0
  21. package/templates/gitlab/child/comment.yml +14 -0
  22. package/templates/gitlab/child/finalize.yml +14 -0
  23. package/templates/gitlab/child/header.yml +4 -0
  24. package/templates/gitlab/child/include.yml +6 -0
  25. package/templates/gitlab/child/nothing.yml +11 -0
  26. package/templates/gitlab/gitlab-ci.yml +23 -0
  27. package/templates/gitlab/launchset-preview.yml +62 -0
  28. package/templates/gitlab/launchset-targets.yml +44 -0
  29. package/templates/gitlab/launchset.yml +133 -0
  30. package/templates/gitlab/targets/android.yml +25 -0
  31. package/templates/gitlab/targets/custom-npm.yml +15 -0
  32. package/templates/gitlab/targets/custom.yml +23 -0
  33. package/templates/gitlab/targets/docker.yml +23 -0
  34. package/templates/gitlab/targets/ios.yml +33 -0
  35. package/templates/gitlab/targets/web.yml +13 -0
  36. package/templates/launchset-readme.md +23 -0
  37. package/templates/workflows/launchset-check.yml +33 -0
  38. package/templates/workflows/launchset-preview.yml +157 -0
  39. package/templates/workflows/launchset-release.yml +181 -0
  40. package/templates/workflows/snippets/android.yml +41 -0
  41. package/templates/workflows/snippets/custom-example.yml +12 -0
  42. package/templates/workflows/snippets/custom-npm.yml +19 -0
  43. package/templates/workflows/snippets/custom.yml +9 -0
  44. package/templates/workflows/snippets/docker-login.yml +9 -0
  45. package/templates/workflows/snippets/docker.yml +17 -0
  46. package/templates/workflows/snippets/ios.yml +46 -0
  47. package/templates/workflows/snippets/web.yml +20 -0
@@ -0,0 +1,1473 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string",
7
+ "description": "Path or URL of this JSON Schema."
8
+ },
9
+ "version": {
10
+ "default": {},
11
+ "type": "object",
12
+ "properties": {
13
+ "file": {
14
+ "default": "package.json",
15
+ "type": "string",
16
+ "minLength": 1
17
+ }
18
+ },
19
+ "additionalProperties": false
20
+ },
21
+ "changelog": {
22
+ "default": {},
23
+ "type": "object",
24
+ "properties": {
25
+ "file": {
26
+ "default": "CHANGELOG.md",
27
+ "type": "string",
28
+ "minLength": 1
29
+ },
30
+ "links": {
31
+ "default": true,
32
+ "type": "boolean"
33
+ },
34
+ "github": {
35
+ "deprecated": true,
36
+ "description": "Deprecated: the old name of \"links\".",
37
+ "type": "boolean"
38
+ }
39
+ },
40
+ "additionalProperties": false
41
+ },
42
+ "baseBranch": {
43
+ "default": "main",
44
+ "type": "string",
45
+ "minLength": 1
46
+ },
47
+ "maintenanceBranches": {
48
+ "default": "release/*.x",
49
+ "type": "string",
50
+ "minLength": 1
51
+ },
52
+ "tags": {
53
+ "default": {},
54
+ "type": "object",
55
+ "properties": {
56
+ "release": {
57
+ "default": "v{version}",
58
+ "type": "string",
59
+ "minLength": 1
60
+ },
61
+ "marker": {
62
+ "default": "launchset/{target}@{version}",
63
+ "type": "string",
64
+ "minLength": 1
65
+ },
66
+ "partial": {
67
+ "default": "launchset/partial/{version}",
68
+ "type": "string",
69
+ "minLength": 1
70
+ }
71
+ },
72
+ "additionalProperties": false
73
+ },
74
+ "buildNumber": {
75
+ "default": {},
76
+ "type": "object",
77
+ "properties": {
78
+ "strategy": {
79
+ "default": "timestamp",
80
+ "type": "string",
81
+ "enum": [
82
+ "timestamp",
83
+ "run-number",
84
+ "semver",
85
+ "eas"
86
+ ]
87
+ },
88
+ "epoch": {
89
+ "default": "2020-01-01T00:00:00Z",
90
+ "type": "string",
91
+ "format": "date-time",
92
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
93
+ },
94
+ "offset": {
95
+ "default": 0,
96
+ "type": "integer",
97
+ "minimum": 0,
98
+ "maximum": 9007199254740991
99
+ },
100
+ "unit": {
101
+ "type": "string",
102
+ "enum": [
103
+ "second",
104
+ "minute"
105
+ ]
106
+ }
107
+ },
108
+ "additionalProperties": false
109
+ },
110
+ "check": {
111
+ "default": {},
112
+ "type": "object",
113
+ "properties": {
114
+ "bots": {
115
+ "default": [
116
+ "dependabot[bot]",
117
+ "renovate[bot]",
118
+ "renovate-bot"
119
+ ],
120
+ "type": "array",
121
+ "items": {
122
+ "type": "string",
123
+ "minLength": 1
124
+ }
125
+ }
126
+ },
127
+ "additionalProperties": false
128
+ },
129
+ "preview": {
130
+ "default": {},
131
+ "anyOf": [
132
+ {
133
+ "type": "boolean",
134
+ "const": false
135
+ },
136
+ {
137
+ "type": "object",
138
+ "properties": {
139
+ "label": {
140
+ "default": "launchset:preview",
141
+ "type": "string",
142
+ "minLength": 1
143
+ },
144
+ "rebuildOnPush": {
145
+ "default": true,
146
+ "type": "boolean"
147
+ },
148
+ "branches": {
149
+ "default": [],
150
+ "type": "array",
151
+ "items": {
152
+ "anyOf": [
153
+ {
154
+ "type": "string",
155
+ "minLength": 1
156
+ },
157
+ {
158
+ "type": "object",
159
+ "properties": {
160
+ "branch": {
161
+ "type": "string",
162
+ "minLength": 1
163
+ },
164
+ "targets": {
165
+ "anyOf": [
166
+ {
167
+ "type": "string",
168
+ "const": "all"
169
+ },
170
+ {
171
+ "type": "array",
172
+ "items": {
173
+ "type": "string",
174
+ "minLength": 1
175
+ }
176
+ }
177
+ ]
178
+ },
179
+ "prerelease": {
180
+ "type": "string",
181
+ "pattern": "^[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*$"
182
+ }
183
+ },
184
+ "required": [
185
+ "branch"
186
+ ],
187
+ "additionalProperties": false
188
+ }
189
+ ]
190
+ }
191
+ },
192
+ "targets": {
193
+ "default": "all",
194
+ "anyOf": [
195
+ {
196
+ "type": "string",
197
+ "const": "all"
198
+ },
199
+ {
200
+ "type": "array",
201
+ "items": {
202
+ "type": "string",
203
+ "minLength": 1
204
+ }
205
+ }
206
+ ]
207
+ }
208
+ },
209
+ "additionalProperties": false
210
+ }
211
+ ]
212
+ },
213
+ "gitlab": {
214
+ "type": "object",
215
+ "properties": {
216
+ "include": {
217
+ "default": [],
218
+ "type": "array",
219
+ "items": {
220
+ "type": "string",
221
+ "minLength": 1
222
+ }
223
+ },
224
+ "tagPipelines": {
225
+ "default": false,
226
+ "type": "boolean"
227
+ }
228
+ },
229
+ "additionalProperties": false
230
+ },
231
+ "targets": {
232
+ "type": "object",
233
+ "propertyNames": {
234
+ "type": "string"
235
+ },
236
+ "additionalProperties": {
237
+ "oneOf": [
238
+ {
239
+ "type": "object",
240
+ "properties": {
241
+ "type": {
242
+ "type": "string",
243
+ "const": "docker"
244
+ },
245
+ "image": {
246
+ "anyOf": [
247
+ {
248
+ "type": "string",
249
+ "minLength": 1
250
+ },
251
+ {
252
+ "minItems": 1,
253
+ "type": "array",
254
+ "items": {
255
+ "type": "string",
256
+ "minLength": 1
257
+ }
258
+ }
259
+ ]
260
+ },
261
+ "tags": {
262
+ "anyOf": [
263
+ {
264
+ "minItems": 1,
265
+ "type": "array",
266
+ "items": {
267
+ "type": "string",
268
+ "minLength": 1
269
+ }
270
+ },
271
+ {
272
+ "type": "object",
273
+ "properties": {
274
+ "release": {
275
+ "minItems": 1,
276
+ "type": "array",
277
+ "items": {
278
+ "type": "string",
279
+ "minLength": 1
280
+ }
281
+ },
282
+ "preview": {
283
+ "minItems": 1,
284
+ "type": "array",
285
+ "items": {
286
+ "type": "string",
287
+ "minLength": 1
288
+ }
289
+ },
290
+ "prerelease": {
291
+ "minItems": 1,
292
+ "type": "array",
293
+ "items": {
294
+ "type": "string",
295
+ "minLength": 1
296
+ }
297
+ }
298
+ },
299
+ "additionalProperties": false
300
+ }
301
+ ]
302
+ },
303
+ "verify": {
304
+ "default": [],
305
+ "type": "array",
306
+ "items": {
307
+ "type": "string",
308
+ "const": "registry"
309
+ }
310
+ },
311
+ "release": {
312
+ "default": "auto",
313
+ "type": "string",
314
+ "enum": [
315
+ "auto",
316
+ "manual"
317
+ ]
318
+ },
319
+ "buildNumber": {
320
+ "type": "object",
321
+ "properties": {
322
+ "strategy": {
323
+ "type": "string",
324
+ "enum": [
325
+ "timestamp",
326
+ "run-number",
327
+ "semver",
328
+ "eas"
329
+ ]
330
+ },
331
+ "epoch": {
332
+ "type": "string",
333
+ "format": "date-time",
334
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
335
+ },
336
+ "offset": {
337
+ "type": "integer",
338
+ "minimum": 0,
339
+ "maximum": 9007199254740991
340
+ },
341
+ "unit": {
342
+ "type": "string",
343
+ "enum": [
344
+ "second",
345
+ "minute"
346
+ ]
347
+ }
348
+ },
349
+ "additionalProperties": false
350
+ },
351
+ "files": {
352
+ "default": [],
353
+ "type": "array",
354
+ "items": {
355
+ "oneOf": [
356
+ {
357
+ "type": "object",
358
+ "properties": {
359
+ "path": {
360
+ "type": "string",
361
+ "minLength": 1
362
+ },
363
+ "kind": {
364
+ "type": "string",
365
+ "const": "json"
366
+ },
367
+ "key": {
368
+ "type": "string",
369
+ "minLength": 1
370
+ }
371
+ },
372
+ "required": [
373
+ "path",
374
+ "kind",
375
+ "key"
376
+ ],
377
+ "additionalProperties": false
378
+ },
379
+ {
380
+ "type": "object",
381
+ "properties": {
382
+ "path": {
383
+ "type": "string",
384
+ "minLength": 1
385
+ },
386
+ "kind": {
387
+ "type": "string",
388
+ "const": "yaml"
389
+ },
390
+ "key": {
391
+ "type": "string",
392
+ "minLength": 1
393
+ }
394
+ },
395
+ "required": [
396
+ "path",
397
+ "kind",
398
+ "key"
399
+ ],
400
+ "additionalProperties": false
401
+ },
402
+ {
403
+ "type": "object",
404
+ "properties": {
405
+ "path": {
406
+ "type": "string",
407
+ "minLength": 1
408
+ },
409
+ "kind": {
410
+ "type": "string",
411
+ "const": "regex"
412
+ },
413
+ "pattern": {
414
+ "type": "string",
415
+ "minLength": 1
416
+ },
417
+ "replace": {
418
+ "type": "string"
419
+ },
420
+ "flags": {
421
+ "type": "string",
422
+ "pattern": "^[imsu]*$"
423
+ }
424
+ },
425
+ "required": [
426
+ "path",
427
+ "kind",
428
+ "pattern",
429
+ "replace"
430
+ ],
431
+ "additionalProperties": false
432
+ },
433
+ {
434
+ "type": "object",
435
+ "properties": {
436
+ "path": {
437
+ "type": "string",
438
+ "minLength": 1
439
+ },
440
+ "kind": {
441
+ "type": "string",
442
+ "const": "image"
443
+ }
444
+ },
445
+ "required": [
446
+ "path",
447
+ "kind"
448
+ ],
449
+ "additionalProperties": false
450
+ }
451
+ ]
452
+ }
453
+ },
454
+ "after": {
455
+ "type": "array",
456
+ "items": {
457
+ "type": "string",
458
+ "minLength": 1
459
+ }
460
+ },
461
+ "gitlab": {
462
+ "type": "object",
463
+ "properties": {
464
+ "shell": {
465
+ "default": "sh",
466
+ "type": "string",
467
+ "enum": [
468
+ "sh",
469
+ "powershell"
470
+ ]
471
+ }
472
+ },
473
+ "additionalProperties": false
474
+ }
475
+ },
476
+ "required": [
477
+ "type",
478
+ "image"
479
+ ],
480
+ "additionalProperties": false
481
+ },
482
+ {
483
+ "type": "object",
484
+ "properties": {
485
+ "type": {
486
+ "type": "string",
487
+ "const": "web"
488
+ },
489
+ "verify": {
490
+ "default": [],
491
+ "type": "array",
492
+ "items": {
493
+ "not": {}
494
+ }
495
+ },
496
+ "release": {
497
+ "default": "auto",
498
+ "type": "string",
499
+ "enum": [
500
+ "auto",
501
+ "manual"
502
+ ]
503
+ },
504
+ "buildNumber": {
505
+ "type": "object",
506
+ "properties": {
507
+ "strategy": {
508
+ "type": "string",
509
+ "enum": [
510
+ "timestamp",
511
+ "run-number",
512
+ "semver",
513
+ "eas"
514
+ ]
515
+ },
516
+ "epoch": {
517
+ "type": "string",
518
+ "format": "date-time",
519
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
520
+ },
521
+ "offset": {
522
+ "type": "integer",
523
+ "minimum": 0,
524
+ "maximum": 9007199254740991
525
+ },
526
+ "unit": {
527
+ "type": "string",
528
+ "enum": [
529
+ "second",
530
+ "minute"
531
+ ]
532
+ }
533
+ },
534
+ "additionalProperties": false
535
+ },
536
+ "files": {
537
+ "default": [],
538
+ "type": "array",
539
+ "items": {
540
+ "oneOf": [
541
+ {
542
+ "type": "object",
543
+ "properties": {
544
+ "path": {
545
+ "type": "string",
546
+ "minLength": 1
547
+ },
548
+ "kind": {
549
+ "type": "string",
550
+ "const": "json"
551
+ },
552
+ "key": {
553
+ "type": "string",
554
+ "minLength": 1
555
+ }
556
+ },
557
+ "required": [
558
+ "path",
559
+ "kind",
560
+ "key"
561
+ ],
562
+ "additionalProperties": false
563
+ },
564
+ {
565
+ "type": "object",
566
+ "properties": {
567
+ "path": {
568
+ "type": "string",
569
+ "minLength": 1
570
+ },
571
+ "kind": {
572
+ "type": "string",
573
+ "const": "yaml"
574
+ },
575
+ "key": {
576
+ "type": "string",
577
+ "minLength": 1
578
+ }
579
+ },
580
+ "required": [
581
+ "path",
582
+ "kind",
583
+ "key"
584
+ ],
585
+ "additionalProperties": false
586
+ },
587
+ {
588
+ "type": "object",
589
+ "properties": {
590
+ "path": {
591
+ "type": "string",
592
+ "minLength": 1
593
+ },
594
+ "kind": {
595
+ "type": "string",
596
+ "const": "regex"
597
+ },
598
+ "pattern": {
599
+ "type": "string",
600
+ "minLength": 1
601
+ },
602
+ "replace": {
603
+ "type": "string"
604
+ },
605
+ "flags": {
606
+ "type": "string",
607
+ "pattern": "^[imsu]*$"
608
+ }
609
+ },
610
+ "required": [
611
+ "path",
612
+ "kind",
613
+ "pattern",
614
+ "replace"
615
+ ],
616
+ "additionalProperties": false
617
+ },
618
+ {
619
+ "type": "object",
620
+ "properties": {
621
+ "path": {
622
+ "type": "string",
623
+ "minLength": 1
624
+ },
625
+ "kind": {
626
+ "type": "string",
627
+ "const": "image"
628
+ }
629
+ },
630
+ "required": [
631
+ "path",
632
+ "kind"
633
+ ],
634
+ "additionalProperties": false
635
+ }
636
+ ]
637
+ }
638
+ },
639
+ "after": {
640
+ "type": "array",
641
+ "items": {
642
+ "type": "string",
643
+ "minLength": 1
644
+ }
645
+ },
646
+ "gitlab": {
647
+ "type": "object",
648
+ "properties": {
649
+ "shell": {
650
+ "default": "sh",
651
+ "type": "string",
652
+ "enum": [
653
+ "sh",
654
+ "powershell"
655
+ ]
656
+ }
657
+ },
658
+ "additionalProperties": false
659
+ }
660
+ },
661
+ "required": [
662
+ "type"
663
+ ],
664
+ "additionalProperties": false
665
+ },
666
+ {
667
+ "type": "object",
668
+ "properties": {
669
+ "type": {
670
+ "type": "string",
671
+ "const": "android"
672
+ },
673
+ "source": {
674
+ "oneOf": [
675
+ {
676
+ "type": "object",
677
+ "properties": {
678
+ "kind": {
679
+ "type": "string",
680
+ "const": "gradle"
681
+ },
682
+ "file": {
683
+ "type": "string",
684
+ "minLength": 1
685
+ }
686
+ },
687
+ "required": [
688
+ "kind",
689
+ "file"
690
+ ],
691
+ "additionalProperties": false
692
+ },
693
+ {
694
+ "type": "object",
695
+ "properties": {
696
+ "kind": {
697
+ "type": "string",
698
+ "const": "gradle-properties"
699
+ },
700
+ "file": {
701
+ "type": "string",
702
+ "minLength": 1
703
+ },
704
+ "versionNameKey": {
705
+ "default": "VERSION_NAME",
706
+ "type": "string",
707
+ "minLength": 1
708
+ },
709
+ "versionCodeKey": {
710
+ "default": "VERSION_CODE",
711
+ "type": "string",
712
+ "minLength": 1
713
+ }
714
+ },
715
+ "required": [
716
+ "kind",
717
+ "file"
718
+ ],
719
+ "additionalProperties": false
720
+ },
721
+ {
722
+ "type": "object",
723
+ "properties": {
724
+ "kind": {
725
+ "type": "string",
726
+ "const": "capacitor"
727
+ },
728
+ "dir": {
729
+ "type": "string",
730
+ "minLength": 1
731
+ }
732
+ },
733
+ "required": [
734
+ "kind",
735
+ "dir"
736
+ ],
737
+ "additionalProperties": false
738
+ },
739
+ {
740
+ "type": "object",
741
+ "properties": {
742
+ "kind": {
743
+ "type": "string",
744
+ "const": "expo"
745
+ },
746
+ "file": {
747
+ "default": "app.json",
748
+ "type": "string",
749
+ "minLength": 1
750
+ }
751
+ },
752
+ "required": [
753
+ "kind"
754
+ ],
755
+ "additionalProperties": false
756
+ }
757
+ ]
758
+ },
759
+ "store": {
760
+ "type": "object",
761
+ "properties": {
762
+ "packageName": {
763
+ "type": "string",
764
+ "minLength": 1
765
+ }
766
+ },
767
+ "required": [
768
+ "packageName"
769
+ ],
770
+ "additionalProperties": false
771
+ },
772
+ "verify": {
773
+ "default": [],
774
+ "type": "array",
775
+ "items": {
776
+ "type": "string",
777
+ "const": "store"
778
+ }
779
+ },
780
+ "release": {
781
+ "default": "auto",
782
+ "type": "string",
783
+ "enum": [
784
+ "auto",
785
+ "manual"
786
+ ]
787
+ },
788
+ "buildNumber": {
789
+ "type": "object",
790
+ "properties": {
791
+ "strategy": {
792
+ "type": "string",
793
+ "enum": [
794
+ "timestamp",
795
+ "run-number",
796
+ "semver",
797
+ "eas"
798
+ ]
799
+ },
800
+ "epoch": {
801
+ "type": "string",
802
+ "format": "date-time",
803
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
804
+ },
805
+ "offset": {
806
+ "type": "integer",
807
+ "minimum": 0,
808
+ "maximum": 9007199254740991
809
+ },
810
+ "unit": {
811
+ "type": "string",
812
+ "enum": [
813
+ "second",
814
+ "minute"
815
+ ]
816
+ }
817
+ },
818
+ "additionalProperties": false
819
+ },
820
+ "files": {
821
+ "default": [],
822
+ "type": "array",
823
+ "items": {
824
+ "oneOf": [
825
+ {
826
+ "type": "object",
827
+ "properties": {
828
+ "path": {
829
+ "type": "string",
830
+ "minLength": 1
831
+ },
832
+ "kind": {
833
+ "type": "string",
834
+ "const": "json"
835
+ },
836
+ "key": {
837
+ "type": "string",
838
+ "minLength": 1
839
+ }
840
+ },
841
+ "required": [
842
+ "path",
843
+ "kind",
844
+ "key"
845
+ ],
846
+ "additionalProperties": false
847
+ },
848
+ {
849
+ "type": "object",
850
+ "properties": {
851
+ "path": {
852
+ "type": "string",
853
+ "minLength": 1
854
+ },
855
+ "kind": {
856
+ "type": "string",
857
+ "const": "yaml"
858
+ },
859
+ "key": {
860
+ "type": "string",
861
+ "minLength": 1
862
+ }
863
+ },
864
+ "required": [
865
+ "path",
866
+ "kind",
867
+ "key"
868
+ ],
869
+ "additionalProperties": false
870
+ },
871
+ {
872
+ "type": "object",
873
+ "properties": {
874
+ "path": {
875
+ "type": "string",
876
+ "minLength": 1
877
+ },
878
+ "kind": {
879
+ "type": "string",
880
+ "const": "regex"
881
+ },
882
+ "pattern": {
883
+ "type": "string",
884
+ "minLength": 1
885
+ },
886
+ "replace": {
887
+ "type": "string"
888
+ },
889
+ "flags": {
890
+ "type": "string",
891
+ "pattern": "^[imsu]*$"
892
+ }
893
+ },
894
+ "required": [
895
+ "path",
896
+ "kind",
897
+ "pattern",
898
+ "replace"
899
+ ],
900
+ "additionalProperties": false
901
+ },
902
+ {
903
+ "type": "object",
904
+ "properties": {
905
+ "path": {
906
+ "type": "string",
907
+ "minLength": 1
908
+ },
909
+ "kind": {
910
+ "type": "string",
911
+ "const": "image"
912
+ }
913
+ },
914
+ "required": [
915
+ "path",
916
+ "kind"
917
+ ],
918
+ "additionalProperties": false
919
+ }
920
+ ]
921
+ }
922
+ },
923
+ "after": {
924
+ "type": "array",
925
+ "items": {
926
+ "type": "string",
927
+ "minLength": 1
928
+ }
929
+ },
930
+ "gitlab": {
931
+ "type": "object",
932
+ "properties": {
933
+ "shell": {
934
+ "default": "sh",
935
+ "type": "string",
936
+ "enum": [
937
+ "sh",
938
+ "powershell"
939
+ ]
940
+ }
941
+ },
942
+ "additionalProperties": false
943
+ }
944
+ },
945
+ "required": [
946
+ "type",
947
+ "source"
948
+ ],
949
+ "additionalProperties": false
950
+ },
951
+ {
952
+ "type": "object",
953
+ "properties": {
954
+ "type": {
955
+ "type": "string",
956
+ "const": "ios"
957
+ },
958
+ "source": {
959
+ "oneOf": [
960
+ {
961
+ "type": "object",
962
+ "properties": {
963
+ "kind": {
964
+ "type": "string",
965
+ "const": "xcodeproj"
966
+ },
967
+ "file": {
968
+ "type": "string",
969
+ "minLength": 1
970
+ },
971
+ "xcodeTargets": {
972
+ "minItems": 1,
973
+ "type": "array",
974
+ "items": {
975
+ "type": "string",
976
+ "minLength": 1
977
+ }
978
+ }
979
+ },
980
+ "required": [
981
+ "kind",
982
+ "file"
983
+ ],
984
+ "additionalProperties": false
985
+ },
986
+ {
987
+ "type": "object",
988
+ "properties": {
989
+ "kind": {
990
+ "type": "string",
991
+ "const": "plist"
992
+ },
993
+ "file": {
994
+ "type": "string",
995
+ "minLength": 1
996
+ },
997
+ "files": {
998
+ "minItems": 1,
999
+ "type": "array",
1000
+ "items": {
1001
+ "type": "string",
1002
+ "minLength": 1
1003
+ }
1004
+ }
1005
+ },
1006
+ "required": [
1007
+ "kind"
1008
+ ],
1009
+ "additionalProperties": false
1010
+ },
1011
+ {
1012
+ "type": "object",
1013
+ "properties": {
1014
+ "kind": {
1015
+ "type": "string",
1016
+ "const": "xcconfig"
1017
+ },
1018
+ "file": {
1019
+ "type": "string",
1020
+ "minLength": 1
1021
+ }
1022
+ },
1023
+ "required": [
1024
+ "kind",
1025
+ "file"
1026
+ ],
1027
+ "additionalProperties": false
1028
+ },
1029
+ {
1030
+ "type": "object",
1031
+ "properties": {
1032
+ "kind": {
1033
+ "type": "string",
1034
+ "const": "capacitor"
1035
+ },
1036
+ "dir": {
1037
+ "type": "string",
1038
+ "minLength": 1
1039
+ },
1040
+ "xcodeTargets": {
1041
+ "minItems": 1,
1042
+ "type": "array",
1043
+ "items": {
1044
+ "type": "string",
1045
+ "minLength": 1
1046
+ }
1047
+ }
1048
+ },
1049
+ "required": [
1050
+ "kind",
1051
+ "dir"
1052
+ ],
1053
+ "additionalProperties": false
1054
+ },
1055
+ {
1056
+ "type": "object",
1057
+ "properties": {
1058
+ "kind": {
1059
+ "type": "string",
1060
+ "const": "expo"
1061
+ },
1062
+ "file": {
1063
+ "default": "app.json",
1064
+ "type": "string",
1065
+ "minLength": 1
1066
+ }
1067
+ },
1068
+ "required": [
1069
+ "kind"
1070
+ ],
1071
+ "additionalProperties": false
1072
+ }
1073
+ ]
1074
+ },
1075
+ "store": {
1076
+ "type": "object",
1077
+ "properties": {
1078
+ "appId": {
1079
+ "type": "string",
1080
+ "pattern": "^\\d+$"
1081
+ }
1082
+ },
1083
+ "required": [
1084
+ "appId"
1085
+ ],
1086
+ "additionalProperties": false
1087
+ },
1088
+ "verify": {
1089
+ "default": [],
1090
+ "type": "array",
1091
+ "items": {
1092
+ "type": "string",
1093
+ "const": "store"
1094
+ }
1095
+ },
1096
+ "release": {
1097
+ "default": "auto",
1098
+ "type": "string",
1099
+ "enum": [
1100
+ "auto",
1101
+ "manual"
1102
+ ]
1103
+ },
1104
+ "buildNumber": {
1105
+ "type": "object",
1106
+ "properties": {
1107
+ "strategy": {
1108
+ "type": "string",
1109
+ "enum": [
1110
+ "timestamp",
1111
+ "run-number",
1112
+ "semver",
1113
+ "eas"
1114
+ ]
1115
+ },
1116
+ "epoch": {
1117
+ "type": "string",
1118
+ "format": "date-time",
1119
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
1120
+ },
1121
+ "offset": {
1122
+ "type": "integer",
1123
+ "minimum": 0,
1124
+ "maximum": 9007199254740991
1125
+ },
1126
+ "unit": {
1127
+ "type": "string",
1128
+ "enum": [
1129
+ "second",
1130
+ "minute"
1131
+ ]
1132
+ }
1133
+ },
1134
+ "additionalProperties": false
1135
+ },
1136
+ "files": {
1137
+ "default": [],
1138
+ "type": "array",
1139
+ "items": {
1140
+ "oneOf": [
1141
+ {
1142
+ "type": "object",
1143
+ "properties": {
1144
+ "path": {
1145
+ "type": "string",
1146
+ "minLength": 1
1147
+ },
1148
+ "kind": {
1149
+ "type": "string",
1150
+ "const": "json"
1151
+ },
1152
+ "key": {
1153
+ "type": "string",
1154
+ "minLength": 1
1155
+ }
1156
+ },
1157
+ "required": [
1158
+ "path",
1159
+ "kind",
1160
+ "key"
1161
+ ],
1162
+ "additionalProperties": false
1163
+ },
1164
+ {
1165
+ "type": "object",
1166
+ "properties": {
1167
+ "path": {
1168
+ "type": "string",
1169
+ "minLength": 1
1170
+ },
1171
+ "kind": {
1172
+ "type": "string",
1173
+ "const": "yaml"
1174
+ },
1175
+ "key": {
1176
+ "type": "string",
1177
+ "minLength": 1
1178
+ }
1179
+ },
1180
+ "required": [
1181
+ "path",
1182
+ "kind",
1183
+ "key"
1184
+ ],
1185
+ "additionalProperties": false
1186
+ },
1187
+ {
1188
+ "type": "object",
1189
+ "properties": {
1190
+ "path": {
1191
+ "type": "string",
1192
+ "minLength": 1
1193
+ },
1194
+ "kind": {
1195
+ "type": "string",
1196
+ "const": "regex"
1197
+ },
1198
+ "pattern": {
1199
+ "type": "string",
1200
+ "minLength": 1
1201
+ },
1202
+ "replace": {
1203
+ "type": "string"
1204
+ },
1205
+ "flags": {
1206
+ "type": "string",
1207
+ "pattern": "^[imsu]*$"
1208
+ }
1209
+ },
1210
+ "required": [
1211
+ "path",
1212
+ "kind",
1213
+ "pattern",
1214
+ "replace"
1215
+ ],
1216
+ "additionalProperties": false
1217
+ },
1218
+ {
1219
+ "type": "object",
1220
+ "properties": {
1221
+ "path": {
1222
+ "type": "string",
1223
+ "minLength": 1
1224
+ },
1225
+ "kind": {
1226
+ "type": "string",
1227
+ "const": "image"
1228
+ }
1229
+ },
1230
+ "required": [
1231
+ "path",
1232
+ "kind"
1233
+ ],
1234
+ "additionalProperties": false
1235
+ }
1236
+ ]
1237
+ }
1238
+ },
1239
+ "after": {
1240
+ "type": "array",
1241
+ "items": {
1242
+ "type": "string",
1243
+ "minLength": 1
1244
+ }
1245
+ },
1246
+ "gitlab": {
1247
+ "type": "object",
1248
+ "properties": {
1249
+ "shell": {
1250
+ "default": "sh",
1251
+ "type": "string",
1252
+ "enum": [
1253
+ "sh",
1254
+ "powershell"
1255
+ ]
1256
+ }
1257
+ },
1258
+ "additionalProperties": false
1259
+ }
1260
+ },
1261
+ "required": [
1262
+ "type",
1263
+ "source"
1264
+ ],
1265
+ "additionalProperties": false
1266
+ },
1267
+ {
1268
+ "type": "object",
1269
+ "properties": {
1270
+ "type": {
1271
+ "type": "string",
1272
+ "const": "custom"
1273
+ },
1274
+ "npm": {
1275
+ "type": "object",
1276
+ "properties": {
1277
+ "package": {
1278
+ "default": "package.json",
1279
+ "type": "string",
1280
+ "minLength": 1
1281
+ }
1282
+ },
1283
+ "additionalProperties": false
1284
+ },
1285
+ "verify": {
1286
+ "default": [],
1287
+ "type": "array",
1288
+ "items": {
1289
+ "type": "string",
1290
+ "const": "npm"
1291
+ }
1292
+ },
1293
+ "release": {
1294
+ "default": "auto",
1295
+ "type": "string",
1296
+ "enum": [
1297
+ "auto",
1298
+ "manual"
1299
+ ]
1300
+ },
1301
+ "buildNumber": {
1302
+ "type": "object",
1303
+ "properties": {
1304
+ "strategy": {
1305
+ "type": "string",
1306
+ "enum": [
1307
+ "timestamp",
1308
+ "run-number",
1309
+ "semver",
1310
+ "eas"
1311
+ ]
1312
+ },
1313
+ "epoch": {
1314
+ "type": "string",
1315
+ "format": "date-time",
1316
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
1317
+ },
1318
+ "offset": {
1319
+ "type": "integer",
1320
+ "minimum": 0,
1321
+ "maximum": 9007199254740991
1322
+ },
1323
+ "unit": {
1324
+ "type": "string",
1325
+ "enum": [
1326
+ "second",
1327
+ "minute"
1328
+ ]
1329
+ }
1330
+ },
1331
+ "additionalProperties": false
1332
+ },
1333
+ "files": {
1334
+ "default": [],
1335
+ "type": "array",
1336
+ "items": {
1337
+ "oneOf": [
1338
+ {
1339
+ "type": "object",
1340
+ "properties": {
1341
+ "path": {
1342
+ "type": "string",
1343
+ "minLength": 1
1344
+ },
1345
+ "kind": {
1346
+ "type": "string",
1347
+ "const": "json"
1348
+ },
1349
+ "key": {
1350
+ "type": "string",
1351
+ "minLength": 1
1352
+ }
1353
+ },
1354
+ "required": [
1355
+ "path",
1356
+ "kind",
1357
+ "key"
1358
+ ],
1359
+ "additionalProperties": false
1360
+ },
1361
+ {
1362
+ "type": "object",
1363
+ "properties": {
1364
+ "path": {
1365
+ "type": "string",
1366
+ "minLength": 1
1367
+ },
1368
+ "kind": {
1369
+ "type": "string",
1370
+ "const": "yaml"
1371
+ },
1372
+ "key": {
1373
+ "type": "string",
1374
+ "minLength": 1
1375
+ }
1376
+ },
1377
+ "required": [
1378
+ "path",
1379
+ "kind",
1380
+ "key"
1381
+ ],
1382
+ "additionalProperties": false
1383
+ },
1384
+ {
1385
+ "type": "object",
1386
+ "properties": {
1387
+ "path": {
1388
+ "type": "string",
1389
+ "minLength": 1
1390
+ },
1391
+ "kind": {
1392
+ "type": "string",
1393
+ "const": "regex"
1394
+ },
1395
+ "pattern": {
1396
+ "type": "string",
1397
+ "minLength": 1
1398
+ },
1399
+ "replace": {
1400
+ "type": "string"
1401
+ },
1402
+ "flags": {
1403
+ "type": "string",
1404
+ "pattern": "^[imsu]*$"
1405
+ }
1406
+ },
1407
+ "required": [
1408
+ "path",
1409
+ "kind",
1410
+ "pattern",
1411
+ "replace"
1412
+ ],
1413
+ "additionalProperties": false
1414
+ },
1415
+ {
1416
+ "type": "object",
1417
+ "properties": {
1418
+ "path": {
1419
+ "type": "string",
1420
+ "minLength": 1
1421
+ },
1422
+ "kind": {
1423
+ "type": "string",
1424
+ "const": "image"
1425
+ }
1426
+ },
1427
+ "required": [
1428
+ "path",
1429
+ "kind"
1430
+ ],
1431
+ "additionalProperties": false
1432
+ }
1433
+ ]
1434
+ }
1435
+ },
1436
+ "after": {
1437
+ "type": "array",
1438
+ "items": {
1439
+ "type": "string",
1440
+ "minLength": 1
1441
+ }
1442
+ },
1443
+ "gitlab": {
1444
+ "type": "object",
1445
+ "properties": {
1446
+ "shell": {
1447
+ "default": "sh",
1448
+ "type": "string",
1449
+ "enum": [
1450
+ "sh",
1451
+ "powershell"
1452
+ ]
1453
+ }
1454
+ },
1455
+ "additionalProperties": false
1456
+ }
1457
+ },
1458
+ "required": [
1459
+ "type"
1460
+ ],
1461
+ "additionalProperties": false
1462
+ }
1463
+ ]
1464
+ }
1465
+ }
1466
+ },
1467
+ "required": [
1468
+ "targets"
1469
+ ],
1470
+ "additionalProperties": false,
1471
+ "title": "launchset configuration",
1472
+ "description": "Configuration for launchset (launchset.config.json)."
1473
+ }