🔥 Remove commands/index.ts

Any files that imported this would have to import **all** of the commands, which is increadably inefficient, so it has been removed
This commit is contained in:
trickypr 2022-03-27 17:07:14 +11:00
parent 9034d4430a
commit 8d19aa123d
3 changed files with 3 additions and 16 deletions

View file

@ -21,8 +21,9 @@ import {
walkDirectoryTree,
} from '../utils'
import { downloadFileToLocation } from '../utils/download'
import { discard, init } from '.'
import { readItem, writeItem } from '../utils/store'
import { discard } from './discard'
import { init } from './init'
const gFFVersion = getConfig().version.version

View file

@ -1,14 +0,0 @@
export * from './bootstrap'
export * from './build'
export * from './discard'
export * from './download'
export * from './execute'
export * from './export-file'
export * from './fix-le'
export * from './init'
export * from './license-check'
export * from './package'
export * from './reset'
export * from './run'
export * from './status'
export * from './setupProject'

View file

@ -13,7 +13,6 @@ import { every } from 'modern-async'
import { dirname, extname, join } from 'path'
import sharp from 'sharp'
import { templateDir } from '..'
import { config, log } from '../..'
import { CONFIGS_DIR, ENGINE_DIR } from '../../constants'
import {
@ -25,6 +24,7 @@ import {
stringTemplate,
walkDirectory,
} from '../../utils'
import { templateDir } from '../setupProject'
import { IMelonPatch } from './command'
// =============================================================================