2.0.0 • Published 1 year ago
simple-links v2.0.0
Simple Links
Provides a simpler way to link local projects together instead of using npm link.
Installation
npm install -g simple-linksUsage
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-packageYou can also watch for changes and it will automatically update the link.
sl ../path/to/some-package -wHowever if you wish to link any other directory, you can specify the output directory.
sl ../path/to/some-package ./some-folderLimitations
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.