feat(angular): deprecate ngrx generator (#16953)

This commit is contained in:
Colum Ferry 2023-05-11 16:21:53 +01:00 committed by GitHub
parent 392312f847
commit d0c6f5d317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -6,6 +6,7 @@
"$id": "NxNgrxGenerator", "$id": "NxNgrxGenerator",
"title": "Add NgRx support to an application or library.", "title": "Add NgRx support to an application or library.",
"description": "Adds NgRx support to an application or library.", "description": "Adds NgRx support to an application or library.",
"x-deprecated": "This generator is deprecated and will be removed in a future version of Nx. Use the 'ngrx-root-store' and 'ngrx-feature-store' generators instead.",
"cli": "nx", "cli": "nx",
"type": "object", "type": "object",
"examples": [ "examples": [
@ -101,6 +102,7 @@
"presets": [] "presets": []
}, },
"description": "Adds NgRx support to an application or library.", "description": "Adds NgRx support to an application or library.",
"x-deprecated": "This generator is deprecated and will be removed in a future version of Nx. Use the 'ngrx-root-store' and 'ngrx-feature-store' generators instead.",
"implementation": "/packages/angular/src/generators/ngrx/ngrx.ts", "implementation": "/packages/angular/src/generators/ngrx/ngrx.ts",
"aliases": [], "aliases": [],
"hidden": false, "hidden": false,

View File

@ -95,7 +95,8 @@
"ngrx": { "ngrx": {
"factory": "./src/generators/ngrx/compat", "factory": "./src/generators/ngrx/compat",
"schema": "./src/generators/ngrx/schema.json", "schema": "./src/generators/ngrx/schema.json",
"description": "Adds NgRx support to an application or library." "description": "Adds NgRx support to an application or library.",
"x-deprecated": "This generator is deprecated and will be removed in a future version of Nx. Use the 'ngrx-root-store' and 'ngrx-feature-store' generators instead."
}, },
"scam-to-standalone": { "scam-to-standalone": {
"factory": "./src/generators/scam-to-standalone/compat", "factory": "./src/generators/scam-to-standalone/compat",
@ -252,7 +253,8 @@
"ngrx": { "ngrx": {
"factory": "./src/generators/ngrx/ngrx", "factory": "./src/generators/ngrx/ngrx",
"schema": "./src/generators/ngrx/schema.json", "schema": "./src/generators/ngrx/schema.json",
"description": "Adds NgRx support to an application or library." "description": "Adds NgRx support to an application or library.",
"x-deprecated": "This generator is deprecated and will be removed in a future version of Nx. Use the 'ngrx-root-store' and 'ngrx-feature-store' generators instead."
}, },
"ngrx-feature-store": { "ngrx-feature-store": {
"factory": "./src/generators/ngrx-feature-store/ngrx-feature-store", "factory": "./src/generators/ngrx-feature-store/ngrx-feature-store",

View File

@ -3,6 +3,7 @@
"$id": "NxNgrxGenerator", "$id": "NxNgrxGenerator",
"title": "Add NgRx support to an application or library.", "title": "Add NgRx support to an application or library.",
"description": "Adds NgRx support to an application or library.", "description": "Adds NgRx support to an application or library.",
"x-deprecated": "This generator is deprecated and will be removed in a future version of Nx. Use the 'ngrx-root-store' and 'ngrx-feature-store' generators instead.",
"cli": "nx", "cli": "nx",
"type": "object", "type": "object",
"examples": [ "examples": [