Compare commits

...

49 Commits

Author SHA1 Message Date
Jason Jean aeacf12ff9 Release 13.3.6 2021-12-15 11:05:19 -05:00
Craigory Coppola ee0088ff9b fix(core): default project name should be inferred by cwd on windows (#8172) 2021-12-15 10:51:25 -05:00
Victor Savkin 32976f2215 fix(core): use absolute paths when resolving package.json 2021-12-15 10:50:35 -05:00
Colum Ferry e49e551af8 fix(angular): set public host for both projects (#8184) 2021-12-15 10:50:35 -05:00
Colum Ferry 66c69952d4 docs(angular): fix mfe doc examples (#8168) 2021-12-15 10:50:35 -05:00
Benjamin Cabanes ae477f7f99 docs(nxdev): update documentation content (#8178) 2021-12-15 10:50:35 -05:00
Benjamin Cabanes afa7ad99d4 docs(nxdev): new og media images (#8176) 2021-12-15 10:50:35 -05:00
Benjamin Cabanes 42cf28f708 docs(nxdev): update documentation content (#8175) 2021-12-15 10:50:35 -05:00
Jack Hsu f7c3ffea07 fix(core): properly set workspace root when using custom preset (#8173) 2021-12-15 10:50:35 -05:00
Kirils L 84d7d8d669 fix(nextjs): incorrectly named nested page component files (#8170) 2021-12-15 10:50:35 -05:00
pan93412 663586a2ce docs(core): extend the description of generator schema options (#7927)
* docs(core): describe every properties available in schema.json

The current Generator documentation is not completed. Thus,
I managed to describe every undocumented part of generator currently.

This document is referenced from a lot of current `schema.json`
and code of it. Thanks a lot! :D

- Overview
- Description
- Examples

* docs(misc): add the instruction when out of memory

Added a new section: "When occurred `JavaScript heap out of memory`"

Also fixed some lint issues indicated by `markdownlint`.

* fix(misc): grammars

Co-authored-by: isaacplmann <isaacplmann@users.noreply.github.com>

* docs(core): more complete Generator

- correct grammars errors
- complete most the WIP part
- remove `items` since I didn't find any example of it

Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
Co-Authored-By: Jonathan Cammisuli <Cammisuli@users.noreply.github.com>

* docs(core): correct the format

Co-authored-by: isaacplmann <isaacplmann@users.noreply.github.com>
Co-authored-by: Jonathan Cammisuli <Cammisuli@users.noreply.github.com>
2021-12-15 10:50:35 -05:00
Nicholas Cunningham fd52f06f0e feat(core): Add support for versioning in the preset package name (#8146) 2021-12-15 10:49:35 -05:00
Benjamin Cabanes ef93aabed8 docs(nxdev): update documentation content (#8164) 2021-12-15 10:49:31 -05:00
Jason Jean 663e1f318b Release 13.3.4 2021-12-14 13:03:46 -05:00
Juri 45f140a7fc docs(core): adjust header ordering in the Nx and Turborepo guide 2021-12-14 13:01:26 -05:00
Juri 818e34165c docs(core): nx and Turborepo guide improvements 2021-12-14 13:01:26 -05:00
Shlomi Levi 38c592bf0f feat(angular): add scam generator for pipes and directives (#8144)
ISSUES CLOSED: #8122
2021-12-14 13:01:26 -05:00
Colum Ferry 8b554235ca fix(angular): scam component default type as lowercase (#8160) 2021-12-14 13:01:09 -05:00
Jack Hsu 5f6e56e117 fix(core): properly pass args to custom preset (#8154) 2021-12-14 13:00:53 -05:00
Nicholas Cunningham 05a9f521c3 feat(core): preset now supports external generators when creating a workspace. (#8084)
When you run create-nx-workspace --preset you can now pass in an npm package name.
This package will contain a generator named preset which is run after the workspace has been generated.
2021-12-14 13:00:06 -05:00
Jason Jean 2bf6979d31 Release 13.3.2 2021-12-13 19:07:42 -05:00
Craigory Coppola 4b272260f0 fix(core): misc. ng cli compat layer fixes (#8141)
* fix(core): misc. ng cli compat layer fixes

* chore(core): unit test fixes
2021-12-13 19:00:28 -05:00
Victor Savkin 01873f9095 chore(repo): update the turbo guide 2021-12-13 18:51:31 -05:00
Victor Savkin dfb9191df8 chore(misc): add a comparison guide 2021-12-13 18:51:31 -05:00
Leosvel Pérez Espinosa 5800afa763 fix(angular): handle scam components when generating storybook stories (#8139) 2021-12-13 18:51:11 -05:00
Leosvel Pérez Espinosa beaffa8c8b fix(angular): remove unnecessary extension from scam component import (#8136) 2021-12-13 18:51:11 -05:00
Benjamin Cabanes 7a54527026 docs(nxdev): remove workshop event banner (#8131) 2021-12-13 18:51:11 -05:00
Jack Hsu 81bf6ecec3 fix(core): allow tsConfig without compilerOptions to work (#8119) 2021-12-13 18:51:11 -05:00
Benjamin Cabanes 1dac274131 docs(nxdev): delete unused media-query helper (#8118) 2021-12-13 18:51:11 -05:00
Craigory Coppola f428ad4b42 fix(core): project inference should work if name not specified by package.json (#8116) 2021-12-13 18:51:11 -05:00
Benjamin Cabanes 420ab65dd2 docs(nxdev): ui common delete feature-list component (#8117) 2021-12-13 18:51:11 -05:00
Kirils L 698501ee6e fix(nextjs): make flat option configurable for page generator (#8113) 2021-12-13 18:51:11 -05:00
Jason Jean 126ef3c45a Release 13.3.1 2021-12-10 14:52:34 -05:00
Benjamin Cabanes ff25c24804 docs(nxdev): better api generator templates (#8109) 2021-12-10 14:39:25 -05:00
Benjamin Cabanes 89daf0aee9 docs(nxdev): documentation sync command (#8106) 2021-12-10 14:39:25 -05:00
Kyle Cannon 384538e595 fix(core): add default export for tasksRunnerV2 (#8088)
Fixes #8085
2021-12-10 14:39:25 -05:00
Leosvel Pérez Espinosa 9ca67f6dc3 fix(core): forward args to target dependencies with the same executor as the target that is being run (#8104) 2021-12-10 14:39:25 -05:00
Colum Ferry 4598068410 fix(angular): use path property correctly when generating scams #8083 (#8100) 2021-12-10 14:39:25 -05:00
Miroslav Jonaš 400e220a25 docs(linter): fix wrong rule format in tags guide (#8101) 2021-12-10 14:39:25 -05:00
Miroslav Jonaš 23cc988501 docs(misc): add missing scopes to CONTRIBUTING.md (#8102) 2021-12-10 14:39:25 -05:00
Miroslav Jonaš 996116baab fix(linter): improve error message when attempting to use deprecated tslint (#8090) 2021-12-10 14:39:25 -05:00
Miroslav Jonaš 02f2500152 fix(dep-graph): switch linter to use eslint executor (#8091) 2021-12-10 14:39:25 -05:00
Miroslav Jonaš d92f73fd5d chore(core): sync parallel flags on e2e test runs on CI (#8071) 2021-12-10 14:39:25 -05:00
Miroslav Jonaš 95d792c7e3 chore(storybook): reuse workspace and project in E2E tests (#8098) 2021-12-10 14:39:25 -05:00
Miroslav Jonaš 6e4afccea8 chore(storybook): optimize E2E tests (#8097) 2021-12-10 14:39:25 -05:00
Benjamin Cabanes ed77c064a3 docs(nxdev): improve seo (#8089) 2021-12-10 14:39:25 -05:00
Benjamin Cabanes d9c9b4bb46 docs(nxdev): update documentation content (#8094) 2021-12-10 14:39:25 -05:00
Benjamin Cabanes c6059df65d docs(nxdev): dialog path cleaner update (#8092) 2021-12-10 14:39:25 -05:00
Miroslav Jonaš d078da3993 chore(repo): disable running detox e2e on CI due to poor perf (#8070) 2021-12-10 14:39:25 -05:00
968 changed files with 10273 additions and 745 deletions
+2 -2
View File
@@ -210,7 +210,7 @@ jobs:
- run:
name: Run E2E Tests
command: |
npx nx affected --target=e2e --base=$NX_BASE --head=$NX_HEAD --exclude=e2e-react-native,e2e-detox,e2e-gatsby --parallel --max-parallel=1
npx nx affected --target=e2e --base=$NX_BASE --head=$NX_HEAD --exclude=e2e-react-native,e2e-detox,e2e-gatsby --parallel=1
no_output_timeout: 45m
- run:
name: Stop All Running Agents for This CI Run
@@ -236,7 +236,7 @@ jobs:
- run:
name: Run E2E Tests
command: |
npx nx affected --target=e2e --base=$NX_BASE --head=$NX_HEAD --exclude=e2e-js,e2e-next,e2e-gatsby,e2e-workspace-create,e2e-workspace-integrations,e2e-workspace-core,e2e-react,e2e-web,e2e-angular-extensions,e2e-angular-core,e2e-cli,e2e-nx-plugin,e2e-storybook,e2e-cypress,e2e-node,e2e-linter,e2e-jest --max-parallel=1
npx nx affected --target=e2e --base=$NX_BASE --head=$NX_HEAD --exclude=e2e-detox,e2e-js,e2e-next,e2e-gatsby,e2e-workspace-create,e2e-workspace-integrations,e2e-workspace-core,e2e-react,e2e-web,e2e-angular-extensions,e2e-angular-core,e2e-cli,e2e-nx-plugin,e2e-storybook,e2e-cypress,e2e-node,e2e-linter,e2e-jest,e2e-add-nx-to-monorepo --parallel=1
no_output_timeout: 45m
- run:
name: Stop All Running Agents for This CI Run
+1 -1
View File
@@ -157,7 +157,7 @@ jobs:
xcrun simctl shutdown all && xcrun simctl erase all
- name: Run e2e tests
run: yarn nx run-many --target=e2e --projects="${{ join(matrix.packages) }}" --max-parallel=1
run: yarn nx run-many --target=e2e --projects="${{ join(matrix.packages) }}" --parallel=1
env:
GIT_AUTHOR_EMAIL: test@test.com
GIT_AUTHOR_NAME: Test
+1 -1
View File
@@ -73,7 +73,7 @@ jobs:
run: yarn install --prefer-offline --frozen-lockfile --non-interactive
- name: Run e2e tests
run: yarn nx run-many --target=e2e --projects="${{ join(matrix.packages) }}" --max-parallel=1
run: yarn nx run-many --target=e2e --projects="${{ join(matrix.packages) }}" --parallel=1
env:
GIT_AUTHOR_EMAIL: test@test.com
GIT_AUTHOR_NAME: Test
+33 -17
View File
@@ -157,11 +157,21 @@ By default, the site displays the `Latest` cut release of the docs. To see your
<img src="https://raw.githubusercontent.com/nrwl/nx/master/images/selecting-preview-from-version-selection-box.png" width="600" alt="Selecting Preview from Version Selection box">
#### Troubleshooting: `JavaScript heap out of memory`
If you see an error that states: `FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory`, you need to [increase the max memory size of V8's old memory section](https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-megabytes):
```bash
export NODE_OPTIONS="--max-old-space-size=4096"
```
After configuring this, try to run `npx nx serve nx-dev` again.
### PR Preview
When submitting a PR, this repo will automatically generate a preview of the `nx-dev` application based on the contents of your pull request.
Once the preview site is launched, a comment will automatically be added to your PR with the link your your PR's preview. To check your docs changes, make sure to select `Preview` from the version selection box of the site.
Once the preview site is launched, a comment will automatically be added to your PR with the link your PR's preview. To check your docs changes, make sure to select `Preview` from the version selection box of the site.
## Submission Guidelines
@@ -177,7 +187,7 @@ We want to fix all the issues as soon as possible, but before fixing a bug we ne
A minimal reproduction allows us to quickly confirm a bug (or point out coding problem) as well as confirm that we are fixing the right problem.
We will be insisting on a minimal reproduction in order to save maintainers time and ultimately be able to fix more bugs. Interestingly, from our experience, users often find coding problems themselves while preparing a minimal repository. We understand that sometimes it might be hard to extract essentials bits of code from a larger code-base but we really need to isolate the problem before we can fix it.
We will be insisting on a minimal reproduction in order to save maintainers time and ultimately be able to fix more bugs. Interestingly, from our experience, users often find coding problems themselves while preparing a minimal repository. We understand that sometimes it might be hard to extract essentials bits of code from a larger code-base, but we really need to isolate the problem before we can fix it.
You can file new issues by filling out our [issue form](https://github.com/nrwl/nx/issues/new).
@@ -202,7 +212,7 @@ Please follow the following guidelines:
The commit message should follow the following format:
```
```plain
type(scope): subject
BLANK LINE
body
@@ -222,21 +232,27 @@ The type must be one of the following:
The scope must be one of the following:
- core - anything Nx core specific
- js - anything related to @nrwl/js package or general js/ts support
- nxdev - anything related to docs infrastructure
- nextjs - anything Next specific
- nest - anything Nest specific
- node - anything Node specific
- linter - anything Linter specific
- react - anything React specific
- web - anything Web specific
- storybook - anything Storybook specific
- testing - anything testing specific (e.g., jest or cypress)
- repo - anything related to managing the repo itself
- angular - anything Angular specific
- misc - misc stuff
- core - anything Nx core specific
- dep-graph - anything dep-graph app specific
- detox - anything Detox specific
- devkit - devkit-related changes
- gatsby - anything Gatsby specific
- express - anything Express specific
- js - anything related to @nrwl/js package or general js/ts support
- linter - anything Linter specific
- nest - anything Nest specific
- nextjs - anything Next specific
- nxdev - anything related to docs infrastructure
- nx-plugin - anything Nx Plugin specific
- node - anything Node specific
- react - anything React specific
- react-native - anything React Native specific
- repo - anything related to managing the Nx repo itself
- storybook - anything Storybook specific
- testing - anything testing specific (e.g., Jest or Cypress)
- web - anything Web specific
- misc - misc stuff
##### Subject and Body
@@ -246,7 +262,7 @@ Including the issue number that the PR relates to also helps with tracking.
#### Example
```
```plain
feat(angular): add an option to generate lazy-loadable modules
`nx generate lib mylib --lazy` provisions the mylib project in tslint.json
+3 -4
View File
@@ -22,11 +22,10 @@
}
},
"lint": {
"executor": "@nrwl/linter:lint",
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"linter": "eslint",
"tsConfig": ["dep-graph/dep-graph-e2e/tsconfig.e2e.json"],
"exclude": ["**/node_modules/**", "!dep-graph/dep-graph-e2e/**/*"]
"lintFilePatterns": ["dep-graph/dep-graph-e2e/**/*.ts"]
}
}
},
+3 -7
View File
@@ -67,14 +67,10 @@
}
},
"lint": {
"executor": "@nrwl/linter:lint",
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"linter": "eslint",
"tsConfig": [
"dep-graph/dep-graph/tsconfig.app.json",
"dep-graph/dep-graph/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**", "!dep-graph/dep-graph/**/*"]
"lintFilePatterns": ["dep-graph/dep-graph/**/*.ts"]
}
},
"test": {
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:delegate-build executor'
description: 'Delegates the build to a different target while supporting incremental builds.'
---
# @nrwl/angular:delegate-build
Delegates the build to a different target while supporting incremental builds.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:ng-packagr-lite executor'
description: 'Builds a library with support for incremental builds.'
---
# @nrwl/angular:ng-packagr-lite
Builds a library with support for incremental builds.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:package executor'
description: 'Builds and packages an Angular library to be distributed as an NPM package. It supports incremental builds.'
---
# @nrwl/angular:package
Builds and packages an Angular library to be distributed as an NPM package. It supports incremental builds.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:webpack-browser executor'
description: 'Builds a browser application with support for incremental builds and custom webpack configuration.'
---
# @nrwl/angular:webpack-browser
Builds a browser application with support for incremental builds and custom webpack configuration.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:webpack-server executor'
description: 'Serves a browser application with support for a custom webpack configuration.'
---
# @nrwl/angular:webpack-server
Serves a browser application with support for a custom webpack configuration.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:application generator'
description: 'Creates an Angular application.'
---
# @nrwl/angular:application
Creates an Angular application.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:convert-tslint-to-eslint generator'
description: 'Converts a project from TSLint to ESLint.'
---
# @nrwl/angular:convert-tslint-to-eslint
Converts a project from TSLint to ESLint.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:downgrade-module generator'
description: 'Sets up a Downgrade Module.'
---
# @nrwl/angular:downgrade-module
Sets up a Downgrade Module.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:karma-project generator'
description: 'Adds Karma configuration to a project.'
---
# @nrwl/angular:karma-project
Adds Karma configuration to a project.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:karma generator'
description: 'Adds Karma configuration to a workspace.'
---
# @nrwl/angular:karma
Adds Karma configuration to a workspace.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:library-secondary-entry-point generator'
description: 'Creates a secondary entry point for an Angular publishable library.'
---
# @nrwl/angular:library-secondary-entry-point
Creates a secondary entry point for an Angular publishable library.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:library generator'
description: 'Creates an Angular library.'
---
# @nrwl/angular:library
Creates an Angular library.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:move generator'
description: 'Moves an Angular application or library to another folder within the workspace and updates the project configuration.'
---
# @nrwl/angular:move
Moves an Angular application or library to another folder within the workspace and updates the project configuration.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:ngrx generator'
description: 'Adds NgRx support to an application or library.'
---
# @nrwl/angular:ngrx
Adds NgRx support to an application or library.
@@ -0,0 +1,86 @@
---
title: '@nrwl/angular:scam-directive generator'
description: 'Generate a directive with an accompanying Single Component Angular Module (SCAM).'
---
# @nrwl/angular:scam-directive
Generate a directive with an accompanying Single Component Angular Module (SCAM).
## Usage
```bash
nx generate scam-directive ...
```
By default, Nx will search for `scam-directive` in the default collection provisioned in `angular.json`.
You can specify the collection explicitly as follows:
```bash
nx g @nrwl/angular:scam-directive ...
```
Show what will be generated without writing to disk:
```bash
nx g scam-directive ... --dry-run
```
## Options
### name (_**required**_)
Type: `string`
The name of the directive.
### flat
Default: `true`
Type: `boolean`
Create the new files at the top level of the current project.
### inlineScam
Default: `true`
Type: `boolean`
Create the NgModule in the same file as the Directive.
### path (**hidden**)
Type: `string`
The path at which to create the directive file, relative to the current workspace. Default is a folder with the same name as the directive in the project root.
### prefix
Alias(es): p
Type: `string`
The prefix to apply to the generated directive selector.
### project
Type: `string`
The name of the project.
### selector
Type: `string`
The HTML selector to use for this directive.
### skipTests
Default: `false`
Type: `boolean`
Do not create "spec.ts" test files for the new directive.
@@ -0,0 +1,72 @@
---
title: '@nrwl/angular:scam-pipe generator'
description: 'Generate a pipe with an accompanying Single Component Angular Module (SCAM).'
---
# @nrwl/angular:scam-pipe
Generate a pipe with an accompanying Single Component Angular Module (SCAM).
## Usage
```bash
nx generate scam-pipe ...
```
By default, Nx will search for `scam-pipe` in the default collection provisioned in `angular.json`.
You can specify the collection explicitly as follows:
```bash
nx g @nrwl/angular:scam-pipe ...
```
Show what will be generated without writing to disk:
```bash
nx g scam-pipe ... --dry-run
```
## Options
### name (_**required**_)
Type: `string`
The name of the pipe.
### flat
Default: `true`
Type: `boolean`
Create the new files at the top level of the current project.
### inlineScam
Default: `true`
Type: `boolean`
Create the NgModule in the same file as the Pipe.
### path (**hidden**)
Type: `string`
The path at which to create the pipe file, relative to the current workspace. Default is a folder with the same name as the pipe in the project root.
### project
Type: `string`
The name of the project.
### skipTests
Default: `false`
Type: `boolean`
Do not create "spec.ts" test files for the new pipe.
+7 -2
View File
@@ -1,6 +1,11 @@
---
title: '@nrwl/angular:scam generator'
description: 'Generate a component with an accompanying Single Component Angular Module (SCAM).'
---
# @nrwl/angular:scam
Generate a component with an accompanying Single Angular Module Component (SCAM).
Generate a component with an accompanying Single Component Angular Module (SCAM).
## Usage
@@ -142,7 +147,7 @@ The file extension or preprocessor to use for style files, or 'none' to skip gen
### type
Default: `Component`
Default: `component`
Type: `string`
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:setup-mfe generator'
description: 'Generate a Module Federation configuration for a given Angular application.'
---
# @nrwl/angular:setup-mfe
Generate a Module Federation configuration for a given Angular application.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:stories generator'
description: 'Creates stories/specs for all components declared in a project.'
---
# @nrwl/angular:stories
Creates stories/specs for all components declared in a project.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:storybook-configuration generator'
description: 'Adds Storybook configuration to a project.'
---
# @nrwl/angular:storybook-configuration
Adds Storybook configuration to a project.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:storybook-migrate-defaults-5-to-6 generator'
description: 'Generates default Storybook configuration files using Storybook version >=6.x specs, for projects that already have Storybook instances and configurations of versions <6.x.'
---
# @nrwl/angular:storybook-migrate-defaults-5-to-6
Generates default Storybook configuration files using Storybook version >=6.x specs, for projects that already have Storybook instances and configurations of versions <6.x.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:storybook-migrate-stories-to-6-2 generator'
description: 'Migrates stories to match the new syntax in v6.2 where the component declaration should be in the default export.'
---
# @nrwl/angular:storybook-migrate-stories-to-6-2
Migrates stories to match the new syntax in v6.2 where the component declaration should be in the default export.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:upgrade-module generator'
description: 'Sets up an Upgrade Module.'
---
# @nrwl/angular:upgrade-module
Sets up an Upgrade Module.
@@ -1,3 +1,8 @@
---
title: '@nrwl/angular:web-worker generator'
description: 'Creates a Web Worker.'
---
# @nrwl/angular:web-worker
Creates a Web Worker.
@@ -1,3 +1,8 @@
---
title: '@nrwl/cypress:cypress executor'
description: 'Run Cypress e2e tests'
---
# @nrwl/cypress:cypress
Run Cypress e2e tests
@@ -1,3 +1,8 @@
---
title: '@nrwl/detox:build executor'
description: 'Run the command defined in build property of the specified configuration.'
---
# @nrwl/detox:build
Run the command defined in build property of the specified configuration.
+5
View File
@@ -1,3 +1,8 @@
---
title: '@nrwl/detox:test executor'
description: 'Initiating your detox test suite.'
---
# @nrwl/detox:test
Initiating your detox test suite.
@@ -1,3 +1,8 @@
---
title: '@nrwl/detox:application generator'
description: 'Create a detox application'
---
# @nrwl/detox:application
Create a detox application
@@ -1,3 +1,8 @@
---
title: '@nrwl/express:application generator'
description: 'Create an express application'
---
# @nrwl/express:application
Create an express application
@@ -1,3 +1,8 @@
---
title: '@nrwl/gatsby:build executor'
description: 'Build a Gatsby app'
---
# @nrwl/gatsby:build
Build a Gatsby app
@@ -1,3 +1,8 @@
---
title: '@nrwl/gatsby:server executor'
description: 'Starts server for app'
---
# @nrwl/gatsby:server
Starts server for app
@@ -1,3 +1,8 @@
---
title: '@nrwl/gatsby:application generator'
description: 'Create an application'
---
# @nrwl/gatsby:application
Create an application
@@ -1,3 +1,8 @@
---
title: '@nrwl/gatsby:component generator'
description: 'Create a component'
---
# @nrwl/gatsby:component
Create a component
@@ -1,3 +1,8 @@
---
title: '@nrwl/gatsby:page generator'
description: 'Create a page'
---
# @nrwl/gatsby:page
Create a page
+5
View File
@@ -1,3 +1,8 @@
---
title: '@nrwl/jest:jest executor'
description: 'Run Jest unit tests'
---
# @nrwl/jest:jest
Run Jest unit tests
+5
View File
@@ -1,3 +1,8 @@
---
title: '@nrwl/js:tsc executor'
description: 'Build a project using TypeScript.'
---
# @nrwl/js:tsc
Build a project using TypeScript.
@@ -1,3 +1,8 @@
---
title: '@nrwl/js:application generator'
description: 'Create a application'
---
# @nrwl/js:application
Create a application
@@ -1,3 +1,8 @@
---
title: '@nrwl/js:library generator'
description: 'Create a library'
---
# @nrwl/js:library
Create a library
@@ -1,3 +1,8 @@
---
title: '@nrwl/linter:eslint executor'
description: 'Run ESLint on a project'
---
# @nrwl/linter:eslint
Run ESLint on a project
@@ -1,3 +1,8 @@
---
title: '@nrwl/linter:lint executor'
description: '**[DEPRECATED]**: Please use the eslint builder instead, an automated migration was provided in v10.3.0'
---
# @nrwl/linter:lint
**[DEPRECATED]**: Please use the eslint builder instead, an automated migration was provided in v10.3.0
@@ -1,3 +1,8 @@
---
title: '@nrwl/linter:workspace-rule generator'
description: 'Create a new workspace ESLint rule'
---
# @nrwl/linter:workspace-rule
Create a new workspace ESLint rule
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:application generator'
description: 'Create a NestJS application.'
---
# @nrwl/nest:application
Create a NestJS application.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:class generator'
description: 'Run the `class` NestJS generator with Nx project support.'
---
# @nrwl/nest:class
Run the `class` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:controller generator'
description: 'Run the `controller` NestJS generator with Nx project support.'
---
# @nrwl/nest:controller
Run the `controller` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:convert-tslint-to-eslint generator'
description: 'Convert a project from TSLint to ESLint.'
---
# @nrwl/nest:convert-tslint-to-eslint
Convert a project from TSLint to ESLint.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:decorator generator'
description: 'Run the `decorator` NestJS generator with Nx project support.'
---
# @nrwl/nest:decorator
Run the `decorator` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:filter generator'
description: 'Run the `filter` NestJS generator with Nx project support.'
---
# @nrwl/nest:filter
Run the `filter` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:gateway generator'
description: 'Run the `gateway` NestJS generator with Nx project support.'
---
# @nrwl/nest:gateway
Run the `gateway` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:guard generator'
description: 'Run the `guard` NestJS generator with Nx project support.'
---
# @nrwl/nest:guard
Run the `guard` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:interceptor generator'
description: 'Run the `interceptor` NestJS generator with Nx project support.'
---
# @nrwl/nest:interceptor
Run the `interceptor` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:interface generator'
description: 'Run the `interface` NestJS generator with Nx project support.'
---
# @nrwl/nest:interface
Run the `interface` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:library generator'
description: 'Create a new NestJS library.'
---
# @nrwl/nest:library
Create a new NestJS library.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:middleware generator'
description: 'Run the `middleware` NestJS generator with Nx project support.'
---
# @nrwl/nest:middleware
Run the `middleware` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:module generator'
description: 'Run the `module` NestJS generator with Nx project support.'
---
# @nrwl/nest:module
Run the `module` NestJS generator with Nx project support.
+5
View File
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:pipe generator'
description: 'Run the `pipe` NestJS generator with Nx project support.'
---
# @nrwl/nest:pipe
Run the `pipe` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:provider generator'
description: 'Run the `provider` NestJS generator with Nx project support.'
---
# @nrwl/nest:provider
Run the `provider` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:resolver generator'
description: 'Run the `resolver` NestJS generator with Nx project support.'
---
# @nrwl/nest:resolver
Run the `resolver` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:resource generator'
description: 'Run the `resource` NestJS generator with Nx project support.'
---
# @nrwl/nest:resource
Run the `resource` NestJS generator with Nx project support.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nest:service generator'
description: 'Run the `service` NestJS generator with Nx project support.'
---
# @nrwl/nest:service
Run the `service` NestJS generator with Nx project support.
+5
View File
@@ -1,3 +1,8 @@
---
title: '@nrwl/next:build executor'
description: 'Build a Next.js app'
---
# @nrwl/next:build
Build a Next.js app
@@ -1,3 +1,8 @@
---
title: '@nrwl/next:export executor'
description: 'Export a Next.js app. The exported application is located at dist/$outputPath/exported.'
---
# @nrwl/next:export
Export a Next.js app. The exported application is located at dist/$outputPath/exported.
@@ -1,3 +1,8 @@
---
title: '@nrwl/next:server executor'
description: 'Serve a Next.js app'
---
# @nrwl/next:server
Serve a Next.js app
@@ -1,3 +1,8 @@
---
title: '@nrwl/next:application generator'
description: 'Create a Next.js application'
---
# @nrwl/next:application
Create a Next.js application
@@ -1,3 +1,8 @@
---
title: '@nrwl/next:component generator'
description: 'Create a React component'
---
# @nrwl/next:component
Create a React component
+5
View File
@@ -1,3 +1,8 @@
---
title: '@nrwl/next:page generator'
description: 'Create a Next.js page component'
---
# @nrwl/next:page
Create a Next.js page component
+5
View File
@@ -1,3 +1,8 @@
---
title: '@nrwl/node:build executor'
description: 'Build a Node application'
---
# @nrwl/node:build
Build a Node application
@@ -1,3 +1,8 @@
---
title: '@nrwl/node:execute executor'
description: 'Execute a Node application'
---
# @nrwl/node:execute
Execute a Node application
@@ -1,3 +1,8 @@
---
title: '@nrwl/node:package executor'
description: 'Package a Node library'
---
# @nrwl/node:package
Package a Node library
@@ -1,3 +1,8 @@
---
title: '@nrwl/node:application generator'
description: 'Create a node application'
---
# @nrwl/node:application
Create a node application
@@ -1,3 +1,8 @@
---
title: '@nrwl/node:library generator'
description: 'Create a library'
---
# @nrwl/node:library
Create a library
@@ -1,3 +1,8 @@
---
title: '@nrwl/nx-plugin:e2e executor'
description: 'Creates and runs the e2e tests for an Nx Plugin.'
---
# @nrwl/nx-plugin:e2e
Creates and runs the e2e tests for an Nx Plugin.
@@ -1,3 +1,8 @@
---
title: '@nrwl/nx-plugin:executor generator'
description: 'Create a executor for an Nx Plugin'
---
# @nrwl/nx-plugin:executor
Create a executor for an Nx Plugin
@@ -1,3 +1,8 @@
---
title: '@nrwl/nx-plugin:generator generator'
description: 'Create a generator for an Nx Plugin'
---
# @nrwl/nx-plugin:generator
Create a generator for an Nx Plugin
@@ -1,3 +1,8 @@
---
title: '@nrwl/nx-plugin:migration generator'
description: 'Create a migration for an Nx Plugin'
---
# @nrwl/nx-plugin:migration
Create a migration for an Nx Plugin
@@ -1,3 +1,8 @@
---
title: '@nrwl/nx-plugin:plugin generator'
description: 'Create a Nx Plugin'
---
# @nrwl/nx-plugin:plugin
Create a Nx Plugin
@@ -1,3 +1,8 @@
---
title: '@nrwl/react-native:build-android executor'
description: 'Release Build for Android.'
---
# @nrwl/react-native:build-android
Release Build for Android.
@@ -1,3 +1,8 @@
---
title: '@nrwl/react-native:bundle executor'
description: 'Builds the JS bundle.'
---
# @nrwl/react-native:bundle
Builds the JS bundle.
@@ -1,3 +1,8 @@
---
title: '@nrwl/react-native:ensure-symlink executor'
description: "Ensure workspace node_modules is symlink under app's node_modules folder."
---
# @nrwl/react-native:ensure-symlink
Ensure workspace node_modules is symlink under app's node_modules folder.
@@ -1,3 +1,8 @@
---
title: '@nrwl/react-native:run-android executor'
description: 'Runs Android application.'
---
# @nrwl/react-native:run-android
Runs Android application.
@@ -1,3 +1,8 @@
---
title: '@nrwl/react-native:run-ios executor'
description: 'Runs iOS application.'
---
# @nrwl/react-native:run-ios
Runs iOS application.
@@ -1,3 +1,8 @@
---
title: '@nrwl/react-native:start executor'
description: 'Starts the dev server for JS bundle.'
---
# @nrwl/react-native:start
Starts the dev server for JS bundle.
@@ -1,3 +1,8 @@
---
title: '@nrwl/react-native:sync-deps executor'
description: 'Syncs dependencies to package.json (required for autolinking).'
---
# @nrwl/react-native:sync-deps
Syncs dependencies to package.json (required for autolinking).
@@ -1,3 +1,8 @@
---
title: '@nrwl/react-native:application generator'
description: 'Create an application'
---
# @nrwl/react-native:application
Create an application
@@ -1,3 +1,8 @@
---
title: '@nrwl/react-native:component generator'
description: 'Create a component'
---
# @nrwl/react-native:component
Create a component
@@ -1,3 +1,8 @@
---
title: '@nrwl/react-native:library generator'
description: 'Create a library'
---
# @nrwl/react-native:library
Create a library
@@ -1,3 +1,8 @@
---
title: '@nrwl/react:application generator'
description: 'Create an application'
---
# @nrwl/react:application
Create an application
@@ -1,3 +1,8 @@
---
title: '@nrwl/react:component-cypress-spec generator'
description: 'Create a cypress spec for a ui component that has a story'
---
# @nrwl/react:component-cypress-spec
Create a cypress spec for a ui component that has a story
@@ -1,3 +1,8 @@
---
title: '@nrwl/react:component-story generator'
description: 'Generate storybook story for a react component'
---
# @nrwl/react:component-story
Generate storybook story for a react component
@@ -1,3 +1,8 @@
---
title: '@nrwl/react:component generator'
description: 'Create a component'
---
# @nrwl/react:component
Create a component
@@ -84,6 +89,12 @@ Type: `boolean`
When true, the component is exported from the project index.ts (if it exists).
### fileName
Type: `string`
Create a component with this file name.
### flat
Default: `false`
@@ -1,3 +1,8 @@
---
title: '@nrwl/react:hook generator'
description: 'Create a hook'
---
# @nrwl/react:hook
Create a hook
@@ -1,3 +1,8 @@
---
title: '@nrwl/react:library generator'
description: 'Create a library'
---
# @nrwl/react:library
Create a library
@@ -1,3 +1,8 @@
---
title: '@nrwl/react:redux generator'
description: 'Create a redux slice for a project'
---
# @nrwl/react:redux
Create a redux slice for a project
@@ -1,3 +1,8 @@
---
title: '@nrwl/react:stories generator'
description: 'Create stories/specs for all components declared in a library'
---
# @nrwl/react:stories
Create stories/specs for all components declared in a library
@@ -1,3 +1,8 @@
---
title: '@nrwl/react:storybook-configuration generator'
description: 'Set up storybook for a react library'
---
# @nrwl/react:storybook-configuration
Set up storybook for a react library

Some files were not shown because too many files have changed in this diff Show More