link
Link a local package for development.
Alias: ln
Usage
Terminal
ut link [OPTIONS] [PACKAGE]Examples
Terminal
# In the package you want to link (e.g., my-lib/)
cd my-lib
ut link
# In the project that uses the package
cd my-app
ut link my-libHow It Works
ut link(without arguments) creates a global symlink to the current packageut link <package>creates a symlink from localnode_modules/<package>to the global link
Use Cases
- Developing a library and testing it in another project
- Working on monorepo packages without publishing
- Debugging npm packages locally
Last updated on