Go to repository

Function eject

Eject all the general configuration files to the root project. This includes configuration files for Typescript, Typedoc, JEST, Rollup, and nps. This command is intended to be run locally. If force is added, all previously created local files are updated to their latest version. If not, only missing files are copied.

Parameters

  • file: string = 'all'

    The file name to update, or "all" if all should be updated (Defaults to "all").

  • Optional
    force: boolean

    Whether to force the ejection of files, that is, override already present files in the project with their newest version (Defaults to false).

  • Optional
    projectType: string

    The project type to eject from (Defaults to "library").

Returns string[]

The list of updated files.