vovk-cli 0.0.1-draft.396 → 0.0.1-draft.397
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.
|
@@ -146,7 +146,11 @@ export async function generate({ isEnsuringClient = false, isBundle = false, pro
|
|
|
146
146
|
config: projectInfo.config,
|
|
147
147
|
rootEntry: config.rootEntry,
|
|
148
148
|
schema: fullSchema,
|
|
149
|
-
outputConfigs: [
|
|
149
|
+
outputConfigs: [
|
|
150
|
+
config.composedClient.outputConfig ?? {},
|
|
151
|
+
templateDef.outputConfig ?? {},
|
|
152
|
+
{ origin: cliGenerateOptions?.origin },
|
|
153
|
+
],
|
|
150
154
|
projectPackageJson,
|
|
151
155
|
isBundle,
|
|
152
156
|
segmentName: null,
|
|
@@ -234,7 +238,11 @@ export async function generate({ isEnsuringClient = false, isBundle = false, pro
|
|
|
234
238
|
schema: fullSchema,
|
|
235
239
|
rootEntry: config.rootEntry,
|
|
236
240
|
segmentName,
|
|
237
|
-
outputConfigs: [
|
|
241
|
+
outputConfigs: [
|
|
242
|
+
config.segmentedClient.outputConfig ?? {},
|
|
243
|
+
templateDef.outputConfig ?? {},
|
|
244
|
+
{ origin: cliGenerateOptions?.origin },
|
|
245
|
+
],
|
|
238
246
|
isBundle,
|
|
239
247
|
projectPackageJson,
|
|
240
248
|
});
|
|
@@ -25,6 +25,11 @@ export default function getConfig({ configPath, cwd, logLevel, }: {
|
|
|
25
25
|
outDir?: string;
|
|
26
26
|
fromTemplates?: string[];
|
|
27
27
|
prettifyClient?: boolean;
|
|
28
|
+
outputConfig?: import("vovk").VovkOutputConfig<{
|
|
29
|
+
fetcher?: string | [string, string] | [string];
|
|
30
|
+
validateOnClient?: string | [string, string] | [string] | null;
|
|
31
|
+
createRPC?: string | [string, string] | [string];
|
|
32
|
+
}>;
|
|
28
33
|
} & ({
|
|
29
34
|
excludeSegments?: never;
|
|
30
35
|
includeSegments?: string[];
|
|
@@ -37,6 +42,11 @@ export default function getConfig({ configPath, cwd, logLevel, }: {
|
|
|
37
42
|
outDir?: string;
|
|
38
43
|
fromTemplates?: string[];
|
|
39
44
|
prettifyClient?: boolean;
|
|
45
|
+
outputConfig?: import("vovk").VovkOutputConfig<{
|
|
46
|
+
fetcher?: string | [string, string] | [string];
|
|
47
|
+
validateOnClient?: string | [string, string] | [string] | null;
|
|
48
|
+
createRPC?: string | [string, string] | [string];
|
|
49
|
+
}>;
|
|
40
50
|
} & ({
|
|
41
51
|
excludeSegments?: never;
|
|
42
52
|
includeSegments?: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vovk-cli",
|
|
3
|
-
"version": "0.0.1-draft.
|
|
3
|
+
"version": "0.0.1-draft.397",
|
|
4
4
|
"bin": {
|
|
5
5
|
"vovk": "./dist/index.mjs"
|
|
6
6
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://vovk.dev",
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"vovk": "^3.0.0-draft.
|
|
38
|
+
"vovk": "^3.0.0-draft.473",
|
|
39
39
|
"vovk-ajv": "^0.0.0-draft.113",
|
|
40
40
|
"vovk-client": "^0.0.4-draft.140",
|
|
41
41
|
"vovk-python": "^0.0.1-draft.82",
|