1.1.9 • Published 2 years ago
monorepo-cd v1.1.9
monorepo-cd
Lets you quickly jump across packages and projects.
Installation
npm i -g monorepo-cdAdd to your .zshrc or .bashrc:
eval "$(monorepo-cd --init m)"Usage
Just run m in your shell to enter interactive mode.
You can also immediately type the package name to navigate to it instantly:
m web-frontendNavigating across projects
You can also jump to a different project by using the -p flag:
m -p monorepo-cdOr using an interactive mode:
m -pProjects are scanned starting from the directory specified in the PROJECTS_DIR env variable (defaults to ~/Projects)
Configuring the function name
The generated bash function name can be configured in your rc file:
# Use `m`
eval "$(monorepo-cd --init m)"
# Use `mcd`
eval "$(monorepo-cd --init mcd)"