Leosvel Pérez Espinosa 3eb9f6a822
feat(angular): remove deprecated functionalities for v21 (#30769)
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`.
2025-04-17 09:12:32 -04:00

66 lines
2.3 KiB
JSON

{
"name": "move",
"factory": "./src/generators/move/move#angularMoveGenerator",
"schema": {
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularMove",
"cli": "nx",
"title": "Nx Angular Move",
"description": "Move an Angular project to another folder in the workspace.",
"type": "object",
"examples": [
{
"command": "nx g @nx/angular:move --project my-feature-lib --destination shared/my-feature-lib",
"description": "Move libs/my-feature-lib to libs/shared/my-feature-lib."
}
],
"properties": {
"projectName": {
"type": "string",
"alias": "project",
"description": "The name of the Angular project to move.",
"x-dropdown": "projects",
"x-priority": "important"
},
"newProjectName": {
"type": "string",
"alias": "project",
"description": "The new name of the project after the move.",
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-priority": "important"
},
"destination": {
"type": "string",
"description": "The folder to move the Angular project into.",
"$default": { "$source": "argv", "index": 0 },
"x-priority": "important"
},
"importPath": {
"type": "string",
"description": "The new import path to use in the `tsconfig.base.json`."
},
"updateImportPath": {
"type": "boolean",
"description": "Update the import path to reflect the new location.",
"default": true
},
"skipFormat": {
"type": "boolean",
"aliases": ["skip-format"],
"description": "Skip formatting files.",
"default": false,
"x-priority": "internal"
}
},
"required": ["projectName", "destination"],
"presets": []
},
"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.",
"implementation": "/packages/angular/src/generators/move/move#angularMoveGenerator.ts",
"hidden": false,
"path": "/packages/angular/src/generators/move/schema.json",
"type": "generator"
}