@dysonic/dy-cli-cmd-install
v1.0.8
Published
Built-in install command for installing project dependencies through dy-cli
Downloads
390
Readme
@dysonic/dy-cli-cmd-install
Architecture
flowchart LR
user["User"] --> command["InstallCommand"]
command --> task["InstallProjectTask"]
task --> resolver["project resolver"]
task --> adapter["package manager adapter"]
adapter --> output["dependency installation"]@dysonic/dy-cli-cmd-install implements the dy-cli install command.
Its job is to install project dependencies through the unified dy-cli entry instead of asking users to choose a package-manager command directly.
Role
This package is intentionally small:
- resolve project context from
dy.config.ts - jump to the project root
- delegate dependency installation to the package-manager adapter
Command Semantics
dy-cli installBehavior
- in
singleprojects, it installs at the current project root - in monorepo child packages, it walks upward and installs from the monorepo root
- the underlying package manager is detected automatically
