vovk-cli 0.0.1-draft.36 → 0.0.1-draft.37

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.
@@ -165,7 +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
+ log.info('Ready');
169
169
  }
170
170
  #processControllerChange = async (filePath) => {
171
171
  const { log } = this.#projectInfo;
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import type { VovkConfig, VovkDevEnv } from './types.mjs';
3
2
  import 'dotenv/config';
4
- export type { VovkConfig, VovkDevEnv };
3
+ import type { VovkConfig, VovkEnv } from './types.mjs';
4
+ export type { VovkConfig, VovkEnv };
package/dist/index.mjs CHANGED
@@ -1,6 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import path from 'node:path';
3
3
  import { readFileSync } from 'node:fs';
4
+ import { pathToFileURL } from 'node:url';
5
+ import 'dotenv/config';
4
6
  import { Command } from 'commander';
5
7
  import concurrently from 'concurrently';
6
8
  import getAvailablePort from './utils/getAvailablePort.mjs';
@@ -9,9 +11,7 @@ import generateClient from './generateClient.mjs';
9
11
  import locateSegments from './locateSegments.mjs';
10
12
  import { VovkDev } from './dev/index.mjs';
11
13
  import newComponents from './new/index.mjs';
12
- import 'dotenv/config';
13
14
  import initProgram from './initProgram.mjs';
14
- import { pathToFileURL } from 'node:url';
15
15
  const program = new Command();
16
16
  const packageJSON = JSON.parse(readFileSync(path.join(import.meta.dirname, '../package.json'), 'utf-8'));
17
17
  program.name('vovk').description('Vovk CLI').version(packageJSON.version);
package/dist/types.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { LogLevelNames } from 'loglevel';
2
2
  export type KnownAny = any;
3
- export type VovkDevEnv = {
3
+ export type VovkEnv = {
4
4
  PORT?: string;
5
5
  VOVK_CLIENT_OUT_DIR?: string;
6
6
  VOVK_SCHEMA_OUT_DIR?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-cli",
3
- "version": "0.0.1-draft.36",
3
+ "version": "0.0.1-draft.37",
4
4
  "bin": {
5
5
  "vovk": "./dist/index.mjs"
6
6
  },