everything-dev 1.33.6 → 1.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contract.cjs +48 -68
- package/dist/api-contract.cjs.map +1 -1
- package/dist/api-contract.mjs +48 -68
- package/dist/api-contract.mjs.map +1 -1
- package/dist/cli/init.cjs +64 -41
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.d.cts.map +1 -1
- package/dist/cli/init.d.mts.map +1 -1
- package/dist/cli/init.mjs +65 -42
- package/dist/cli/init.mjs.map +1 -1
- package/dist/cli/sync.cjs +5 -0
- package/dist/cli/sync.cjs.map +1 -1
- package/dist/cli/sync.mjs +5 -0
- package/dist/cli/sync.mjs.map +1 -1
- package/dist/cli/upgrade.cjs +6 -3
- package/dist/cli/upgrade.cjs.map +1 -1
- package/dist/cli/upgrade.mjs +6 -3
- package/dist/cli/upgrade.mjs.map +1 -1
- package/dist/config.cjs +12 -4
- package/dist/config.cjs.map +1 -1
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +12 -4
- package/dist/config.mjs.map +1 -1
- package/dist/contract.d.cts +62 -46
- package/dist/contract.d.cts.map +1 -1
- package/dist/contract.d.mts +62 -46
- package/dist/contract.d.mts.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/merge.cjs +1 -2
- package/dist/merge.cjs.map +1 -1
- package/dist/merge.d.cts +1 -1
- package/dist/merge.d.cts.map +1 -1
- package/dist/merge.d.mts +1 -1
- package/dist/merge.d.mts.map +1 -1
- package/dist/merge.mjs +1 -2
- package/dist/merge.mjs.map +1 -1
- package/dist/near-cli.cjs +0 -23
- package/dist/near-cli.cjs.map +1 -1
- package/dist/near-cli.mjs +0 -23
- package/dist/near-cli.mjs.map +1 -1
- package/dist/plugin.cjs +9 -3
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.d.cts +72 -50
- package/dist/plugin.d.mts +72 -50
- package/dist/plugin.mjs +9 -3
- package/dist/plugin.mjs.map +1 -1
- package/dist/shared-deps.cjs +201 -0
- package/dist/shared-deps.cjs.map +1 -0
- package/dist/shared-deps.mjs +200 -0
- package/dist/shared-deps.mjs.map +1 -0
- package/dist/types.cjs +14 -12
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +88 -40
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +88 -40
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +14 -13
- package/dist/types.mjs.map +1 -1
- package/package.json +4 -4
- package/skills/extends-config/SKILL.md +7 -8
- package/skills/init-upgrade/SKILL.md +5 -2
- package/skills/publish-sync/SKILL.md +1 -1
- package/dist/shared.cjs +0 -155
- package/dist/shared.cjs.map +0 -1
- package/dist/shared.mjs +0 -154
- package/dist/shared.mjs.map +0 -1
package/dist/plugin.d.cts
CHANGED
|
@@ -65,8 +65,8 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
65
65
|
interactive: z.ZodOptional<z.ZodBoolean>;
|
|
66
66
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
67
|
status: z.ZodEnum<{
|
|
68
|
-
error: "error";
|
|
69
68
|
started: "started";
|
|
69
|
+
error: "error";
|
|
70
70
|
}>;
|
|
71
71
|
description: z.ZodString;
|
|
72
72
|
processes: z.ZodArray<z.ZodString>;
|
|
@@ -94,8 +94,8 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
94
94
|
deploy: z.ZodDefault<z.ZodBoolean>;
|
|
95
95
|
}, z.core.$strip>, z.ZodObject<{
|
|
96
96
|
status: z.ZodEnum<{
|
|
97
|
-
success: "success";
|
|
98
97
|
error: "error";
|
|
98
|
+
success: "success";
|
|
99
99
|
}>;
|
|
100
100
|
built: z.ZodArray<z.ZodString>;
|
|
101
101
|
skipped: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -124,14 +124,6 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
124
124
|
service: z.ZodString;
|
|
125
125
|
}, z.core.$strip>>;
|
|
126
126
|
}, z.core.$strip>>;
|
|
127
|
-
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
128
|
-
version: z.ZodString;
|
|
129
|
-
requiredVersion: z.ZodOptional<z.ZodString>;
|
|
130
|
-
singleton: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
-
eager: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
-
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
-
shareScope: z.ZodOptional<z.ZodString>;
|
|
134
|
-
}, z.core.$strip>>>>;
|
|
135
127
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
136
128
|
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
137
129
|
development: z.ZodOptional<z.ZodString>;
|
|
@@ -156,16 +148,16 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
156
148
|
}>>;
|
|
157
149
|
}, z.core.$strip>>>;
|
|
158
150
|
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
159
|
-
|
|
160
|
-
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
161
|
-
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
151
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
162
152
|
version: z.ZodString;
|
|
163
153
|
requiredVersion: z.ZodOptional<z.ZodString>;
|
|
164
154
|
singleton: z.ZodOptional<z.ZodBoolean>;
|
|
165
155
|
eager: z.ZodOptional<z.ZodBoolean>;
|
|
166
156
|
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
167
157
|
shareScope: z.ZodOptional<z.ZodString>;
|
|
168
|
-
}, z.core.$strip
|
|
158
|
+
}, z.core.$strip>>>;
|
|
159
|
+
version: z.ZodOptional<z.ZodString>;
|
|
160
|
+
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
169
161
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
170
162
|
}, z.core.$strip>]>>>;
|
|
171
163
|
app: z.ZodObject<{
|
|
@@ -182,7 +174,7 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
182
174
|
integrity: z.ZodOptional<z.ZodString>;
|
|
183
175
|
ssr: z.ZodOptional<z.ZodString>;
|
|
184
176
|
ssrIntegrity: z.ZodOptional<z.ZodString>;
|
|
185
|
-
}, z.core.$
|
|
177
|
+
}, z.core.$strict>;
|
|
186
178
|
api: z.ZodObject<{
|
|
187
179
|
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
188
180
|
development: z.ZodOptional<z.ZodString>;
|
|
@@ -207,6 +199,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
207
199
|
}>>;
|
|
208
200
|
}, z.core.$strip>>>;
|
|
209
201
|
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
202
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
203
|
+
version: z.ZodString;
|
|
204
|
+
requiredVersion: z.ZodOptional<z.ZodString>;
|
|
205
|
+
singleton: z.ZodOptional<z.ZodBoolean>;
|
|
206
|
+
eager: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
shareScope: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strip>>>;
|
|
210
210
|
}, z.core.$strip>;
|
|
211
211
|
auth: z.ZodOptional<z.ZodObject<{
|
|
212
212
|
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -232,6 +232,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
232
232
|
}>>;
|
|
233
233
|
}, z.core.$strip>>>;
|
|
234
234
|
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
235
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
236
|
+
version: z.ZodString;
|
|
237
|
+
requiredVersion: z.ZodOptional<z.ZodString>;
|
|
238
|
+
singleton: z.ZodOptional<z.ZodBoolean>;
|
|
239
|
+
eager: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
+
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
241
|
+
shareScope: z.ZodOptional<z.ZodString>;
|
|
242
|
+
}, z.core.$strip>>>;
|
|
235
243
|
}, z.core.$strip>>;
|
|
236
244
|
}, z.core.$strip>;
|
|
237
245
|
}, z.core.$strip>]>>;
|
|
@@ -381,10 +389,10 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
381
389
|
source: z.ZodOptional<z.ZodString>;
|
|
382
390
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
383
391
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
384
|
-
plugins: "plugins";
|
|
385
|
-
ui: "ui";
|
|
386
392
|
host: "host";
|
|
393
|
+
ui: "ui";
|
|
387
394
|
api: "api";
|
|
395
|
+
plugins: "plugins";
|
|
388
396
|
}>>>;
|
|
389
397
|
noInteractive: z.ZodDefault<z.ZodBoolean>;
|
|
390
398
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -400,10 +408,10 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
400
408
|
extends: z.ZodString;
|
|
401
409
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
402
410
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
403
|
-
plugins: "plugins";
|
|
404
|
-
ui: "ui";
|
|
405
411
|
host: "host";
|
|
412
|
+
ui: "ui";
|
|
406
413
|
api: "api";
|
|
414
|
+
plugins: "plugins";
|
|
407
415
|
}>>>;
|
|
408
416
|
filesCopied: z.ZodNumber;
|
|
409
417
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -487,14 +495,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
487
495
|
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
488
496
|
typesGen: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
|
|
489
497
|
env: z.ZodOptional<z.ZodEnum<{
|
|
490
|
-
development: "development";
|
|
491
498
|
production: "production";
|
|
499
|
+
development: "development";
|
|
492
500
|
}>>;
|
|
493
501
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
494
502
|
}, z.core.$strip>, z.ZodObject<{
|
|
495
503
|
status: z.ZodEnum<{
|
|
496
|
-
success: "success";
|
|
497
504
|
error: "error";
|
|
505
|
+
success: "success";
|
|
498
506
|
}>;
|
|
499
507
|
generated: z.ZodArray<z.ZodString>;
|
|
500
508
|
fetched: z.ZodArray<z.ZodString>;
|
|
@@ -546,6 +554,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
546
554
|
roleRequired?: "anon" | "member" | "admin" | undefined;
|
|
547
555
|
}[] | undefined;
|
|
548
556
|
routes?: string[] | undefined;
|
|
557
|
+
shared?: Record<string, {
|
|
558
|
+
version: string;
|
|
559
|
+
requiredVersion?: string | undefined;
|
|
560
|
+
singleton?: boolean | undefined;
|
|
561
|
+
eager?: boolean | undefined;
|
|
562
|
+
strictVersion?: boolean | undefined;
|
|
563
|
+
shareScope?: string | undefined;
|
|
564
|
+
}> | undefined;
|
|
549
565
|
};
|
|
550
566
|
auth?: {
|
|
551
567
|
extends?: string | {
|
|
@@ -567,6 +583,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
567
583
|
roleRequired?: "anon" | "member" | "admin" | undefined;
|
|
568
584
|
}[] | undefined;
|
|
569
585
|
routes?: string[] | undefined;
|
|
586
|
+
shared?: Record<string, {
|
|
587
|
+
version: string;
|
|
588
|
+
requiredVersion?: string | undefined;
|
|
589
|
+
singleton?: boolean | undefined;
|
|
590
|
+
eager?: boolean | undefined;
|
|
591
|
+
strictVersion?: boolean | undefined;
|
|
592
|
+
shareScope?: string | undefined;
|
|
593
|
+
}> | undefined;
|
|
570
594
|
} | undefined;
|
|
571
595
|
};
|
|
572
596
|
extends?: string | {
|
|
@@ -587,14 +611,6 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
587
611
|
service: string;
|
|
588
612
|
} | undefined;
|
|
589
613
|
} | undefined;
|
|
590
|
-
shared?: Record<string, Record<string, {
|
|
591
|
-
version: string;
|
|
592
|
-
requiredVersion?: string | undefined;
|
|
593
|
-
singleton?: boolean | undefined;
|
|
594
|
-
eager?: boolean | undefined;
|
|
595
|
-
strictVersion?: boolean | undefined;
|
|
596
|
-
shareScope?: string | undefined;
|
|
597
|
-
}>> | undefined;
|
|
598
614
|
plugins?: Record<string, string | {
|
|
599
615
|
extends?: string | {
|
|
600
616
|
development?: string | undefined;
|
|
@@ -615,21 +631,21 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
615
631
|
roleRequired?: "anon" | "member" | "admin" | undefined;
|
|
616
632
|
}[] | undefined;
|
|
617
633
|
routes?: string[] | undefined;
|
|
618
|
-
|
|
619
|
-
app?: Record<string, unknown> | undefined;
|
|
620
|
-
shared?: Record<string, Record<string, {
|
|
634
|
+
shared?: Record<string, {
|
|
621
635
|
version: string;
|
|
622
636
|
requiredVersion?: string | undefined;
|
|
623
637
|
singleton?: boolean | undefined;
|
|
624
638
|
eager?: boolean | undefined;
|
|
625
639
|
strictVersion?: boolean | undefined;
|
|
626
640
|
shareScope?: string | undefined;
|
|
627
|
-
}
|
|
641
|
+
}> | undefined;
|
|
642
|
+
version?: string | undefined;
|
|
643
|
+
app?: Record<string, unknown> | undefined;
|
|
628
644
|
plugins?: Record<string, unknown> | undefined;
|
|
629
645
|
}> | undefined;
|
|
630
646
|
} | null;
|
|
631
647
|
runtimeConfig: {
|
|
632
|
-
env: "
|
|
648
|
+
env: "production" | "staging" | "development";
|
|
633
649
|
account: string;
|
|
634
650
|
networkId: "testnet" | "mainnet";
|
|
635
651
|
host: {
|
|
@@ -665,13 +681,7 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
665
681
|
proxy?: string | undefined;
|
|
666
682
|
variables?: Record<string, JsonValue> | undefined;
|
|
667
683
|
secrets?: string[] | undefined;
|
|
668
|
-
|
|
669
|
-
domain?: string | undefined;
|
|
670
|
-
title?: string | undefined;
|
|
671
|
-
description?: string | undefined;
|
|
672
|
-
repository?: string | undefined;
|
|
673
|
-
shared?: {
|
|
674
|
-
ui?: Record<string, {
|
|
684
|
+
shared?: Record<string, {
|
|
675
685
|
version: string;
|
|
676
686
|
requiredVersion?: string | undefined;
|
|
677
687
|
singleton?: boolean | undefined;
|
|
@@ -679,15 +689,11 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
679
689
|
strictVersion?: boolean | undefined;
|
|
680
690
|
shareScope?: string | undefined;
|
|
681
691
|
}> | undefined;
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
strictVersion?: boolean | undefined;
|
|
688
|
-
shareScope?: string | undefined;
|
|
689
|
-
}> | undefined;
|
|
690
|
-
} | undefined;
|
|
692
|
+
};
|
|
693
|
+
domain?: string | undefined;
|
|
694
|
+
title?: string | undefined;
|
|
695
|
+
description?: string | undefined;
|
|
696
|
+
repository?: string | undefined;
|
|
691
697
|
auth?: {
|
|
692
698
|
name: string;
|
|
693
699
|
url: string;
|
|
@@ -705,6 +711,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
705
711
|
to?: string | undefined;
|
|
706
712
|
roleRequired?: "anon" | "member" | "admin" | undefined;
|
|
707
713
|
}[] | undefined;
|
|
714
|
+
shared?: Record<string, {
|
|
715
|
+
version: string;
|
|
716
|
+
requiredVersion?: string | undefined;
|
|
717
|
+
singleton?: boolean | undefined;
|
|
718
|
+
eager?: boolean | undefined;
|
|
719
|
+
strictVersion?: boolean | undefined;
|
|
720
|
+
shareScope?: string | undefined;
|
|
721
|
+
}> | undefined;
|
|
708
722
|
} | undefined;
|
|
709
723
|
plugins?: Record<string, {
|
|
710
724
|
name: string;
|
|
@@ -717,6 +731,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
717
731
|
variables?: Record<string, JsonValue> | undefined;
|
|
718
732
|
secrets?: string[] | undefined;
|
|
719
733
|
integrity?: string | undefined;
|
|
734
|
+
shared?: Record<string, {
|
|
735
|
+
version: string;
|
|
736
|
+
requiredVersion?: string | undefined;
|
|
737
|
+
singleton?: boolean | undefined;
|
|
738
|
+
eager?: boolean | undefined;
|
|
739
|
+
strictVersion?: boolean | undefined;
|
|
740
|
+
shareScope?: string | undefined;
|
|
741
|
+
}> | undefined;
|
|
720
742
|
ui?: {
|
|
721
743
|
name: string;
|
|
722
744
|
url: string;
|
package/dist/plugin.d.mts
CHANGED
|
@@ -65,8 +65,8 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
65
65
|
interactive: z.ZodOptional<z.ZodBoolean>;
|
|
66
66
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
67
|
status: z.ZodEnum<{
|
|
68
|
-
error: "error";
|
|
69
68
|
started: "started";
|
|
69
|
+
error: "error";
|
|
70
70
|
}>;
|
|
71
71
|
description: z.ZodString;
|
|
72
72
|
processes: z.ZodArray<z.ZodString>;
|
|
@@ -94,8 +94,8 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
94
94
|
deploy: z.ZodDefault<z.ZodBoolean>;
|
|
95
95
|
}, z.core.$strip>, z.ZodObject<{
|
|
96
96
|
status: z.ZodEnum<{
|
|
97
|
-
success: "success";
|
|
98
97
|
error: "error";
|
|
98
|
+
success: "success";
|
|
99
99
|
}>;
|
|
100
100
|
built: z.ZodArray<z.ZodString>;
|
|
101
101
|
skipped: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -124,14 +124,6 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
124
124
|
service: z.ZodString;
|
|
125
125
|
}, z.core.$strip>>;
|
|
126
126
|
}, z.core.$strip>>;
|
|
127
|
-
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
128
|
-
version: z.ZodString;
|
|
129
|
-
requiredVersion: z.ZodOptional<z.ZodString>;
|
|
130
|
-
singleton: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
-
eager: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
-
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
-
shareScope: z.ZodOptional<z.ZodString>;
|
|
134
|
-
}, z.core.$strip>>>>;
|
|
135
127
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
136
128
|
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
137
129
|
development: z.ZodOptional<z.ZodString>;
|
|
@@ -156,16 +148,16 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
156
148
|
}>>;
|
|
157
149
|
}, z.core.$strip>>>;
|
|
158
150
|
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
159
|
-
|
|
160
|
-
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
161
|
-
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
151
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
162
152
|
version: z.ZodString;
|
|
163
153
|
requiredVersion: z.ZodOptional<z.ZodString>;
|
|
164
154
|
singleton: z.ZodOptional<z.ZodBoolean>;
|
|
165
155
|
eager: z.ZodOptional<z.ZodBoolean>;
|
|
166
156
|
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
167
157
|
shareScope: z.ZodOptional<z.ZodString>;
|
|
168
|
-
}, z.core.$strip
|
|
158
|
+
}, z.core.$strip>>>;
|
|
159
|
+
version: z.ZodOptional<z.ZodString>;
|
|
160
|
+
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
169
161
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
170
162
|
}, z.core.$strip>]>>>;
|
|
171
163
|
app: z.ZodObject<{
|
|
@@ -182,7 +174,7 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
182
174
|
integrity: z.ZodOptional<z.ZodString>;
|
|
183
175
|
ssr: z.ZodOptional<z.ZodString>;
|
|
184
176
|
ssrIntegrity: z.ZodOptional<z.ZodString>;
|
|
185
|
-
}, z.core.$
|
|
177
|
+
}, z.core.$strict>;
|
|
186
178
|
api: z.ZodObject<{
|
|
187
179
|
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
188
180
|
development: z.ZodOptional<z.ZodString>;
|
|
@@ -207,6 +199,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
207
199
|
}>>;
|
|
208
200
|
}, z.core.$strip>>>;
|
|
209
201
|
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
202
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
203
|
+
version: z.ZodString;
|
|
204
|
+
requiredVersion: z.ZodOptional<z.ZodString>;
|
|
205
|
+
singleton: z.ZodOptional<z.ZodBoolean>;
|
|
206
|
+
eager: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
shareScope: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strip>>>;
|
|
210
210
|
}, z.core.$strip>;
|
|
211
211
|
auth: z.ZodOptional<z.ZodObject<{
|
|
212
212
|
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -232,6 +232,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
232
232
|
}>>;
|
|
233
233
|
}, z.core.$strip>>>;
|
|
234
234
|
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
235
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
236
|
+
version: z.ZodString;
|
|
237
|
+
requiredVersion: z.ZodOptional<z.ZodString>;
|
|
238
|
+
singleton: z.ZodOptional<z.ZodBoolean>;
|
|
239
|
+
eager: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
+
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
241
|
+
shareScope: z.ZodOptional<z.ZodString>;
|
|
242
|
+
}, z.core.$strip>>>;
|
|
235
243
|
}, z.core.$strip>>;
|
|
236
244
|
}, z.core.$strip>;
|
|
237
245
|
}, z.core.$strip>]>>;
|
|
@@ -381,10 +389,10 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
381
389
|
source: z.ZodOptional<z.ZodString>;
|
|
382
390
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
383
391
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
384
|
-
plugins: "plugins";
|
|
385
|
-
ui: "ui";
|
|
386
392
|
host: "host";
|
|
393
|
+
ui: "ui";
|
|
387
394
|
api: "api";
|
|
395
|
+
plugins: "plugins";
|
|
388
396
|
}>>>;
|
|
389
397
|
noInteractive: z.ZodDefault<z.ZodBoolean>;
|
|
390
398
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -400,10 +408,10 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
400
408
|
extends: z.ZodString;
|
|
401
409
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
402
410
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
403
|
-
plugins: "plugins";
|
|
404
|
-
ui: "ui";
|
|
405
411
|
host: "host";
|
|
412
|
+
ui: "ui";
|
|
406
413
|
api: "api";
|
|
414
|
+
plugins: "plugins";
|
|
407
415
|
}>>>;
|
|
408
416
|
filesCopied: z.ZodNumber;
|
|
409
417
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -487,14 +495,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
487
495
|
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
488
496
|
typesGen: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
|
|
489
497
|
env: z.ZodOptional<z.ZodEnum<{
|
|
490
|
-
development: "development";
|
|
491
498
|
production: "production";
|
|
499
|
+
development: "development";
|
|
492
500
|
}>>;
|
|
493
501
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
494
502
|
}, z.core.$strip>, z.ZodObject<{
|
|
495
503
|
status: z.ZodEnum<{
|
|
496
|
-
success: "success";
|
|
497
504
|
error: "error";
|
|
505
|
+
success: "success";
|
|
498
506
|
}>;
|
|
499
507
|
generated: z.ZodArray<z.ZodString>;
|
|
500
508
|
fetched: z.ZodArray<z.ZodString>;
|
|
@@ -546,6 +554,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
546
554
|
roleRequired?: "anon" | "member" | "admin" | undefined;
|
|
547
555
|
}[] | undefined;
|
|
548
556
|
routes?: string[] | undefined;
|
|
557
|
+
shared?: Record<string, {
|
|
558
|
+
version: string;
|
|
559
|
+
requiredVersion?: string | undefined;
|
|
560
|
+
singleton?: boolean | undefined;
|
|
561
|
+
eager?: boolean | undefined;
|
|
562
|
+
strictVersion?: boolean | undefined;
|
|
563
|
+
shareScope?: string | undefined;
|
|
564
|
+
}> | undefined;
|
|
549
565
|
};
|
|
550
566
|
auth?: {
|
|
551
567
|
extends?: string | {
|
|
@@ -567,6 +583,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
567
583
|
roleRequired?: "anon" | "member" | "admin" | undefined;
|
|
568
584
|
}[] | undefined;
|
|
569
585
|
routes?: string[] | undefined;
|
|
586
|
+
shared?: Record<string, {
|
|
587
|
+
version: string;
|
|
588
|
+
requiredVersion?: string | undefined;
|
|
589
|
+
singleton?: boolean | undefined;
|
|
590
|
+
eager?: boolean | undefined;
|
|
591
|
+
strictVersion?: boolean | undefined;
|
|
592
|
+
shareScope?: string | undefined;
|
|
593
|
+
}> | undefined;
|
|
570
594
|
} | undefined;
|
|
571
595
|
};
|
|
572
596
|
extends?: string | {
|
|
@@ -587,14 +611,6 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
587
611
|
service: string;
|
|
588
612
|
} | undefined;
|
|
589
613
|
} | undefined;
|
|
590
|
-
shared?: Record<string, Record<string, {
|
|
591
|
-
version: string;
|
|
592
|
-
requiredVersion?: string | undefined;
|
|
593
|
-
singleton?: boolean | undefined;
|
|
594
|
-
eager?: boolean | undefined;
|
|
595
|
-
strictVersion?: boolean | undefined;
|
|
596
|
-
shareScope?: string | undefined;
|
|
597
|
-
}>> | undefined;
|
|
598
614
|
plugins?: Record<string, string | {
|
|
599
615
|
extends?: string | {
|
|
600
616
|
development?: string | undefined;
|
|
@@ -615,21 +631,21 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
615
631
|
roleRequired?: "anon" | "member" | "admin" | undefined;
|
|
616
632
|
}[] | undefined;
|
|
617
633
|
routes?: string[] | undefined;
|
|
618
|
-
|
|
619
|
-
app?: Record<string, unknown> | undefined;
|
|
620
|
-
shared?: Record<string, Record<string, {
|
|
634
|
+
shared?: Record<string, {
|
|
621
635
|
version: string;
|
|
622
636
|
requiredVersion?: string | undefined;
|
|
623
637
|
singleton?: boolean | undefined;
|
|
624
638
|
eager?: boolean | undefined;
|
|
625
639
|
strictVersion?: boolean | undefined;
|
|
626
640
|
shareScope?: string | undefined;
|
|
627
|
-
}
|
|
641
|
+
}> | undefined;
|
|
642
|
+
version?: string | undefined;
|
|
643
|
+
app?: Record<string, unknown> | undefined;
|
|
628
644
|
plugins?: Record<string, unknown> | undefined;
|
|
629
645
|
}> | undefined;
|
|
630
646
|
} | null;
|
|
631
647
|
runtimeConfig: {
|
|
632
|
-
env: "
|
|
648
|
+
env: "production" | "staging" | "development";
|
|
633
649
|
account: string;
|
|
634
650
|
networkId: "testnet" | "mainnet";
|
|
635
651
|
host: {
|
|
@@ -665,13 +681,7 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
665
681
|
proxy?: string | undefined;
|
|
666
682
|
variables?: Record<string, JsonValue> | undefined;
|
|
667
683
|
secrets?: string[] | undefined;
|
|
668
|
-
|
|
669
|
-
domain?: string | undefined;
|
|
670
|
-
title?: string | undefined;
|
|
671
|
-
description?: string | undefined;
|
|
672
|
-
repository?: string | undefined;
|
|
673
|
-
shared?: {
|
|
674
|
-
ui?: Record<string, {
|
|
684
|
+
shared?: Record<string, {
|
|
675
685
|
version: string;
|
|
676
686
|
requiredVersion?: string | undefined;
|
|
677
687
|
singleton?: boolean | undefined;
|
|
@@ -679,15 +689,11 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
679
689
|
strictVersion?: boolean | undefined;
|
|
680
690
|
shareScope?: string | undefined;
|
|
681
691
|
}> | undefined;
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
strictVersion?: boolean | undefined;
|
|
688
|
-
shareScope?: string | undefined;
|
|
689
|
-
}> | undefined;
|
|
690
|
-
} | undefined;
|
|
692
|
+
};
|
|
693
|
+
domain?: string | undefined;
|
|
694
|
+
title?: string | undefined;
|
|
695
|
+
description?: string | undefined;
|
|
696
|
+
repository?: string | undefined;
|
|
691
697
|
auth?: {
|
|
692
698
|
name: string;
|
|
693
699
|
url: string;
|
|
@@ -705,6 +711,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
705
711
|
to?: string | undefined;
|
|
706
712
|
roleRequired?: "anon" | "member" | "admin" | undefined;
|
|
707
713
|
}[] | undefined;
|
|
714
|
+
shared?: Record<string, {
|
|
715
|
+
version: string;
|
|
716
|
+
requiredVersion?: string | undefined;
|
|
717
|
+
singleton?: boolean | undefined;
|
|
718
|
+
eager?: boolean | undefined;
|
|
719
|
+
strictVersion?: boolean | undefined;
|
|
720
|
+
shareScope?: string | undefined;
|
|
721
|
+
}> | undefined;
|
|
708
722
|
} | undefined;
|
|
709
723
|
plugins?: Record<string, {
|
|
710
724
|
name: string;
|
|
@@ -717,6 +731,14 @@ declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
|
|
|
717
731
|
variables?: Record<string, JsonValue> | undefined;
|
|
718
732
|
secrets?: string[] | undefined;
|
|
719
733
|
integrity?: string | undefined;
|
|
734
|
+
shared?: Record<string, {
|
|
735
|
+
version: string;
|
|
736
|
+
requiredVersion?: string | undefined;
|
|
737
|
+
singleton?: boolean | undefined;
|
|
738
|
+
eager?: boolean | undefined;
|
|
739
|
+
strictVersion?: boolean | undefined;
|
|
740
|
+
shareScope?: string | undefined;
|
|
741
|
+
}> | undefined;
|
|
720
742
|
ui?: {
|
|
721
743
|
name: string;
|
|
722
744
|
url: string;
|
package/dist/plugin.mjs
CHANGED
|
@@ -11,8 +11,8 @@ import { ensureEnvFile, loadProjectEnv, syncGeneratedInfra, writeGeneratedInfra
|
|
|
11
11
|
import { saveBosConfig } from "./utils/save-config.mjs";
|
|
12
12
|
import { buildInitPatterns, copyFilteredFiles, detectGitRemoteUrl, fetchParentConfig, generateDatabaseMigrations, personalizeConfig, removeInitLockfile, resolveSourceDir, runBunInstall, runTypesGen, scaffoldMinimalProject, stripOrphanedWorkspacesFromLockfile, writeInitSnapshot } from "./cli/init.mjs";
|
|
13
13
|
import { getStatus } from "./cli/status.mjs";
|
|
14
|
+
import { syncResolvedSharedDeps } from "./shared-deps.mjs";
|
|
14
15
|
import { syncTemplate } from "./cli/sync.mjs";
|
|
15
|
-
import { syncAndGenerateSharedUi } from "./shared.mjs";
|
|
16
16
|
import { upgradeTemplate } from "./cli/upgrade.mjs";
|
|
17
17
|
import { colors } from "./utils/theme.mjs";
|
|
18
18
|
import { addFunctionCallAccessKey, ensureNearCli, executeTransaction, resolveNearSigningMode } from "./near-cli.mjs";
|
|
@@ -297,7 +297,7 @@ async function buildWorkspaceTargets(opts) {
|
|
|
297
297
|
built: [],
|
|
298
298
|
skipped
|
|
299
299
|
};
|
|
300
|
-
if ((await
|
|
300
|
+
if ((await syncResolvedSharedDeps({
|
|
301
301
|
configDir: opts.configDir,
|
|
302
302
|
hostMode: "local",
|
|
303
303
|
bosConfig: opts.bosConfig ?? void 0,
|
|
@@ -520,7 +520,7 @@ var plugin_default = createPlugin({
|
|
|
520
520
|
const authSource = localPackages.includes("auth") ? parseSourceMode(input.auth, "local") : "remote";
|
|
521
521
|
const ssr = input.ssr ?? false;
|
|
522
522
|
const proxy = input.proxy ?? false;
|
|
523
|
-
if ((await
|
|
523
|
+
if ((await syncResolvedSharedDeps({
|
|
524
524
|
configDir: deps.configDir,
|
|
525
525
|
hostMode: hostSource,
|
|
526
526
|
bosConfig: deps.bosConfig ?? void 0,
|
|
@@ -1095,6 +1095,10 @@ var plugin_default = createPlugin({
|
|
|
1095
1095
|
plugins
|
|
1096
1096
|
}));
|
|
1097
1097
|
}
|
|
1098
|
+
await timePhase(timings, "sync shared deps", () => syncResolvedSharedDeps({
|
|
1099
|
+
configDir: targetDir,
|
|
1100
|
+
hostMode: "local"
|
|
1101
|
+
}));
|
|
1098
1102
|
const lockfilePath = join(targetDir, "bun.lock");
|
|
1099
1103
|
stripOrphanedWorkspacesFromLockfile(lockfilePath, computeAllowedWorkspaces(overrides, plugins));
|
|
1100
1104
|
removeInitLockfile(lockfilePath);
|
|
@@ -1366,7 +1370,9 @@ async function publishToFastKv(input) {
|
|
|
1366
1370
|
console.log(" Publishing to:");
|
|
1367
1371
|
console.log(` ${colors.cyan(registryUrl)}`);
|
|
1368
1372
|
try {
|
|
1373
|
+
console.log(" Ensuring NEAR CLI...");
|
|
1369
1374
|
await Effect.runPromise(ensureNearCli);
|
|
1375
|
+
console.log(" NEAR CLI ready");
|
|
1370
1376
|
let txHash;
|
|
1371
1377
|
console.log(` Submitting transaction on ${network}...`);
|
|
1372
1378
|
try {
|