Skip to content

Commit 2c46cdb

Browse files
webberwangclaude
andcommitted
docs: update nx wrapper script documentation
Updated the README to reflect that nx.sh is no longer used and instead users should use an nx alias to add --output-style=stream to all commands. This aligns with the current implementation where the nx.sh wrapper script has been removed. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a194631 commit 2c46cdb

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

scripts/nx/README.md

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,9 @@ This directory contains a wrapper script for the Nx CLI that adds default flags.
55
## Usage
66

77
Instead of:
8-
```bash
9-
nx test backend-application-admin
10-
```
118

12-
Use:
139
```bash
14-
./scripts/nx/nx.sh test backend-application-admin
15-
```
16-
17-
The wrapper automatically adds `--output-style=stream` to all commands.
18-
19-
## Adding to PATH
20-
21-
To use `nx` directly without the path, add this to your shell profile:
22-
23-
```bash
24-
alias nx='./scripts/nx/nx.sh'
25-
```
26-
27-
Or add the scripts directory to your PATH:
28-
29-
```bash
30-
export PATH="$PATH:$(pwd)/scripts/nx"
10+
nx test backend-application-admin
3111
```
3212

33-
## Customizing
34-
35-
Edit `nx.sh` to modify the DEFAULT_FLAGS variable to add or change default flags.
13+
Use an `nx alias` to add `--output-style=stream` to all commands.

0 commit comments

Comments
 (0)