Commit c907894
committed
refactor: simplify root scripts with unified flag forwarding
Simplify monorepo scripts to use clean 'pnpm run <cmd> --<flag>' pattern:
- build, test, check, lint, type now support flag forwarding with --
- Removed redundant script variants (test:unit now aliases test)
- Added build:all for building all packages
- CI scripts now use base commands with --ci flag
- pretest automatically builds CLI before running tests
Examples:
pnpm run build # Build CLI
pnpm run build -- --clean # Build with --clean flag
pnpm run test # Run tests
pnpm run test -- -t pattern # Run tests matching pattern
pnpm run build:custom-node -- --yes # Build custom Node.js1 parent 3d781d6 commit c907894
1 file changed
+16
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
187 | 188 | | |
188 | | - | |
189 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
190 | 192 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
| |||
0 commit comments