nx/docs/angular/api-angular/generators/downgrade-module.md
Craigory V Coppola a1ccc87a07
docs(misc): documentation headers should include collectionName for searchability (#6451)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-07-21 11:40:59 -04:00

951 B

@nrwl/angular:downgrade-module

Sets up a Downgrade Module.

Usage

nx generate downgrade-module ...

By default, Nx will search for downgrade-module in the default collection provisioned in angular.json.

You can specify the collection explicitly as follows:

nx g @nrwl/angular:downgrade-module ...

Show what will be generated without writing to disk:

nx g downgrade-module ... --dry-run

Options

name (required)

Type: string

The name of the main AngularJS module.

project (required)

Type: string

The name of the project.

angularJsImport

Type: string

Import expression of the AngularJS application (e.g., --angularJsImport=some_node_module/my_app).

skipFormat

Default: false

Type: boolean

Skip formatting files.

skipPackageJson

Default: false

Type: boolean

Do not add @angular/upgrade to package.json (e.g., --skipPackageJson).