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