This is a built-in CLI process used to manage dependencies whether using mhy's dependencies or not.
Alias: deps
Tools
search
collect
install
Search
# List all dependencies mhy providesmhydepsearch# Search for certain dependencies mhy providesmhydepsearchreact
Collect
# Collect all dependencies not listed in your package.json (provided by mhy)mhydepcollect# Write collected dependencies to you packages.json as 'mhyDependencies'mhydepcollectwrite# Write collected dependencies to you packages.json as 'peerDependencies'mhydepcollectwrite-peer# Write collected dependencies to you packages.json both as 'mhyDependencies' and 'peerDependencies'mhydepcollectwrite-both
Install
Utility tool to install *dependecies from your package.json.
This tool is usually only used for special cases, most of the times you don't need this.
# Install dependencies found in mhyDependenciesmhydepinstall# Install dependencies found in peerDependenciesmhydepinstallpeer