Go to repository

Function run

Run a command using nps. nps allows to run different scripts configured, such as scripts for linting, prettyfing, testing, generating documentation, running in development mode, and others.

Parameters

  • command: string

    The nps command to execute.

  • userArgs: string[] = []

    The nps command additional arguments.

  • Optional
    projectType: string

    The project type to use as configuration (Defaults to "library").

  • Optional
    packageManager: string

    The package manager to use when running commands.

  • Optional
    usePlainTsConfig: boolean

    Wether to use the plain tsconfig.json in project folder instead of generating one from .js file.

Returns void

The list of updated files.