@coreframe/scripts 0.1.48 → 0.1.50

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 (130) hide show
  1. package/dist/coreframe.d.ts +233 -41
  2. package/dist/coreframe.js +13 -2
  3. package/package.json +16 -30
  4. package/dist/_virtual/_@oxc-project_runtime@0.138.0/helpers/esm/usingCtx.js +0 -1
  5. package/dist/assets/contracts.d.ts +0 -187
  6. package/dist/assets/contracts.js +0 -1
  7. package/dist/assets/credentials.d.ts +0 -35
  8. package/dist/assets/credentials.js +0 -1
  9. package/dist/assets/images.d.ts +0 -32
  10. package/dist/assets/images.js +0 -1
  11. package/dist/assets/media.d.ts +0 -42
  12. package/dist/assets/media.js +0 -1
  13. package/dist/assets/project.d.ts +0 -54
  14. package/dist/assets/project.js +0 -3
  15. package/dist/assets/storage.d.ts +0 -60
  16. package/dist/assets/storage.js +0 -1
  17. package/dist/assets/workflows.d.ts +0 -69
  18. package/dist/assets/workflows.js +0 -1
  19. package/dist/assets.d.ts +0 -4
  20. package/dist/assets.js +0 -1
  21. package/dist/config.d.ts +0 -49
  22. package/dist/config.js +0 -1
  23. package/dist/db/apply-seed.d.ts +0 -8
  24. package/dist/db/apply-seed.js +0 -1
  25. package/dist/db/client.d.ts +0 -30
  26. package/dist/db/client.js +0 -1
  27. package/dist/db/config.d.ts +0 -24
  28. package/dist/db/config.js +0 -1
  29. package/dist/db/drizzle-kit.d.ts +0 -10
  30. package/dist/db/drizzle-kit.js +0 -2
  31. package/dist/db/ensure.d.ts +0 -9
  32. package/dist/db/ensure.js +0 -2
  33. package/dist/db/error.d.ts +0 -4
  34. package/dist/db/error.js +0 -1
  35. package/dist/db/local-postgres.d.ts +0 -65
  36. package/dist/db/local-postgres.js +0 -1
  37. package/dist/db/migrate-held.d.ts +0 -16
  38. package/dist/db/migrate-held.js +0 -10
  39. package/dist/db/migrate.d.ts +0 -9
  40. package/dist/db/migrate.js +0 -2
  41. package/dist/db/project.d.ts +0 -23
  42. package/dist/db/project.js +0 -1
  43. package/dist/db/reset.d.ts +0 -9
  44. package/dist/db/reset.js +0 -2
  45. package/dist/db/schema-check.d.ts +0 -11
  46. package/dist/db/schema-check.js +0 -2
  47. package/dist/db/schema-push.d.ts +0 -22
  48. package/dist/db/schema-push.js +0 -1
  49. package/dist/db/seed.d.ts +0 -19
  50. package/dist/db/seed.js +0 -2
  51. package/dist/db/setup.d.ts +0 -11
  52. package/dist/db/setup.js +0 -2
  53. package/dist/deploy/access-token-secret.d.ts +0 -39
  54. package/dist/deploy/access-token-secret.js +0 -1
  55. package/dist/deploy/check-migrations.d.ts +0 -4
  56. package/dist/deploy/check-migrations.js +0 -2
  57. package/dist/deploy/checks.d.ts +0 -8
  58. package/dist/deploy/checks.js +0 -1
  59. package/dist/deploy/config.d.ts +0 -68
  60. package/dist/deploy/config.js +0 -1
  61. package/dist/deploy/migrations.d.ts +0 -24
  62. package/dist/deploy/migrations.js +0 -4
  63. package/dist/deploy/pending-migrations.d.ts +0 -9
  64. package/dist/deploy/pending-migrations.js +0 -1
  65. package/dist/deploy/tauri-release.d.ts +0 -106
  66. package/dist/deploy/tauri-release.js +0 -1
  67. package/dist/deploy/version.d.ts +0 -24
  68. package/dist/deploy/version.js +0 -1
  69. package/dist/deploy.d.ts +0 -21
  70. package/dist/deploy.js +0 -3
  71. package/dist/dev-device.d.ts +0 -34
  72. package/dist/dev-device.js +0 -1
  73. package/dist/dev-https.d.ts +0 -17
  74. package/dist/dev-https.js +0 -1
  75. package/dist/dev-lock.d.ts +0 -28
  76. package/dist/dev-lock.js +0 -1
  77. package/dist/dev-timing.d.ts +0 -25
  78. package/dist/dev-timing.js +0 -1
  79. package/dist/dev.d.ts +0 -39
  80. package/dist/dev.js +0 -2
  81. package/dist/environment.d.ts +0 -27
  82. package/dist/environment.js +0 -1
  83. package/dist/i18n/catalogs.d.ts +0 -60
  84. package/dist/i18n/catalogs.js +0 -1
  85. package/dist/i18n/contracts.d.ts +0 -60
  86. package/dist/i18n/contracts.js +0 -1
  87. package/dist/i18n/paths.d.ts +0 -12
  88. package/dist/i18n/paths.js +0 -1
  89. package/dist/i18n/storage.d.ts +0 -117
  90. package/dist/i18n/storage.js +0 -1
  91. package/dist/i18n/workflows.d.ts +0 -46
  92. package/dist/i18n/workflows.js +0 -1
  93. package/dist/managed-dev-protocol.d.ts +0 -135
  94. package/dist/managed-dev-protocol.js +0 -1
  95. package/dist/managed-dev.d.ts +0 -48
  96. package/dist/managed-dev.js +0 -5
  97. package/dist/private-object-store.d.ts +0 -28
  98. package/dist/private-object-store.js +0 -1
  99. package/dist/project.d.ts +0 -5
  100. package/dist/project.js +0 -1
  101. package/dist/recipes/apply.d.ts +0 -26
  102. package/dist/recipes/apply.js +0 -2
  103. package/dist/recipes/list.d.ts +0 -14
  104. package/dist/recipes/list.js +0 -1
  105. package/dist/recipes/manifest.d.ts +0 -14
  106. package/dist/recipes/manifest.js +0 -1
  107. package/dist/recipes/source.d.ts +0 -22
  108. package/dist/recipes/source.js +0 -1
  109. package/dist/runner.d.ts +0 -20
  110. package/dist/runner.js +0 -1
  111. package/dist/staging.d.ts +0 -33
  112. package/dist/staging.js +0 -3
  113. package/dist/tauri-dev-output.d.ts +0 -19
  114. package/dist/tauri-dev-output.js +0 -2
  115. package/dist/typecheck.d.ts +0 -4
  116. package/dist/typecheck.js +0 -2
  117. package/dist/upgrade/check-skill-current.d.ts +0 -11
  118. package/dist/upgrade/check-skill-current.js +0 -2
  119. package/dist/upgrade/ensure-template-remote.d.ts +0 -13
  120. package/dist/upgrade/ensure-template-remote.js +0 -2
  121. package/dist/upgrade/fast-forward-template-files.d.ts +0 -9
  122. package/dist/upgrade/fast-forward-template-files.js +0 -2
  123. package/dist/upgrade/sync-coreframe-packages.d.ts +0 -8
  124. package/dist/upgrade/sync-coreframe-packages.js +0 -4
  125. package/dist/upgrade/template-ref.d.ts +0 -6
  126. package/dist/upgrade/template-ref.js +0 -1
  127. package/dist/user-preferences.d.ts +0 -8
  128. package/dist/user-preferences.js +0 -1
  129. package/dist/worker-environment.d.ts +0 -95
  130. package/dist/worker-environment.js +0 -1
@@ -1,8 +1,31 @@
1
- //#region coreframe.d.ts
1
+ //#region src/coreframe.d.ts
2
2
  declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").Register> & {
3
3
  parse(context: import("@alloc/cmd-ts/dist/cjs/argparser").ParseContext): Promise<import("@alloc/cmd-ts/dist/cjs/argparser").ParsingResult<{
4
+ command: "build";
5
+ args: {
6
+ platform: "web" | "ios" | "android" | "macos" | undefined;
7
+ apiOrigin: string | undefined;
8
+ simulator: boolean;
9
+ };
10
+ } | {
11
+ command: "dashboard";
12
+ args: {
13
+ command: "build";
14
+ args: {};
15
+ } | {
16
+ command: "typegen";
17
+ args: {};
18
+ };
19
+ } | {
4
20
  command: "assets";
5
21
  args: {
22
+ command: "build";
23
+ args: {
24
+ id: string | undefined;
25
+ pack: string | undefined;
26
+ json: boolean;
27
+ };
28
+ } | {
6
29
  command: "configure";
7
30
  args: {
8
31
  profile: string;
@@ -17,13 +40,6 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
17
40
  variantWidths: number[] | undefined;
18
41
  json: boolean;
19
42
  };
20
- } | {
21
- command: "build";
22
- args: {
23
- id: string | undefined;
24
- pack: string | undefined;
25
- json: boolean;
26
- };
27
43
  } | {
28
44
  command: "check";
29
45
  args: {
@@ -44,20 +60,45 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
44
60
  json: boolean;
45
61
  };
46
62
  };
63
+ } | {
64
+ command: "flutter";
65
+ args: {
66
+ command: "check";
67
+ args: {
68
+ platform: "ios" | "android" | "macos";
69
+ apiOrigin: string;
70
+ };
71
+ } | {
72
+ command: "acceptance";
73
+ args: {
74
+ apiOrigin: string;
75
+ };
76
+ } | {
77
+ command: "codegen";
78
+ args: {
79
+ check: boolean;
80
+ };
81
+ } | {
82
+ command: "prepare";
83
+ args: {
84
+ platform: "ios" | "android" | "macos";
85
+ apiOrigin: string;
86
+ };
87
+ };
47
88
  } | {
48
89
  command: "i18n";
49
90
  args: {
50
91
  command: "build";
51
92
  args: {};
52
93
  } | {
53
- command: "materialize";
94
+ command: "prepare";
54
95
  args: {
55
- revision: string | undefined;
96
+ tag: string;
56
97
  };
57
98
  } | {
58
- command: "prepare";
99
+ command: "materialize";
59
100
  args: {
60
- tag: string;
101
+ revision: string | undefined;
61
102
  };
62
103
  };
63
104
  } | {
@@ -67,9 +108,9 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
67
108
  runMigrations: boolean;
68
109
  skipMigrations: boolean;
69
110
  skipPostDeployChecks: boolean;
70
- tauriLocalPlatforms: ("macos" | "windows" | "linux" | "ios" | "android")[];
111
+ tauriLocalPlatforms: ("ios" | "android" | "macos" | "windows" | "linux")[];
71
112
  tauriWorkflowName: string | undefined;
72
- tauriWorkflowPlatforms: ("macos" | "windows" | "linux" | "ios" | "android")[];
113
+ tauriWorkflowPlatforms: ("ios" | "android" | "macos" | "windows" | "linux")[];
73
114
  tauriWorkflowRef: string | undefined;
74
115
  yes: boolean;
75
116
  };
@@ -117,15 +158,26 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
117
158
  } | {
118
159
  command: "typecheck";
119
160
  args: {};
161
+ } | {
162
+ command: "worker";
163
+ args: {
164
+ command: "typegen";
165
+ args: {
166
+ check: boolean;
167
+ };
168
+ };
120
169
  } | {
121
170
  command: "dev";
122
171
  args: {
123
172
  debug: "managed-dev-overlay" | undefined;
124
173
  https: boolean;
174
+ fresh: boolean;
125
175
  host: string | undefined;
126
176
  managed: boolean;
127
177
  noManaged: boolean;
128
- platform: "ios" | "android" | "web" | "desktop" | undefined;
178
+ reuseVite: boolean;
179
+ stop: boolean;
180
+ platform: "web" | "ios" | "android" | "macos" | "webext" | "desktop" | undefined;
129
181
  device: string | undefined;
130
182
  port: number | undefined;
131
183
  verbose: boolean;
@@ -175,6 +227,14 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
175
227
  remote: string;
176
228
  noFetch: boolean;
177
229
  };
230
+ } | {
231
+ command: "verify";
232
+ args: {
233
+ recipe: string;
234
+ target: string | undefined;
235
+ remote: string;
236
+ noFetch: boolean;
237
+ };
178
238
  };
179
239
  } | {
180
240
  command: "db";
@@ -224,8 +284,31 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
224
284
  };
225
285
  }>>;
226
286
  } & import("@alloc/cmd-ts/dist/cjs/helpdoc").Named & Partial<import("@alloc/cmd-ts/dist/cjs/helpdoc").Descriptive & import("@alloc/cmd-ts/dist/cjs/helpdoc").Versioned> & import("@alloc/cmd-ts/dist/cjs/helpdoc").PrintHelp & Partial<import("@alloc/cmd-ts/dist/cjs/helpdoc").Versioned> & import("@alloc/cmd-ts/dist/cjs/argparser").Register & import("@alloc/cmd-ts/dist/cjs/runner").Handling<{
287
+ command: "build";
288
+ args: {
289
+ platform: "web" | "ios" | "android" | "macos" | undefined;
290
+ apiOrigin: string | undefined;
291
+ simulator: boolean;
292
+ };
293
+ } | {
294
+ command: "dashboard";
295
+ args: {
296
+ command: "build";
297
+ args: {};
298
+ } | {
299
+ command: "typegen";
300
+ args: {};
301
+ };
302
+ } | {
227
303
  command: "assets";
228
304
  args: {
305
+ command: "build";
306
+ args: {
307
+ id: string | undefined;
308
+ pack: string | undefined;
309
+ json: boolean;
310
+ };
311
+ } | {
229
312
  command: "configure";
230
313
  args: {
231
314
  profile: string;
@@ -240,13 +323,6 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
240
323
  variantWidths: number[] | undefined;
241
324
  json: boolean;
242
325
  };
243
- } | {
244
- command: "build";
245
- args: {
246
- id: string | undefined;
247
- pack: string | undefined;
248
- json: boolean;
249
- };
250
326
  } | {
251
327
  command: "check";
252
328
  args: {
@@ -267,20 +343,45 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
267
343
  json: boolean;
268
344
  };
269
345
  };
346
+ } | {
347
+ command: "flutter";
348
+ args: {
349
+ command: "check";
350
+ args: {
351
+ platform: "ios" | "android" | "macos";
352
+ apiOrigin: string;
353
+ };
354
+ } | {
355
+ command: "acceptance";
356
+ args: {
357
+ apiOrigin: string;
358
+ };
359
+ } | {
360
+ command: "codegen";
361
+ args: {
362
+ check: boolean;
363
+ };
364
+ } | {
365
+ command: "prepare";
366
+ args: {
367
+ platform: "ios" | "android" | "macos";
368
+ apiOrigin: string;
369
+ };
370
+ };
270
371
  } | {
271
372
  command: "i18n";
272
373
  args: {
273
374
  command: "build";
274
375
  args: {};
275
376
  } | {
276
- command: "materialize";
377
+ command: "prepare";
277
378
  args: {
278
- revision: string | undefined;
379
+ tag: string;
279
380
  };
280
381
  } | {
281
- command: "prepare";
382
+ command: "materialize";
282
383
  args: {
283
- tag: string;
384
+ revision: string | undefined;
284
385
  };
285
386
  };
286
387
  } | {
@@ -290,9 +391,9 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
290
391
  runMigrations: boolean;
291
392
  skipMigrations: boolean;
292
393
  skipPostDeployChecks: boolean;
293
- tauriLocalPlatforms: ("macos" | "windows" | "linux" | "ios" | "android")[];
394
+ tauriLocalPlatforms: ("ios" | "android" | "macos" | "windows" | "linux")[];
294
395
  tauriWorkflowName: string | undefined;
295
- tauriWorkflowPlatforms: ("macos" | "windows" | "linux" | "ios" | "android")[];
396
+ tauriWorkflowPlatforms: ("ios" | "android" | "macos" | "windows" | "linux")[];
296
397
  tauriWorkflowRef: string | undefined;
297
398
  yes: boolean;
298
399
  };
@@ -340,15 +441,26 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
340
441
  } | {
341
442
  command: "typecheck";
342
443
  args: {};
444
+ } | {
445
+ command: "worker";
446
+ args: {
447
+ command: "typegen";
448
+ args: {
449
+ check: boolean;
450
+ };
451
+ };
343
452
  } | {
344
453
  command: "dev";
345
454
  args: {
346
455
  debug: "managed-dev-overlay" | undefined;
347
456
  https: boolean;
457
+ fresh: boolean;
348
458
  host: string | undefined;
349
459
  managed: boolean;
350
460
  noManaged: boolean;
351
- platform: "ios" | "android" | "web" | "desktop" | undefined;
461
+ reuseVite: boolean;
462
+ stop: boolean;
463
+ platform: "web" | "ios" | "android" | "macos" | "webext" | "desktop" | undefined;
352
464
  device: string | undefined;
353
465
  port: number | undefined;
354
466
  verbose: boolean;
@@ -398,6 +510,14 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
398
510
  remote: string;
399
511
  noFetch: boolean;
400
512
  };
513
+ } | {
514
+ command: "verify";
515
+ args: {
516
+ recipe: string;
517
+ target: string | undefined;
518
+ remote: string;
519
+ noFetch: boolean;
520
+ };
401
521
  };
402
522
  } | {
403
523
  command: "db";
@@ -446,15 +566,27 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
446
566
  args: {};
447
567
  };
448
568
  }, {
569
+ command: "build";
570
+ value: Promise<void>;
571
+ } | {
572
+ command: "dashboard";
573
+ value: {
574
+ command: "build";
575
+ value: Promise<void>;
576
+ } | {
577
+ command: "typegen";
578
+ value: Promise<void>;
579
+ };
580
+ } | {
449
581
  command: "assets";
450
582
  value: {
451
- command: "configure";
583
+ command: "build";
452
584
  value: Promise<void>;
453
585
  } | {
454
- command: "add";
586
+ command: "configure";
455
587
  value: Promise<void>;
456
588
  } | {
457
- command: "build";
589
+ command: "add";
458
590
  value: Promise<void>;
459
591
  } | {
460
592
  command: "check";
@@ -466,16 +598,31 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
466
598
  command: "status";
467
599
  value: Promise<void>;
468
600
  };
601
+ } | {
602
+ command: "flutter";
603
+ value: {
604
+ command: "check";
605
+ value: Promise<void>;
606
+ } | {
607
+ command: "acceptance";
608
+ value: Promise<void>;
609
+ } | {
610
+ command: "codegen";
611
+ value: Promise<void>;
612
+ } | {
613
+ command: "prepare";
614
+ value: Promise<void>;
615
+ };
469
616
  } | {
470
617
  command: "i18n";
471
618
  value: {
472
619
  command: "build";
473
620
  value: Promise<void>;
474
621
  } | {
475
- command: "materialize";
622
+ command: "prepare";
476
623
  value: Promise<void>;
477
624
  } | {
478
- command: "prepare";
625
+ command: "materialize";
479
626
  value: Promise<void>;
480
627
  };
481
628
  } | {
@@ -508,9 +655,15 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
508
655
  } | {
509
656
  command: "typecheck";
510
657
  value: Promise<void>;
658
+ } | {
659
+ command: "worker";
660
+ value: {
661
+ command: "typegen";
662
+ value: Promise<void>;
663
+ };
511
664
  } | {
512
665
  command: "dev";
513
- value: Promise<void>;
666
+ value: Promise<void> | Promise<boolean>;
514
667
  } | {
515
668
  command: "upgrade";
516
669
  value: {
@@ -534,6 +687,9 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
534
687
  } | {
535
688
  command: "list";
536
689
  value: void;
690
+ } | {
691
+ command: "verify";
692
+ value: void;
537
693
  };
538
694
  } | {
539
695
  command: "db";
@@ -573,15 +729,27 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
573
729
  };
574
730
  }> & {
575
731
  run(context: import("@alloc/cmd-ts/dist/cjs/argparser").ParseContext): Promise<import("@alloc/cmd-ts/dist/cjs/argparser").ParsingResult<{
732
+ command: "build";
733
+ value: Promise<void>;
734
+ } | {
735
+ command: "dashboard";
736
+ value: {
737
+ command: "build";
738
+ value: Promise<void>;
739
+ } | {
740
+ command: "typegen";
741
+ value: Promise<void>;
742
+ };
743
+ } | {
576
744
  command: "assets";
577
745
  value: {
578
- command: "configure";
746
+ command: "build";
579
747
  value: Promise<void>;
580
748
  } | {
581
- command: "add";
749
+ command: "configure";
582
750
  value: Promise<void>;
583
751
  } | {
584
- command: "build";
752
+ command: "add";
585
753
  value: Promise<void>;
586
754
  } | {
587
755
  command: "check";
@@ -593,16 +761,31 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
593
761
  command: "status";
594
762
  value: Promise<void>;
595
763
  };
764
+ } | {
765
+ command: "flutter";
766
+ value: {
767
+ command: "check";
768
+ value: Promise<void>;
769
+ } | {
770
+ command: "acceptance";
771
+ value: Promise<void>;
772
+ } | {
773
+ command: "codegen";
774
+ value: Promise<void>;
775
+ } | {
776
+ command: "prepare";
777
+ value: Promise<void>;
778
+ };
596
779
  } | {
597
780
  command: "i18n";
598
781
  value: {
599
782
  command: "build";
600
783
  value: Promise<void>;
601
784
  } | {
602
- command: "materialize";
785
+ command: "prepare";
603
786
  value: Promise<void>;
604
787
  } | {
605
- command: "prepare";
788
+ command: "materialize";
606
789
  value: Promise<void>;
607
790
  };
608
791
  } | {
@@ -635,9 +818,15 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
635
818
  } | {
636
819
  command: "typecheck";
637
820
  value: Promise<void>;
821
+ } | {
822
+ command: "worker";
823
+ value: {
824
+ command: "typegen";
825
+ value: Promise<void>;
826
+ };
638
827
  } | {
639
828
  command: "dev";
640
- value: Promise<void>;
829
+ value: Promise<void> | Promise<boolean>;
641
830
  } | {
642
831
  command: "upgrade";
643
832
  value: {
@@ -661,6 +850,9 @@ declare const coreframeCli: Partial<import("@alloc/cmd-ts/dist/cjs/argparser").R
661
850
  } | {
662
851
  command: "list";
663
852
  value: void;
853
+ } | {
854
+ command: "verify";
855
+ value: void;
664
856
  };
665
857
  } | {
666
858
  command: "db";