-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2368ec7
commit a77b935
Showing
9 changed files
with
97 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,29 @@ | ||
# Workspace | ||
|
||
Some extra enhancements on offical `@nrwl/workspace`: | ||
|
||
## Executors | ||
|
||
- `nx-plugin-workspace:exec` | ||
|
||
Similar to `@nrwl/workspace:run-commands`, with enhancements below: | ||
|
||
- Use [`execa`](https://www.npmjs.com/package/execa) under the hood, support `preferLocal` `shell` and more options. | ||
- Support `ignoreFalsy`: will not append falsy value into command to execute, like `--watch=false`, which is useful in `Prisma` cli. | ||
- Support `useCamelCase`: control how args are transformed, kebab-case or camel-case? | ||
|
||
- `nx-plugin-workspace:node-build`: `@nrwl/node:build` | ||
- `nx-plugin-workspace:node-serve`: `@nrwl/node:serve` | ||
- `nx-plugin-workspace:node-package`: `@nrwl/node:package` | ||
- `nx-plugin-workspace:tsc`: `@nrwl/workspace:tsc` | ||
|
||
## Generators | ||
|
||
### react-scripts | ||
|
||
```bash | ||
nx g nx-plugin-workspace:react-scripts react-app | ||
``` | ||
|
||
Create offical `Create-React-App` template application, and `React-Scripts` related targets | ||
. |
1 change: 0 additions & 1 deletion
1
packages/nx-plugin-devkit/src/lib/generator-utils/install-package-task.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters