Skip to main content

ScaffoldCommand

Hierarchy

  • Command
    • ScaffoldCommand

Index

Constructors

externalconstructor

Properties

dest

dest: string = ''

destDir

destDir: string = ''

force

force: boolean = false

packageManager

packageManager: string = 'yarn'

packagesFolder

packagesFolder: string = 'packages'

skipInstall

skipInstall: boolean = false

optionaltemplate

template?: TemplateType

Methods

addProjectReference

  • addProjectReference(packagePath: string): Promise<void>

checkExistingInfrastructure

  • checkExistingInfrastructure(type: InfraType): Promise<void>

copyFile

  • copyFile(fromTemplate: string, toDest: string, params: Record<string, string | number>): Promise<void>

copyFilesFromTemplate

  • copyFilesFromTemplate(template: string, destDir: string, params: ScaffoldParams | Record<string, string | number>): Promise<void[]>

installDependencies

  • installDependencies(type: InfraType): Promise<void>

loadJsonConfig

  • loadJsonConfig<T>(filePath: string): Promise<T>
  • Type parameters

    • T

run

  • run(dest: string): Promise<undefined | Element>

scaffold

scaffoldMonorepo

scaffoldMonorepoPackage

scaffoldPolyrepo

scaffoldPolyrepoPackage