vovk-cli 0.0.3 → 0.0.4
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 +3 -0
- package/package.json +1 -1
package/dist/dev/index.mjs
CHANGED
|
@@ -171,6 +171,9 @@ export class VovkDev {
|
|
|
171
171
|
const schemaOutAbsolutePath = path.join(cwd, this.#schemaOut ?? this.#projectInfo.config.schemaOutDir);
|
|
172
172
|
if (isInitial) {
|
|
173
173
|
callback();
|
|
174
|
+
if (!this.#segments.length) {
|
|
175
|
+
log.info(`Create a root segment with ${chalkHighlightThing('npx vovk new segment')} command`);
|
|
176
|
+
}
|
|
174
177
|
}
|
|
175
178
|
else {
|
|
176
179
|
log.info('Config file has been updated');
|