Adds linting configuration to an Angular project.
@nx/angular:generators | Nx
Generator References
Here is a list of all generator available for this package.
add-lintingInternal
Creates an Angular application.
Generate an Angular Component.
component-cypress-specInternal
Creates a Cypress spec for a UI component that has a story.
component-storyInternal
Creates a stories.ts file for a component.
Creates a cypress component test file for a component.
Generate an Angular directive.
initInternal
Initializes the
@nrwl/angular
plugin.Creates an Angular library.
Creates a secondary entry point for an Angular publishable library.
Generate a Remote Angular Module Federation Application.
Moves an Angular application or library to another folder within the workspace and updates the project configuration.
Converts an old micro frontend configuration to use the new withModuleFederation helper. It will run successfully if the following conditions are met:
- Is either a host or remote application
- Shared npm package configurations have not been modified
- Name used to identify the Micro Frontend application matches the project name
OverridesThis generator will overwrite your webpack config. If you have additional custom configuration in your config file, it will be lost!
Generate a Host Angular Module Federation Application.
ng-addInternal
Migrates an Angular CLI workspace to Nx or adds the Angular plugin to an Nx workspace.
Adds NgRx support to an application or library.
Adds an NgRx Feature Store to an application or library.
Adds an NgRx Root Store to an application.
Generate an Angular Pipe
Convert an existing Single Component Angular Module (SCAM) to a Standalone Component.
Generate a component with an accompanying Single Component Angular Module (SCAM).
Generate a directive with an accompanying Single Component Angular Module (SCAM).
Generate a pipe with an accompanying Single Component Angular Module (SCAM).
Generate a Module Federation configuration for a given Angular application.
Generate Angular Universal (SSR) setup for an Angular application.
Configures Tailwind CSS for an application or a buildable/publishable library.
Creates stories/specs for all components declared in a project.
Adds Storybook configuration to a project.
cypress-component-configuration
Setup Cypress component testing for a project.
Creates a Web Worker.