Commit db2f55b
fix(engine): address four Copilot review comments on PR #433
- vitest.config.mjs: move coverage block inside test:{} so Vitest
applies it correctly (top-level coverage is ignored)
- check.mjs: detect package manager from package.json#packageManager
or lockfiles instead of hardcoding pnpm; npm projects now use
'npm run typecheck', yarn uses 'yarn typecheck', pnpm unchanged
- check.mjs: fix warning to print typecheckCmd (the resolved command)
rather than stack.typecheck (the config value before resolution)
- cli.mjs: add early --help/-h check before ensureDependencies() to
avoid installing packages just to print usage text
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 573b2fb commit db2f55b
3 files changed
Lines changed: 35 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
26 | 47 | | |
27 | 48 | | |
28 | 49 | | |
| |||
32 | 53 | | |
33 | 54 | | |
34 | 55 | | |
35 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
36 | 59 | | |
37 | 60 | | |
38 | 61 | | |
| |||
89 | 112 | | |
90 | 113 | | |
91 | 114 | | |
92 | | - | |
| 115 | + | |
93 | 116 | | |
94 | 117 | | |
95 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
495 | 501 | | |
496 | 502 | | |
497 | 503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
0 commit comments