vovk-cli 0.0.1-draft.123 → 0.0.1-draft.125

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.
@@ -1,6 +1,6 @@
1
1
  import type { VovkSegmentSchema } from 'vovk';
2
2
  import { type DiffResult } from './diffSegmentSchema.mjs';
3
- export declare const ROOT_SEGMENT_SCHEMA_NAME = "_root";
3
+ export declare const ROOT_SEGMENT_SCHEMA_NAME = "root";
4
4
  export declare const SEGMENTS_SCHEMA_DIR_NAME = "segments";
5
5
  export default function writeOneSegmentSchemaFile({ schemaOutAbsolutePath, segmentSchema, skipIfExists, }: {
6
6
  schemaOutAbsolutePath: string;
@@ -2,7 +2,7 @@ import path from 'node:path';
2
2
  import fs from 'node:fs/promises';
3
3
  import diffSegmentSchema from './diffSegmentSchema.mjs';
4
4
  import getFileSystemEntryType from '../utils/getFileSystemEntryType.mjs';
5
- export const ROOT_SEGMENT_SCHEMA_NAME = '_root';
5
+ export const ROOT_SEGMENT_SCHEMA_NAME = 'root';
6
6
  export const SEGMENTS_SCHEMA_DIR_NAME = 'segments';
7
7
  export default async function writeOneSegmentSchemaFile({ schemaOutAbsolutePath, segmentSchema, skipIfExists = false, }) {
8
8
  const segmentPath = path.join(schemaOutAbsolutePath, SEGMENTS_SCHEMA_DIR_NAME, `${segmentSchema.segmentName || ROOT_SEGMENT_SCHEMA_NAME}.json`);
@@ -1,5 +1,5 @@
1
1
  import { readFile, access } from 'node:fs/promises';
2
- import * as path from 'node:path';
2
+ import path from 'node:path';
3
3
  import { glob } from 'glob';
4
4
  export async function getFullSchemaFromJSON(schemaOutAbsolutePath, projectInfo) {
5
5
  const result = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-cli",
3
- "version": "0.0.1-draft.123",
3
+ "version": "0.0.1-draft.125",
4
4
  "bin": {
5
5
  "vovk": "./dist/index.mjs"
6
6
  },