Skip to content

Zyie/simple-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Links

Provides a simpler way to link local projects together instead of using npm link.

Installation

npm install -g simple-links

Usage

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

Limitations

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published