- Added component schematic that adds to existing project.
* Supports CSS-in-JS styles, functional components, etc.
- Lib and app schematics now support new style, funtional components options (same as component)
34 lines
909 B
JSON
34 lines
909 B
JSON
{
|
|
"name": "nx/react",
|
|
"version": "0.1",
|
|
"extends": ["@nrwl/workspace"],
|
|
"schematics": {
|
|
"ng-add": {
|
|
"factory": "./src/schematics/ng-add/ng-add",
|
|
"schema": "./src/schematics/ng-add/schema.json",
|
|
"description": "Add @nrwl/react to a project",
|
|
"hidden": true
|
|
},
|
|
|
|
"application": {
|
|
"factory": "./src/schematics/application/application",
|
|
"schema": "./src/schematics/application/schema.json",
|
|
"aliases": ["app"],
|
|
"description": "Create an application"
|
|
},
|
|
|
|
"library": {
|
|
"factory": "./src/schematics/library/library",
|
|
"schema": "./src/schematics/library/schema.json",
|
|
"aliases": ["lib"],
|
|
"description": "Create a library"
|
|
},
|
|
|
|
"component": {
|
|
"factory": "./src/schematics/component/component",
|
|
"schema": "./src/schematics/component/schema.json",
|
|
"description": "Create a component"
|
|
}
|
|
}
|
|
}
|