Skip to content

Commit

Permalink
docs(core): nestjs to use --project instead of --sourceRoot (#9435)
Browse files Browse the repository at this point in the history
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
  • Loading branch information
nartc and Chau Tran committed Mar 21, 2022
1 parent 8463cc0 commit ada6645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/shared/nest-plugin.md
Expand Up @@ -75,9 +75,9 @@ nx g @nrwl/nest:lib my-nest-lib --publishable --importPath=@my-workspace/my-nest
### Nest Generators

The Nest plugin for Nx extends the generators provided by Nest. Any commands that can be used with the Nest CLI can also be used with the `nx` command. The `--sourceRoot` flag should be used for all Nest generators.
The Nest plugin for Nx extends the generators provided by Nest. Any commands that can be used with the Nest CLI can also be used with the `nx` command. The `--project` flag should be used for all Nest generators.

> The `--sourceRoot` command should point to the source directory of a Nest library or application within an Nx workspace.
> `--project` is used to infer the root of the project where the generators will generate the files.
## Using Nest

Expand Down

1 comment on commit ada6645

@vercel
Copy link

@vercel vercel bot commented on ada6645 Mar 21, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.