@memberjunction/open-app-engine 6.2.0-edge.4 → 6.2.0-edge.6

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 (33) hide show
  1. package/dist/github/github-client.d.ts +8 -5
  2. package/dist/github/github-client.d.ts.map +1 -1
  3. package/dist/github/github-client.js +405 -44
  4. package/dist/github/github-client.js.map +1 -1
  5. package/dist/index.d.ts +5 -1
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +3 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/install/config-manager.d.ts.map +1 -1
  10. package/dist/install/config-manager.js +7 -0
  11. package/dist/install/config-manager.js.map +1 -1
  12. package/dist/install/install-orchestrator.d.ts.map +1 -1
  13. package/dist/install/install-orchestrator.js +20 -17
  14. package/dist/install/install-orchestrator.js.map +1 -1
  15. package/dist/install/package-manager.d.ts.map +1 -1
  16. package/dist/install/package-manager.js.map +1 -1
  17. package/dist/install/temp-dir.d.ts +2 -0
  18. package/dist/install/temp-dir.d.ts.map +1 -0
  19. package/dist/install/temp-dir.js +8 -0
  20. package/dist/install/temp-dir.js.map +1 -0
  21. package/dist/manifest/manifest-schema.d.ts +207 -64
  22. package/dist/manifest/manifest-schema.d.ts.map +1 -1
  23. package/dist/manifest/manifest-schema.js +20 -0
  24. package/dist/manifest/manifest-schema.js.map +1 -1
  25. package/dist/manifest/package-platform.d.ts +8 -0
  26. package/dist/manifest/package-platform.d.ts.map +1 -0
  27. package/dist/manifest/package-platform.js +14 -0
  28. package/dist/manifest/package-platform.js.map +1 -0
  29. package/dist/scaffold/app-scaffolder.d.ts +60 -0
  30. package/dist/scaffold/app-scaffolder.d.ts.map +1 -0
  31. package/dist/scaffold/app-scaffolder.js +786 -0
  32. package/dist/scaffold/app-scaffolder.js.map +1 -0
  33. package/package.json +6 -6
@@ -4,22 +4,27 @@ declare const packageEntrySchema: z.ZodEffects<z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  role: z.ZodEnum<["bootstrap", "actions", "engine", "provider", "module", "components", "library"]>;
6
6
  startupExport: z.ZodOptional<z.ZodString>;
7
+ platform: z.ZodOptional<z.ZodEnum<["node", "browser", "both"]>>;
7
8
  }, "strip", z.ZodTypeAny, {
8
9
  name?: string;
9
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
10
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
10
11
  startupExport?: string;
12
+ platform?: "node" | "browser" | "both";
11
13
  }, {
12
14
  name?: string;
13
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
15
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
14
16
  startupExport?: string;
17
+ platform?: "node" | "browser" | "both";
15
18
  }>, {
16
19
  name?: string;
17
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
20
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
18
21
  startupExport?: string;
22
+ platform?: "node" | "browser" | "both";
19
23
  }, {
20
24
  name?: string;
21
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
25
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
22
26
  startupExport?: string;
27
+ platform?: "node" | "browser" | "both";
23
28
  }>;
24
29
  export declare const MjAppManifestSchema: z.ZodObject<{
25
30
  $schema: z.ZodOptional<z.ZodString>;
@@ -79,107 +84,170 @@ export declare const MjAppManifestSchema: z.ZodObject<{
79
84
  }, {
80
85
  directory?: string;
81
86
  }>>;
82
- packages: z.ZodOptional<z.ZodObject<{
87
+ packages: z.ZodOptional<z.ZodEffects<z.ZodObject<{
83
88
  registry: z.ZodOptional<z.ZodString>;
84
89
  prefix: z.ZodOptional<z.ZodString>;
85
90
  server: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
86
91
  name: z.ZodString;
87
92
  role: z.ZodEnum<["bootstrap", "actions", "engine", "provider", "module", "components", "library"]>;
88
93
  startupExport: z.ZodOptional<z.ZodString>;
94
+ platform: z.ZodOptional<z.ZodEnum<["node", "browser", "both"]>>;
89
95
  }, "strip", z.ZodTypeAny, {
90
96
  name?: string;
91
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
97
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
92
98
  startupExport?: string;
99
+ platform?: "node" | "browser" | "both";
93
100
  }, {
94
101
  name?: string;
95
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
102
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
96
103
  startupExport?: string;
104
+ platform?: "node" | "browser" | "both";
97
105
  }>, {
98
106
  name?: string;
99
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
107
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
100
108
  startupExport?: string;
109
+ platform?: "node" | "browser" | "both";
101
110
  }, {
102
111
  name?: string;
103
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
112
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
104
113
  startupExport?: string;
114
+ platform?: "node" | "browser" | "both";
105
115
  }>, "many">>;
106
116
  client: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
107
117
  name: z.ZodString;
108
118
  role: z.ZodEnum<["bootstrap", "actions", "engine", "provider", "module", "components", "library"]>;
109
119
  startupExport: z.ZodOptional<z.ZodString>;
120
+ platform: z.ZodOptional<z.ZodEnum<["node", "browser", "both"]>>;
110
121
  }, "strip", z.ZodTypeAny, {
111
122
  name?: string;
112
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
123
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
113
124
  startupExport?: string;
125
+ platform?: "node" | "browser" | "both";
114
126
  }, {
115
127
  name?: string;
116
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
128
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
117
129
  startupExport?: string;
130
+ platform?: "node" | "browser" | "both";
118
131
  }>, {
119
132
  name?: string;
120
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
133
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
121
134
  startupExport?: string;
135
+ platform?: "node" | "browser" | "both";
122
136
  }, {
123
137
  name?: string;
124
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
138
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
125
139
  startupExport?: string;
140
+ platform?: "node" | "browser" | "both";
126
141
  }>, "many">>;
127
142
  shared: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
128
143
  name: z.ZodString;
129
144
  role: z.ZodEnum<["bootstrap", "actions", "engine", "provider", "module", "components", "library"]>;
130
145
  startupExport: z.ZodOptional<z.ZodString>;
146
+ platform: z.ZodOptional<z.ZodEnum<["node", "browser", "both"]>>;
131
147
  }, "strip", z.ZodTypeAny, {
132
148
  name?: string;
133
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
149
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
134
150
  startupExport?: string;
151
+ platform?: "node" | "browser" | "both";
135
152
  }, {
136
153
  name?: string;
137
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
154
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
138
155
  startupExport?: string;
156
+ platform?: "node" | "browser" | "both";
139
157
  }>, {
140
158
  name?: string;
141
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
159
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
142
160
  startupExport?: string;
161
+ platform?: "node" | "browser" | "both";
143
162
  }, {
144
163
  name?: string;
145
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
164
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
146
165
  startupExport?: string;
166
+ platform?: "node" | "browser" | "both";
147
167
  }>, "many">>;
148
168
  }, "strip", z.ZodTypeAny, {
169
+ server?: {
170
+ name?: string;
171
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
172
+ startupExport?: string;
173
+ platform?: "node" | "browser" | "both";
174
+ }[];
175
+ client?: {
176
+ name?: string;
177
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
178
+ startupExport?: string;
179
+ platform?: "node" | "browser" | "both";
180
+ }[];
149
181
  registry?: string;
150
182
  prefix?: string;
183
+ shared?: {
184
+ name?: string;
185
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
186
+ startupExport?: string;
187
+ platform?: "node" | "browser" | "both";
188
+ }[];
189
+ }, {
151
190
  server?: {
152
191
  name?: string;
153
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
192
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
154
193
  startupExport?: string;
194
+ platform?: "node" | "browser" | "both";
155
195
  }[];
156
196
  client?: {
157
197
  name?: string;
158
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
198
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
159
199
  startupExport?: string;
200
+ platform?: "node" | "browser" | "both";
160
201
  }[];
202
+ registry?: string;
203
+ prefix?: string;
161
204
  shared?: {
162
205
  name?: string;
163
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
206
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
164
207
  startupExport?: string;
208
+ platform?: "node" | "browser" | "both";
209
+ }[];
210
+ }>, {
211
+ server?: {
212
+ name?: string;
213
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
214
+ startupExport?: string;
215
+ platform?: "node" | "browser" | "both";
216
+ }[];
217
+ client?: {
218
+ name?: string;
219
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
220
+ startupExport?: string;
221
+ platform?: "node" | "browser" | "both";
165
222
  }[];
166
- }, {
167
223
  registry?: string;
168
224
  prefix?: string;
225
+ shared?: {
226
+ name?: string;
227
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
228
+ startupExport?: string;
229
+ platform?: "node" | "browser" | "both";
230
+ }[];
231
+ }, {
169
232
  server?: {
170
233
  name?: string;
171
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
234
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
172
235
  startupExport?: string;
236
+ platform?: "node" | "browser" | "both";
173
237
  }[];
174
238
  client?: {
175
239
  name?: string;
176
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
240
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
177
241
  startupExport?: string;
242
+ platform?: "node" | "browser" | "both";
178
243
  }[];
244
+ registry?: string;
245
+ prefix?: string;
179
246
  shared?: {
180
247
  name?: string;
181
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
248
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
182
249
  startupExport?: string;
250
+ platform?: "node" | "browser" | "both";
183
251
  }[];
184
252
  }>>;
185
253
  dependencies: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodObject<{
@@ -313,22 +381,25 @@ export declare const MjAppManifestSchema: z.ZodObject<{
313
381
  repository?: string;
314
382
  mjVersionRange?: string;
315
383
  packages?: {
316
- registry?: string;
317
- prefix?: string;
318
384
  server?: {
319
385
  name?: string;
320
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
386
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
321
387
  startupExport?: string;
388
+ platform?: "node" | "browser" | "both";
322
389
  }[];
323
390
  client?: {
324
391
  name?: string;
325
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
392
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
326
393
  startupExport?: string;
394
+ platform?: "node" | "browser" | "both";
327
395
  }[];
396
+ registry?: string;
397
+ prefix?: string;
328
398
  shared?: {
329
399
  name?: string;
330
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
400
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
331
401
  startupExport?: string;
402
+ platform?: "node" | "browser" | "both";
332
403
  }[];
333
404
  };
334
405
  dependencies?: {
@@ -396,22 +467,25 @@ export declare const MjAppManifestSchema: z.ZodObject<{
396
467
  repository?: string;
397
468
  mjVersionRange?: string;
398
469
  packages?: {
399
- registry?: string;
400
- prefix?: string;
401
470
  server?: {
402
471
  name?: string;
403
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
472
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
404
473
  startupExport?: string;
474
+ platform?: "node" | "browser" | "both";
405
475
  }[];
406
476
  client?: {
407
477
  name?: string;
408
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
478
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
409
479
  startupExport?: string;
480
+ platform?: "node" | "browser" | "both";
410
481
  }[];
482
+ registry?: string;
483
+ prefix?: string;
411
484
  shared?: {
412
485
  name?: string;
413
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
486
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
414
487
  startupExport?: string;
488
+ platform?: "node" | "browser" | "both";
415
489
  }[];
416
490
  };
417
491
  dependencies?: {
@@ -502,107 +576,170 @@ export declare const mjAppManifestSchema: z.ZodObject<{
502
576
  }, {
503
577
  directory?: string;
504
578
  }>>;
505
- packages: z.ZodOptional<z.ZodObject<{
579
+ packages: z.ZodOptional<z.ZodEffects<z.ZodObject<{
506
580
  registry: z.ZodOptional<z.ZodString>;
507
581
  prefix: z.ZodOptional<z.ZodString>;
508
582
  server: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
509
583
  name: z.ZodString;
510
584
  role: z.ZodEnum<["bootstrap", "actions", "engine", "provider", "module", "components", "library"]>;
511
585
  startupExport: z.ZodOptional<z.ZodString>;
586
+ platform: z.ZodOptional<z.ZodEnum<["node", "browser", "both"]>>;
512
587
  }, "strip", z.ZodTypeAny, {
513
588
  name?: string;
514
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
589
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
515
590
  startupExport?: string;
591
+ platform?: "node" | "browser" | "both";
516
592
  }, {
517
593
  name?: string;
518
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
594
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
519
595
  startupExport?: string;
596
+ platform?: "node" | "browser" | "both";
520
597
  }>, {
521
598
  name?: string;
522
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
599
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
523
600
  startupExport?: string;
601
+ platform?: "node" | "browser" | "both";
524
602
  }, {
525
603
  name?: string;
526
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
604
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
527
605
  startupExport?: string;
606
+ platform?: "node" | "browser" | "both";
528
607
  }>, "many">>;
529
608
  client: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
530
609
  name: z.ZodString;
531
610
  role: z.ZodEnum<["bootstrap", "actions", "engine", "provider", "module", "components", "library"]>;
532
611
  startupExport: z.ZodOptional<z.ZodString>;
612
+ platform: z.ZodOptional<z.ZodEnum<["node", "browser", "both"]>>;
533
613
  }, "strip", z.ZodTypeAny, {
534
614
  name?: string;
535
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
615
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
536
616
  startupExport?: string;
617
+ platform?: "node" | "browser" | "both";
537
618
  }, {
538
619
  name?: string;
539
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
620
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
540
621
  startupExport?: string;
622
+ platform?: "node" | "browser" | "both";
541
623
  }>, {
542
624
  name?: string;
543
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
625
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
544
626
  startupExport?: string;
627
+ platform?: "node" | "browser" | "both";
545
628
  }, {
546
629
  name?: string;
547
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
630
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
548
631
  startupExport?: string;
632
+ platform?: "node" | "browser" | "both";
549
633
  }>, "many">>;
550
634
  shared: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
551
635
  name: z.ZodString;
552
636
  role: z.ZodEnum<["bootstrap", "actions", "engine", "provider", "module", "components", "library"]>;
553
637
  startupExport: z.ZodOptional<z.ZodString>;
638
+ platform: z.ZodOptional<z.ZodEnum<["node", "browser", "both"]>>;
554
639
  }, "strip", z.ZodTypeAny, {
555
640
  name?: string;
556
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
641
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
557
642
  startupExport?: string;
643
+ platform?: "node" | "browser" | "both";
558
644
  }, {
559
645
  name?: string;
560
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
646
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
561
647
  startupExport?: string;
648
+ platform?: "node" | "browser" | "both";
562
649
  }>, {
563
650
  name?: string;
564
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
651
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
565
652
  startupExport?: string;
653
+ platform?: "node" | "browser" | "both";
566
654
  }, {
567
655
  name?: string;
568
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
656
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
569
657
  startupExport?: string;
658
+ platform?: "node" | "browser" | "both";
570
659
  }>, "many">>;
571
660
  }, "strip", z.ZodTypeAny, {
661
+ server?: {
662
+ name?: string;
663
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
664
+ startupExport?: string;
665
+ platform?: "node" | "browser" | "both";
666
+ }[];
667
+ client?: {
668
+ name?: string;
669
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
670
+ startupExport?: string;
671
+ platform?: "node" | "browser" | "both";
672
+ }[];
572
673
  registry?: string;
573
674
  prefix?: string;
675
+ shared?: {
676
+ name?: string;
677
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
678
+ startupExport?: string;
679
+ platform?: "node" | "browser" | "both";
680
+ }[];
681
+ }, {
574
682
  server?: {
575
683
  name?: string;
576
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
684
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
577
685
  startupExport?: string;
686
+ platform?: "node" | "browser" | "both";
578
687
  }[];
579
688
  client?: {
580
689
  name?: string;
581
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
690
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
582
691
  startupExport?: string;
692
+ platform?: "node" | "browser" | "both";
583
693
  }[];
694
+ registry?: string;
695
+ prefix?: string;
584
696
  shared?: {
585
697
  name?: string;
586
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
698
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
587
699
  startupExport?: string;
700
+ platform?: "node" | "browser" | "both";
701
+ }[];
702
+ }>, {
703
+ server?: {
704
+ name?: string;
705
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
706
+ startupExport?: string;
707
+ platform?: "node" | "browser" | "both";
708
+ }[];
709
+ client?: {
710
+ name?: string;
711
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
712
+ startupExport?: string;
713
+ platform?: "node" | "browser" | "both";
588
714
  }[];
589
- }, {
590
715
  registry?: string;
591
716
  prefix?: string;
717
+ shared?: {
718
+ name?: string;
719
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
720
+ startupExport?: string;
721
+ platform?: "node" | "browser" | "both";
722
+ }[];
723
+ }, {
592
724
  server?: {
593
725
  name?: string;
594
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
726
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
595
727
  startupExport?: string;
728
+ platform?: "node" | "browser" | "both";
596
729
  }[];
597
730
  client?: {
598
731
  name?: string;
599
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
732
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
600
733
  startupExport?: string;
734
+ platform?: "node" | "browser" | "both";
601
735
  }[];
736
+ registry?: string;
737
+ prefix?: string;
602
738
  shared?: {
603
739
  name?: string;
604
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
740
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
605
741
  startupExport?: string;
742
+ platform?: "node" | "browser" | "both";
606
743
  }[];
607
744
  }>>;
608
745
  dependencies: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodObject<{
@@ -736,22 +873,25 @@ export declare const mjAppManifestSchema: z.ZodObject<{
736
873
  repository?: string;
737
874
  mjVersionRange?: string;
738
875
  packages?: {
739
- registry?: string;
740
- prefix?: string;
741
876
  server?: {
742
877
  name?: string;
743
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
878
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
744
879
  startupExport?: string;
880
+ platform?: "node" | "browser" | "both";
745
881
  }[];
746
882
  client?: {
747
883
  name?: string;
748
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
884
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
749
885
  startupExport?: string;
886
+ platform?: "node" | "browser" | "both";
750
887
  }[];
888
+ registry?: string;
889
+ prefix?: string;
751
890
  shared?: {
752
891
  name?: string;
753
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
892
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
754
893
  startupExport?: string;
894
+ platform?: "node" | "browser" | "both";
755
895
  }[];
756
896
  };
757
897
  dependencies?: {
@@ -819,22 +959,25 @@ export declare const mjAppManifestSchema: z.ZodObject<{
819
959
  repository?: string;
820
960
  mjVersionRange?: string;
821
961
  packages?: {
822
- registry?: string;
823
- prefix?: string;
824
962
  server?: {
825
963
  name?: string;
826
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
964
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
827
965
  startupExport?: string;
966
+ platform?: "node" | "browser" | "both";
828
967
  }[];
829
968
  client?: {
830
969
  name?: string;
831
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
970
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
832
971
  startupExport?: string;
972
+ platform?: "node" | "browser" | "both";
833
973
  }[];
974
+ registry?: string;
975
+ prefix?: string;
834
976
  shared?: {
835
977
  name?: string;
836
- role?: "bootstrap" | "actions" | "engine" | "provider" | "module" | "components" | "library";
978
+ role?: "actions" | "bootstrap" | "engine" | "provider" | "module" | "components" | "library";
837
979
  startupExport?: string;
980
+ platform?: "node" | "browser" | "both";
838
981
  }[];
839
982
  };
840
983
  dependencies?: {
@@ -1 +1 @@
1
- {"version":3,"file":"manifest-schema.d.ts","sourceRoot":"","sources":["../../src/manifest/manifest-schema.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6CxB,QAAA,MAAM,iBAAiB,8FAErB,CAAC;AAEH,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAkHF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmF9B,CAAC;AAGH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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+(-[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)*)?(\+[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)*)?$/;
3
4
  const appNameRegex = /^[a-z][a-z0-9-]{1,62}[a-z0-9]$/;
4
5
  const schemaNameRegex = /^_{0,2}[a-zA-Z][a-zA-Z0-9_]{1,126}[a-zA-Z0-9]$/;
@@ -15,10 +16,12 @@ const publisherSchema = z.object({
15
16
  const packageRoleSchema = z.enum([
16
17
  'bootstrap', 'actions', 'engine', 'provider', 'module', 'components', 'library'
17
18
  ]);
19
+ const packagePlatformSchema = z.enum(['node', 'browser', 'both']);
18
20
  const packageEntrySchema = z.object({
19
21
  name: z.string().max(214).regex(npmPackageNameRegex, 'Package name must be a valid npm package name (lowercase, URL-safe characters, optional @scope/)'),
20
22
  role: packageRoleSchema,
21
23
  startupExport: z.string().regex(jsIdentifierRegex, 'startupExport must be a single JavaScript identifier').optional(),
24
+ platform: packagePlatformSchema.optional(),
22
25
  }).refine((pkg) => pkg.role !== 'bootstrap' || (pkg.startupExport != null && pkg.startupExport.length > 0), { message: 'startupExport is required for packages with the "bootstrap" role', path: ['startupExport'] });
23
26
  const packagesSchema = z.object({
24
27
  registry: z.string().url().optional(),
@@ -26,6 +29,23 @@ const packagesSchema = z.object({
26
29
  server: z.array(packageEntrySchema).optional(),
27
30
  client: z.array(packageEntrySchema).optional(),
28
31
  shared: z.array(packageEntrySchema).optional(),
32
+ })
33
+ .superRefine((packages, ctx) => {
34
+ for (const [array, forbidden] of [['client', 'node'], ['server', 'browser']]) {
35
+ for (const [index, pkg] of (packages[array] ?? []).entries()) {
36
+ if (ResolvePackagePlatform(pkg) !== forbidden) {
37
+ continue;
38
+ }
39
+ const message = pkg.platform
40
+ ? `"${pkg.name}" is declared in packages.${array} but sets platform "${forbidden}". Move it to packages.${forbidden === 'node' ? 'server' : 'client'}, or declare platform "both".`
41
+ : `"${pkg.name}" sits in packages.${array} but role "${pkg.role}" makes it ${forbidden === 'node' ? 'Node-only' : 'browser-only'} — declare platform "${forbidden === 'node' ? 'browser' : 'node'}" or "both", or move it to packages.${forbidden === 'node' ? 'server' : 'client'}.`;
42
+ ctx.addIssue({
43
+ code: z.ZodIssueCode.custom,
44
+ path: [array, index, 'platform'],
45
+ message,
46
+ });
47
+ }
48
+ }
29
49
  });
30
50
  const dbSchemaSchema = z.object({
31
51
  name: z.string().regex(schemaNameRegex, 'Schema name must be alphanumeric + underscores, 3-128 chars. May start with up to two underscores.'),
@@ -1 +1 @@
1
- {"version":3,"file":"manifest-schema.js","sourceRoot":"","sources":["../../src/manifest/manifest-schema.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,MAAM,WAAW,GAAG,oFAAoF,CAAC;AAGzG,MAAM,YAAY,GAAG,gCAAgC,CAAC;AAGtD,MAAM,eAAe,GAAG,gDAAgD,CAAC;AAGzE,MAAM,aAAa,GAAG,mBAAmB,CAAC;AAG1C,MAAM,eAAe,GAAG,iCAAiC,CAAC;AAG1D,MAAM,QAAQ,GAAG,mBAAmB,CAAC;AASrC,MAAM,mBAAmB,GAAG,0DAA0D,CAAC;AAGvF,MAAM,iBAAiB,GAAG,4BAA4B,CAAC;AAIvD,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACpC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAKH,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7B,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS;CACl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