vovk-cli 0.0.1-draft.35 → 0.0.1-draft.36
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/dev/index.mjs
CHANGED
|
@@ -130,8 +130,8 @@ export class VovkDev {
|
|
|
130
130
|
this.#projectInfo = await getProjectInfo();
|
|
131
131
|
if (!isInitial) {
|
|
132
132
|
log.info('Config file has been updated');
|
|
133
|
-
isInitial = false;
|
|
134
133
|
}
|
|
134
|
+
isInitial = false;
|
|
135
135
|
await this.#modulesWatcher?.close();
|
|
136
136
|
await this.#segmentWatcher?.close();
|
|
137
137
|
this.#watchModules();
|
|
@@ -165,6 +165,7 @@ export class VovkDev {
|
|
|
165
165
|
await ensureClient(this.#projectInfo);
|
|
166
166
|
// automatically watches segments and modules
|
|
167
167
|
this.#watchConfig();
|
|
168
|
+
log.info('Vovk Dev Watcher is ready');
|
|
168
169
|
}
|
|
169
170
|
#processControllerChange = async (filePath) => {
|
|
170
171
|
const { log } = this.#projectInfo;
|
|
@@ -15,7 +15,7 @@ export default async function getConfig({ clientOutDir, cwd }) {
|
|
|
15
15
|
origin: (env.VOVK_ORIGIN ?? conf.origin ?? '').replace(/\/$/, ''), // Remove trailing slash
|
|
16
16
|
rootEntry: env.VOVK_ROOT_ENTRY ?? conf.rootEntry ?? 'api',
|
|
17
17
|
rootSegmentModulesDirName: env.VOVK_ROOT_SEGMENT_MODULES_DIR_NAME ?? conf.rootSegmentModulesDirName ?? '',
|
|
18
|
-
logLevel: env.VOVK_LOG_LEVEL ?? conf.logLevel ?? '
|
|
18
|
+
logLevel: env.VOVK_LOG_LEVEL ?? conf.logLevel ?? 'info',
|
|
19
19
|
prettifyClient: (env.VOVK_PRETTIFY_CLIENT ? !!env.VOVK_PRETTIFY_CLIENT : null) ?? conf.prettifyClient ?? false,
|
|
20
20
|
devHttps: (env.VOVK_DEV_HTTPS ? !!env.VOVK_DEV_HTTPS : null) ?? conf.devHttps ?? false,
|
|
21
21
|
templates: {
|
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.36",
|
|
4
4
|
"bin": {
|
|
5
5
|
"vovk": "./dist/index.mjs"
|
|
6
6
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://vovk.dev",
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"vovk": "^3.0.0-draft.
|
|
39
|
+
"vovk": "^3.0.0-draft.33"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@inquirer/prompts": "^7.1.0",
|