vovk 0.2.3-beta.59 → 0.2.3-beta.60
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/cli/index.js +2 -2
- package/package.json +1 -1
package/cli/index.js
CHANGED
|
@@ -22,7 +22,7 @@ const builder = {
|
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
/** @type {{
|
|
25
|
+
/** @type {{ vovkrc: string, project: string }} */
|
|
26
26
|
// @ts-expect-error yargs
|
|
27
27
|
const argv = yargs(hideBin(process.argv)) // @ts-expect-error yargs
|
|
28
28
|
.command('dev', 'Run development server', builder) // @ts-expect-error yargs
|
|
@@ -31,7 +31,7 @@ const argv = yargs(hideBin(process.argv)) // @ts-expect-error yargs
|
|
|
31
31
|
|
|
32
32
|
const nextArgs = process.argv.join(' ').split(' -- ')[1] ?? '';
|
|
33
33
|
|
|
34
|
-
const env = getVars(argv.
|
|
34
|
+
const env = getVars(argv.vovkrc);
|
|
35
35
|
|
|
36
36
|
let VOVK_PORT = parseInt(env.VOVK_PORT);
|
|
37
37
|
|