Fix git casing, esm bug.

This commit is contained in:
Daniel Scalzi
2023-03-18 16:56:10 -04:00
parent b55b7af689
commit 71c2e9baa0
10 changed files with 4 additions and 1 deletions

View File

@@ -2,13 +2,16 @@ import { mkdirs, pathExists, remove } from 'fs-extra/esm'
import { writeFile } from 'fs/promises'
import { join, resolve } from 'path'
import { createGenerator } from 'ts-json-schema-generator'
import { URL } from 'url'
import { URL, fileURLToPath } from 'url'
import { DistroMeta } from '../model/nebula/DistroMeta.js'
import { ServerMeta } from '../model/nebula/ServerMeta.js'
import { LoggerUtil } from './LoggerUtil.js'
const logger = LoggerUtil.getLogger('SchemaUtil')
const __filename = fileURLToPath(import.meta.url)
const __dirname = fileURLToPath(new URL('.', import.meta.url))
interface SchemaType {
/**
* URL to the JSON schema for this type of file.