Commit 968fb3c
authored
feat: improve dependency installer robustness, add tests, and document npm TAR_ENTRY_ERROR (#26)
- installer: make Node installs idempotent (skip when node_modules is up-to-date)
- add isDependenciesUpToDate helper
- use cmd.exe /c on Windows to correctly invoke .cmd package managers
- add non-interactive flags per package manager and set npm progress/log env vars
- stream output unless JSON mode (suppress output when JSON)
- installer: improve Python venv handling
- create .venv when missing, run uv venv if required
- use pip from venv to install requirements with non-interactive flags
- use --no-progress / --disable-pip-version-check and other optimizations
- clearer user-facing messages when not in JSON mode
- installer: small fixes
- RestoreDotnetProject: avoid setting Stdin to prevent interactive prompts
- setupWithPoetry: improve success messaging
- ensure child commands respect JSON output mode
- cmd: display "Installing <path> (manager)" for each project when not in JSON mode
- docs: add troubleshooting section for "npm TAR_ENTRY_ERROR" on Windows with causes and solutions (long paths, antivirus, pnpm, etc.)
- tests: add comprehensive unit tests for core commands and service packages (core, env, logmanager, orchestrator)
- misc: update ports.json timestamp and coverage mapping reorder1 parent 820359f commit 968fb3c
File tree
9 files changed
+2636
-1795
lines changed- cli
- docs/commands
- src
- cmd/app/commands
- internal
- installer
- portmanager/.azure
- service
9 files changed
+2636
-1795
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
614 | 658 | | |
615 | 659 | | |
616 | 660 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
337 | 347 | | |
338 | 348 | | |
339 | 349 | | |
| |||
0 commit comments