{"action":"created","issue":{"url":"https://api.github.com/repos/feross/zelda/issues/15","repository_url":"https://api.github.com/repos/feross/zelda","labels_url":"https://api.github.com/repos/feross/zelda/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/feross/zelda/issues/15/comments","events_url":"https://api.github.com/repos/feross/zelda/issues/15/events","html_url":"https://github.com/feross/zelda/issues/15","id":165099719,"number":15,"title":"Check for global npm link packages","user":{"login":"Kikobeats","id":2096101,"avatar_url":"https://avatars.githubusercontent.com/u/2096101?v=3","gravatar_id":"","url":"https://api.github.com/users/Kikobeats","html_url":"https://github.com/Kikobeats","followers_url":"https://api.github.com/users/Kikobeats/followers","following_url":"https://api.github.com/users/Kikobeats/following{/other_user}","gists_url":"https://api.github.com/users/Kikobeats/gists{/gist_id}","starred_url":"https://api.github.com/users/Kikobeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kikobeats/subscriptions","organizations_url":"https://api.github.com/users/Kikobeats/orgs","repos_url":"https://api.github.com/users/Kikobeats/repos","events_url":"https://api.github.com/users/Kikobeats/events{/privacy}","received_events_url":"https://api.github.com/users/Kikobeats/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-12T14:49:59Z","updated_at":"2016-07-18T21:37:23Z","closed_at":"2016-07-18T21:37:23Z","body":"Sometimes I'm developing a project that use a dependency created by mine.\r\n\r\nIn this case, because I have a local copy of the dependency and I want to be used in the project, I link the dependency as global and later in the project I do a `npm link` to import the dependency\r\n\r\nCould be possible do the same but providing a zelda flag for that? something like if the flag is provided check first if the dependency exist as global in the system instead of fetch from npm registry\r\n\r\nThe thing that I'm trying to avoid is this:\r\n\r\n```bash\r\n[zelda] Found 0 local packages for your-project\r\n\r\n❯ npm link my-global-dep\r\nyour-project/node_modules/my-global-dep -> /usr/local/lib/node_modules/my-global-dep -> /Users/me/Projects/my-global-dep\r\n```"},"comment":{"url":"https://api.github.com/repos/feross/zelda/issues/comments/233466853","html_url":"https://github.com/feross/zelda/issues/15#issuecomment-233466853","issue_url":"https://api.github.com/repos/feross/zelda/issues/15","id":233466853,"user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T21:37:23Z","updated_at":"2016-07-18T21:37:23Z","body":"Why not just have `zelda` create the symlink? `zelda` is supposed to be a replacement for `npm link`.\r\n\r\nIf the project you are developing is in your `Projects` folder, then it should be founda nd symlinked into `your-project/node_modules/` when you invoke `zelda`."}}
{"actor":{"display_login":"feross"}}