Options
All
  • Public
  • Public/Protected
  • All
Menu

lerna-templater

Index

Type aliases

Functions

Type aliases

TemplaterOptions

TemplaterOptions: { description?: string; name: string; packages?: string; scope?: string; template?: string }

Type declaration

  • Optional description?: string

    The description of the new pacakge.

  • name: string

    The name of the new package.

  • Optional packages?: string

    The path of the package (output) directory.

  • Optional scope?: string

    The scope of the new package.

  • Optional template?: string

    The path of the template (input) directory.

Functions

templater

  • Generates a new package from cwd/options.template directory into cwd/options.packages/options.name directory.

    Parameters

    • cwd: string

      The current working directory.

    • options: TemplaterOptions

      The options for templater.

    Returns void

Generated using TypeDoc