Provides a simpler way to link local projects together instead of using npm link.
npm install -g simple-links
There are two aliases for the command, sl
and simple-link
.
By default it will search for a package.json
file to find the name of the package and place it in the node_modules
directory of the current project.
sl ../path/to/some-package
You can also watch for changes and it will automatically update the link.
sl ../path/to/some-package -w
However if you wish to link any other directory, you can specify the output directory.
sl ../path/to/some-package ./some-folder
Simple links will not copy over node_modules
therefore if you are working on an unreleased repo, or have added a new module to an existing one, you will run into issues of missing modules.