Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ImportOptions

Index

Properties

dir?: string

The path to the app to be imported

interactive?: boolean

Whether to use sensible defaults or prompt the user visually

outDir?: string

The path to the directory containing generated distributables

Methods

  • confirmImport(): Promise<boolean>
  • An async function that returns true or false in order to confirm the start of importing

    Returns Promise<boolean>

  • shouldContinueOnExisting(): Promise<boolean>
  • An async function that returns whether the import should continue if it looks like a forge project already

    Returns Promise<boolean>

  • shouldRemoveDependency(dependency: string, explanation: string): Promise<boolean>
  • An async function that returns whether the given dependency should be removed

    Parameters

    • dependency: string
    • explanation: string

    Returns Promise<boolean>

  • shouldUpdateScript(scriptName: string, newValue: string): Promise<boolean>
  • An async function that returns whether the given script should be overridden with a forge one

    Parameters

    • scriptName: string
    • newValue: string

    Returns Promise<boolean>