mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 09:20:01 +02:00
🔥 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:
parent
9034d4430a
commit
8d19aa123d
3 changed files with 3 additions and 16 deletions
|
@ -21,8 +21,9 @@ import {
|
||||||
walkDirectoryTree,
|
walkDirectoryTree,
|
||||||
} from '../utils'
|
} from '../utils'
|
||||||
import { downloadFileToLocation } from '../utils/download'
|
import { downloadFileToLocation } from '../utils/download'
|
||||||
import { discard, init } from '.'
|
|
||||||
import { readItem, writeItem } from '../utils/store'
|
import { readItem, writeItem } from '../utils/store'
|
||||||
|
import { discard } from './discard'
|
||||||
|
import { init } from './init'
|
||||||
|
|
||||||
const gFFVersion = getConfig().version.version
|
const gFFVersion = getConfig().version.version
|
||||||
|
|
||||||
|
|
|
@ -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'
|
|
|
@ -13,7 +13,6 @@ import { every } from 'modern-async'
|
||||||
import { dirname, extname, join } from 'path'
|
import { dirname, extname, join } from 'path'
|
||||||
import sharp from 'sharp'
|
import sharp from 'sharp'
|
||||||
|
|
||||||
import { templateDir } from '..'
|
|
||||||
import { config, log } from '../..'
|
import { config, log } from '../..'
|
||||||
import { CONFIGS_DIR, ENGINE_DIR } from '../../constants'
|
import { CONFIGS_DIR, ENGINE_DIR } from '../../constants'
|
||||||
import {
|
import {
|
||||||
|
@ -25,6 +24,7 @@ import {
|
||||||
stringTemplate,
|
stringTemplate,
|
||||||
walkDirectory,
|
walkDirectory,
|
||||||
} from '../../utils'
|
} from '../../utils'
|
||||||
|
import { templateDir } from '../setupProject'
|
||||||
import { IMelonPatch } from './command'
|
import { IMelonPatch } from './command'
|
||||||
|
|
||||||
// =============================================================================
|
// =============================================================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue