zelda

Automatically `npm link` all your packages together!

Github星跟踪图

zelda travis npm downloads javascript style guide

link spin attack

Sometimes Link needs a little help from Zelda.

usage

  1. Install it globally.
npm install -g zelda
  1. Run zelda from your node project directory. For example:
cd ~/code/my-project
zelda

zelda finds all the node packages in your code folder (~/code/ in the example).
If any of these packages are listed as a dependency in the nearest package.json
of your working directory, it automatically symlinks it for you.

Zelda assumes that all your code lives in the directory one level up from the
folder where you run zelda. So, keep all your packages in a single folder like
~/code and run zelda inside one of the projects (ex: ~/code/my-project).

what you might do if you're clever

  1. Clone a cool project.
mkdir ~/code
cd ~/code
git clone git@github.com:feross/webtorrent.git
  1. Clone the project dependencies you plan to work on.
git clone git@github.com:feross/bittorrent-protocol.git
git clone git@github.com:feross/bittorrent-swarm.git
git clone git@github.com:feross/bittorrent-dht.git
  1. Recursively npm install all project dependencies, but npm link the ones that are local.
cd webtorrent
zelda

Gone are the days of running tons of npm link commands by hand!

features

  • Automatically npm link all your modules together
  • Supports dependencies, devDependencies, and optionalDependencies
  • Recursively runs npm install so your freshly cloned projects are ready to go!

link

license

MIT. Copyright Feross Aboukhadijeh.

主要指标

概览
名称与所有者feross/zelda
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2014-03-20 03:54:26
推送于2020-05-11 17:21:05
最后一次提交2019-08-14 13:12:38
发布数22
最新版本名称v3.4.2 (发布于 2019-08-14 13:12:38)
第一版名称v1.0.1 (发布于 2014-03-19 21:06:28)
用户参与
星数284
关注者数4
派生数32
提交数79
已启用问题?
问题数16
打开的问题数1
拉请求数9
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?