vovk-cli 0.0.1-draft.353 → 0.0.1-draft.355
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/bundle/index.mjs
CHANGED
|
@@ -47,6 +47,7 @@ export async function bundle({ projectInfo, fullSchema, cliBundleOptions, }) {
|
|
|
47
47
|
entry: path.join(tsFullClientOutAbsoluteDirInput, './index.ts'),
|
|
48
48
|
dts: true,
|
|
49
49
|
format: ['cjs', 'esm'],
|
|
50
|
+
hash: false,
|
|
50
51
|
fixedExtension: true,
|
|
51
52
|
clean: true,
|
|
52
53
|
...bundleConfig.tsdownBuildOptions,
|
|
@@ -49,7 +49,7 @@ export default function getConfig({ configPath, cwd, logLevel, }: {
|
|
|
49
49
|
prebundleOutDir?: string;
|
|
50
50
|
keepPrebundleDir?: boolean;
|
|
51
51
|
tsdownBuildOptions?: Parameters<typeof import("tsdown/index.mjs").build>[0];
|
|
52
|
-
generatorConfig?: import("vovk").
|
|
52
|
+
generatorConfig?: import("vovk").VovkGeneratorConfig;
|
|
53
53
|
} & ({
|
|
54
54
|
excludeSegments?: never;
|
|
55
55
|
includeSegments?: string[];
|
|
@@ -64,7 +64,9 @@ export default function getConfig({ configPath, cwd, logLevel, }: {
|
|
|
64
64
|
controller?: string;
|
|
65
65
|
[key: string]: string | undefined;
|
|
66
66
|
};
|
|
67
|
-
generatorConfig?: import("vovk").VovkGeneratorConfig
|
|
67
|
+
generatorConfig?: import("vovk").VovkGeneratorConfig & {
|
|
68
|
+
segments?: Record<string, import("vovk/types").VovkSegmentConfig>;
|
|
69
|
+
};
|
|
68
70
|
} | null;
|
|
69
71
|
log: {
|
|
70
72
|
info: (msg: string) => void;
|
package/dist/index.mjs
CHANGED
|
@@ -94,7 +94,7 @@ program
|
|
|
94
94
|
.option('--schema, --schema-path <path>', 'path to schema folder (default: ./.vovk-schema)')
|
|
95
95
|
.option('--config, --config-path <config>', 'path to config file')
|
|
96
96
|
.option('--origin <url>', 'set the origin URL for the generated client')
|
|
97
|
-
.option('--watch <s>', 'watch for changes in schema or openapi spec and regenerate client; accepts a number in seconds to throttle the watcher or make an HTTP request to the OpenAPI spec URL')
|
|
97
|
+
.option('--watch <s>', 'watch for changes in schema or openapi spec and regenerate client; accepts a number in seconds to throttle the watcher or make an HTTP request to the OpenAPI spec URL', false)
|
|
98
98
|
.option('--openapi, --openapi-spec <openapi_path_or_urls...>', 'use OpenAPI schema for client generation')
|
|
99
99
|
.option('--openapi-module-name, --openapi-get-module-name <names...>', 'module names corresponding to the index of --openapi option')
|
|
100
100
|
.option('--openapi-method-name, --openapi-get-method-name <names...>', 'method names corresponding to the index of --openapi option')
|