diff --git a/src/core/index.ts b/src/core.ts similarity index 75% rename from src/core/index.ts rename to src/core.ts index 8290fd4b..49c105a5 100644 --- a/src/core/index.ts +++ b/src/core.ts @@ -2,24 +2,24 @@ import { basename } from "path"; import updateNotifier from "update-notifier"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; -import { version } from ".."; -import { type ConfigData } from "../@types"; -import { type IApi } from "../interfaces/api"; -import { type IBuilder } from "../interfaces/builder"; -import { type IFileSystem } from "../interfaces/filesystem"; -import { type IPrint } from "../interfaces/print"; -import { type IStore } from "../interfaces/store"; -import { type ITemplater } from "../interfaces/templater"; -import REST from "../services/discloud/REST"; -import { UserAgent } from "../services/discloud/UserAgent"; -import ConfigStore from "../stores/Config"; -import FsJsonStore from "../stores/FsJson"; -import YargsBuilder from "../structures/builder/yargs"; -import FileSystem from "../structures/filesystem/fs"; -import ConsolePrint from "../structures/print/console"; -import EjsTemplater from "../structures/templater/ejs"; -import { CLI_CONFIG_FILEPATH, CLI_PACKAGE_NAME, DAY_IN_MILLISECONDS } from "../utils/constants"; -import { joinWithBuildRoot } from "../utils/path"; +import { version } from "."; +import { type ConfigData } from "./@types"; +import { type IApi } from "./interfaces/api"; +import { type IBuilder } from "./interfaces/builder"; +import { type IFileSystem } from "./interfaces/filesystem"; +import { type IPrint } from "./interfaces/print"; +import { type IStore } from "./interfaces/store"; +import { type ITemplater } from "./interfaces/templater"; +import REST from "./services/discloud/REST"; +import { UserAgent } from "./services/discloud/UserAgent"; +import ConfigStore from "./stores/Config"; +import FsJsonStore from "./stores/FsJson"; +import YargsBuilder from "./structures/builder/yargs"; +import FileSystem from "./structures/filesystem/fs"; +import ConsolePrint from "./structures/print/console"; +import EjsTemplater from "./structures/templater/ejs"; +import { CLI_CONFIG_FILEPATH, CLI_PACKAGE_NAME, DAY_IN_MILLISECONDS } from "./utils/constants"; +import { joinWithBuildRoot } from "./utils/path"; export default class Core { readonly api: IApi;