Remove the deprecated functionalities scheduled to be removed in Nx v21. BREAKING CHANGE: Remove the deprecated data persistence operators previously exported in `@nx/angular` and the deprecated testing utils previously exported in `@nx/angular/testing`.
188 lines
8.8 KiB
JSON
188 lines
8.8 KiB
JSON
{
|
|
"name": "Nx Angular",
|
|
"version": "0.1",
|
|
"extends": ["@schematics/angular", "@nx/workspace"],
|
|
"generators": {
|
|
"add-linting": {
|
|
"factory": "./src/generators/add-linting/add-linting",
|
|
"schema": "./src/generators/add-linting/schema.json",
|
|
"description": "Adds linting configuration to an Angular project.",
|
|
"hidden": true
|
|
},
|
|
"application": {
|
|
"factory": "./src/generators/application/application",
|
|
"schema": "./src/generators/application/schema.json",
|
|
"aliases": ["app"],
|
|
"x-type": "application",
|
|
"description": "Creates an Angular application."
|
|
},
|
|
"component": {
|
|
"factory": "./src/generators/component/component",
|
|
"schema": "./src/generators/component/schema.json",
|
|
"aliases": ["c"],
|
|
"description": "Generate an Angular Component."
|
|
},
|
|
"component-story": {
|
|
"factory": "./src/generators/component-story/component-story",
|
|
"schema": "./src/generators/component-story/schema.json",
|
|
"description": "Creates a stories.ts file for a component.",
|
|
"hidden": true
|
|
},
|
|
"component-test": {
|
|
"factory": "./src/generators/component-test/component-test",
|
|
"schema": "./src/generators/component-test/schema.json",
|
|
"description": "Creates a cypress component test file for a component."
|
|
},
|
|
"convert-to-application-executor": {
|
|
"factory": "./src/generators/convert-to-application-executor/convert-to-application-executor",
|
|
"schema": "./src/generators/convert-to-application-executor/schema.json",
|
|
"description": "Converts projects to use the `@nx/angular:application` executor or the `@angular-devkit/build-angular:application` builder."
|
|
},
|
|
"convert-to-rspack": {
|
|
"factory": "./src/generators/convert-to-rspack/convert-to-rspack",
|
|
"schema": "./src/generators/convert-to-rspack/schema.json",
|
|
"description": "Converts Angular Webpack projects to use Rspack."
|
|
},
|
|
"directive": {
|
|
"factory": "./src/generators/directive/directive",
|
|
"schema": "./src/generators/directive/schema.json",
|
|
"aliases": ["d"],
|
|
"description": "Generate an Angular directive."
|
|
},
|
|
"federate-module": {
|
|
"factory": "./src/generators/federate-module/federate-module",
|
|
"schema": "./src/generators/federate-module/schema.json",
|
|
"x-type": "application",
|
|
"description": "Create a federated module, which is exposed by a remote and can be subsequently loaded by a host."
|
|
},
|
|
"init": {
|
|
"factory": "./src/generators/init/init",
|
|
"schema": "./src/generators/init/schema.json",
|
|
"description": "Initializes the `@nrwl/angular` plugin.",
|
|
"hidden": true
|
|
},
|
|
"library": {
|
|
"factory": "./src/generators/library/library",
|
|
"schema": "./src/generators/library/schema.json",
|
|
"aliases": ["lib"],
|
|
"x-type": "library",
|
|
"description": "Creates an Angular library."
|
|
},
|
|
"library-secondary-entry-point": {
|
|
"factory": "./src/generators/library-secondary-entry-point/library-secondary-entry-point",
|
|
"schema": "./src/generators/library-secondary-entry-point/schema.json",
|
|
"aliases": ["secondary-entry-point", "entry-point"],
|
|
"description": "Creates a secondary entry point for an Angular publishable library."
|
|
},
|
|
"remote": {
|
|
"factory": "./src/generators/remote/remote",
|
|
"schema": "./src/generators/remote/schema.json",
|
|
"x-type": "application",
|
|
"description": "Generate a Remote Angular Module Federation Application.",
|
|
"aliases": ["producer"]
|
|
},
|
|
"move": {
|
|
"factory": "./src/generators/move/move#angularMoveGenerator",
|
|
"schema": "./src/generators/move/schema.json",
|
|
"aliases": ["mv"],
|
|
"description": "Moves an Angular application or library to another folder within the workspace and updates the project configuration.",
|
|
"x-deprecated": "Use the `@nx/workspace:move` generator instead. This generator will be removed in Nx v22."
|
|
},
|
|
"convert-to-with-mf": {
|
|
"factory": "./src/generators/convert-to-with-mf/convert-to-with-mf",
|
|
"schema": "./src/generators/convert-to-with-mf/schema.json",
|
|
"description": "Converts an old micro frontend configuration to use the new withModuleFederation helper. It will run successfully if the following conditions are met: \n - Is either a host or remote application \n - Shared npm package configurations have not been modified \n - Name used to identify the Micro Frontend application matches the project name \n\n{% callout type=\"warning\" title=\"Overrides\" %}This generator will overwrite your webpack config. If you have additional custom configuration in your config file, it will be lost!{% /callout %}"
|
|
},
|
|
"host": {
|
|
"factory": "./src/generators/host/host",
|
|
"schema": "./src/generators/host/schema.json",
|
|
"x-type": "application",
|
|
"description": "Generate a Host Angular Module Federation Application.",
|
|
"aliases": ["consumer"]
|
|
},
|
|
"ng-add": {
|
|
"factory": "./src/generators/ng-add/ng-add",
|
|
"schema": "./src/generators/ng-add/schema.json",
|
|
"description": "Migrates an Angular CLI workspace to Nx or adds the Angular plugin to an Nx workspace.",
|
|
"hidden": true
|
|
},
|
|
"ngrx": {
|
|
"factory": "./src/generators/ngrx/ngrx",
|
|
"schema": "./src/generators/ngrx/schema.json",
|
|
"description": "Adds NgRx support to an application or library.",
|
|
"x-deprecated": "Use the 'ngrx-root-store' and 'ngrx-feature-store' generators instead. It will be removed in Nx v22."
|
|
},
|
|
"ngrx-feature-store": {
|
|
"factory": "./src/generators/ngrx-feature-store/ngrx-feature-store",
|
|
"schema": "./src/generators/ngrx-feature-store/schema.json",
|
|
"description": "Adds an NgRx Feature Store to an application or library."
|
|
},
|
|
"ngrx-root-store": {
|
|
"factory": "./src/generators/ngrx-root-store/ngrx-root-store",
|
|
"schema": "./src/generators/ngrx-root-store/schema.json",
|
|
"description": "Adds an NgRx Root Store to an application."
|
|
},
|
|
"pipe": {
|
|
"factory": "./src/generators/pipe/pipe",
|
|
"schema": "./src/generators/pipe/schema.json",
|
|
"description": "Generate an Angular Pipe",
|
|
"aliases": ["p"]
|
|
},
|
|
"scam-to-standalone": {
|
|
"factory": "./src/generators/scam-to-standalone/scam-to-standalone",
|
|
"schema": "./src/generators/scam-to-standalone/schema.json",
|
|
"description": "Convert an existing Single Component Angular Module (SCAM) to a Standalone Component."
|
|
},
|
|
"scam": {
|
|
"factory": "./src/generators/scam/scam",
|
|
"schema": "./src/generators/scam/schema.json",
|
|
"description": "Generate a component with an accompanying Single Component Angular Module (SCAM)."
|
|
},
|
|
"scam-directive": {
|
|
"factory": "./src/generators/scam-directive/scam-directive",
|
|
"schema": "./src/generators/scam-directive/schema.json",
|
|
"description": "Generate a directive with an accompanying Single Component Angular Module (SCAM)."
|
|
},
|
|
"scam-pipe": {
|
|
"factory": "./src/generators/scam-pipe/scam-pipe",
|
|
"schema": "./src/generators/scam-pipe/schema.json",
|
|
"description": "Generate a pipe with an accompanying Single Component Angular Module (SCAM)."
|
|
},
|
|
"setup-mf": {
|
|
"factory": "./src/generators/setup-mf/setup-mf",
|
|
"schema": "./src/generators/setup-mf/schema.json",
|
|
"description": "Generate a Module Federation configuration for a given Angular application."
|
|
},
|
|
"setup-ssr": {
|
|
"factory": "./src/generators/setup-ssr/setup-ssr",
|
|
"schema": "./src/generators/setup-ssr/schema.json",
|
|
"description": "Generate Angular Universal (SSR) setup for an Angular application."
|
|
},
|
|
"setup-tailwind": {
|
|
"factory": "./src/generators/setup-tailwind/setup-tailwind",
|
|
"schema": "./src/generators/setup-tailwind/schema.json",
|
|
"description": "Configures Tailwind CSS for an application or a buildable/publishable library."
|
|
},
|
|
"stories": {
|
|
"factory": "./src/generators/stories/stories",
|
|
"schema": "./src/generators/stories/schema.json",
|
|
"description": "Creates stories/specs for all components declared in a project."
|
|
},
|
|
"storybook-configuration": {
|
|
"factory": "./src/generators/storybook-configuration/storybook-configuration",
|
|
"schema": "./src/generators/storybook-configuration/schema.json",
|
|
"description": "Adds Storybook configuration to a project."
|
|
},
|
|
"cypress-component-configuration": {
|
|
"factory": "./src/generators/cypress-component-configuration/cypress-component-configuration",
|
|
"schema": "./src/generators/cypress-component-configuration/schema.json",
|
|
"description": "Setup Cypress component testing for a project."
|
|
},
|
|
"web-worker": {
|
|
"factory": "./src/generators/web-worker/web-worker",
|
|
"schema": "./src/generators/web-worker/schema.json",
|
|
"description": "Creates a Web Worker."
|
|
}
|
|
}
|
|
}
|