@nrwl/angular:upgrade-module
Sets up an Upgrade Module.
Sets up an Upgrade Module.
Below are some examples of how to generate configuration and setup for using ngUpgrade's UpgradeModule for your application.
nx g @nrwl/angular:upgrade-module --name=myAngularJsModule --project=myapp
nx generate upgrade-module ...
By default, Nx will search for upgrade-module in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:upgrade-module ...
Show what will be generated without writing to disk:
nx g upgrade-module ... --dry-run
The name of the main AngularJS module.
The name of the project.
falseSets up router synchronization (e.g., --router).
Import expression of the AngularJS application (e.g., --angularJsImport=some_node_module/my_app).
The selector of an AngularJS component (e.g., --angularJsCmpSelector=myComponent).
falseSkip formatting files.
falseDo not add @angular/upgrade to package.json (e.g., --skipPackageJson).