Skip to content

Commit

Permalink
fix(react): aliases should be an array in schematics (#10198)
Browse files Browse the repository at this point in the history
  • Loading branch information
43081j committed May 9, 2022
1 parent fdd7479 commit 99252cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/generated/packages/react.json
Expand Up @@ -530,7 +530,7 @@
"presets": []
},
"description": "Create a React component.",
"aliases": "c",
"aliases": ["c"],
"implementation": "/packages/react/src/generators/component/component#componentGenerator.ts",
"hidden": false,
"path": "/packages/react/src/generators/component/schema.json"
Expand Down Expand Up @@ -843,7 +843,7 @@
"presets": []
},
"description": "Create a hook.",
"aliases": "c",
"aliases": ["c"],
"implementation": "/packages/react/src/generators/hook/hook#hookGenerator.ts",
"hidden": false,
"path": "/packages/react/src/generators/hook/schema.json"
Expand Down
8 changes: 4 additions & 4 deletions packages/react/generators.json
Expand Up @@ -31,7 +31,7 @@
"factory": "./src/generators/component/component#componentSchematic",
"schema": "./src/generators/component/schema.json",
"description": "Create a React component.",
"aliases": "c"
"aliases": ["c"]
},

"redux": {
Expand Down Expand Up @@ -73,7 +73,7 @@
"factory": "./src/generators/hook/hook#chookSchematic",
"schema": "./src/generators/hook/schema.json",
"description": "Create a hook.",
"aliases": "h"
"aliases": ["h"]
}
},
"generators": {
Expand Down Expand Up @@ -105,7 +105,7 @@
"factory": "./src/generators/component/component#componentGenerator",
"schema": "./src/generators/component/schema.json",
"description": "Create a React component.",
"aliases": "c"
"aliases": ["c"]
},

"redux": {
Expand Down Expand Up @@ -147,7 +147,7 @@
"factory": "./src/generators/hook/hook#hookGenerator",
"schema": "./src/generators/hook/schema.json",
"description": "Create a hook.",
"aliases": "c"
"aliases": ["c"]
},

"host": {
Expand Down

1 comment on commit 99252cc

@vercel
Copy link

@vercel vercel bot commented on 99252cc May 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx.dev
nx-dev-git-master-nrwl.vercel.app

Please sign in to comment.