{"action":"created","issue":{"url":"https://api.github.com/repos/lerna/lerna/issues/1174","repository_url":"https://api.github.com/repos/lerna/lerna","labels_url":"https://api.github.com/repos/lerna/lerna/issues/1174/labels{/name}","comments_url":"https://api.github.com/repos/lerna/lerna/issues/1174/comments","events_url":"https://api.github.com/repos/lerna/lerna/issues/1174/events","html_url":"https://github.com/lerna/lerna/issues/1174","id":285074774,"node_id":"MDU6SXNzdWUyODUwNzQ3NzQ=","number":1174,"title":"Can I use local lerna packages as scripts on the root of the repository ?","user":{"login":"danielo515","id":2270425,"node_id":"MDQ6VXNlcjIyNzA0MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/2270425?v=4","gravatar_id":"","url":"https://api.github.com/users/danielo515","html_url":"https://github.com/danielo515","followers_url":"https://api.github.com/users/danielo515/followers","following_url":"https://api.github.com/users/danielo515/following{/other_user}","gists_url":"https://api.github.com/users/danielo515/gists{/gist_id}","starred_url":"https://api.github.com/users/danielo515/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielo515/subscriptions","organizations_url":"https://api.github.com/users/danielo515/orgs","repos_url":"https://api.github.com/users/danielo515/repos","events_url":"https://api.github.com/users/danielo515/events{/privacy}","received_events_url":"https://api.github.com/users/danielo515/received_events","type":"User","site_admin":false},"labels":[{"id":295312276,"node_id":"MDU6TGFiZWwyOTUzMTIyNzY=","url":"https://api.github.com/repos/lerna/lerna/labels/stale","name":"stale","color":"ffffff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2017-12-29T11:02:34Z","updated_at":"2019-08-02T17:31:52Z","closed_at":"2019-02-17T17:23:42Z","author_association":"CONTRIBUTOR","body":"Hello,\r\n\r\nI have a lerna monorepo with a couple of packages that are command line commands. I can link those packages and they work fine. I was wondering if it is possible to use those packages (without executing npm link on any of them) like they were installed as dev-dependencies from the root of te repository. Let me explain with an example:\r\n\r\nI have a monorepo with two packages, `pkg-one`, `pkg-cmd`. The second one (`pkg-cmd`) has a bin section, which allows it to be executed as a cmd script. What I want to do is to have an npm script on my root package.json that just executes `pkg-cmd` as it were installed as a dev-dependency, just like you do with your test suite, for example.\r\n\r\nHope I've been clear.\r\nRegards\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lerna/lerna/issues/comments/517784388","html_url":"https://github.com/lerna/lerna/issues/1174#issuecomment-517784388","issue_url":"https://api.github.com/repos/lerna/lerna/issues/1174","id":517784388,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNzc4NDM4OA==","user":{"login":"evocateur","id":5605,"node_id":"MDQ6VXNlcjU2MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5605?v=4","gravatar_id":"","url":"https://api.github.com/users/evocateur","html_url":"https://github.com/evocateur","followers_url":"https://api.github.com/users/evocateur/followers","following_url":"https://api.github.com/users/evocateur/following{/other_user}","gists_url":"https://api.github.com/users/evocateur/gists{/gist_id}","starred_url":"https://api.github.com/users/evocateur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evocateur/subscriptions","organizations_url":"https://api.github.com/users/evocateur/orgs","repos_url":"https://api.github.com/users/evocateur/repos","events_url":"https://api.github.com/users/evocateur/events{/privacy}","received_events_url":"https://api.github.com/users/evocateur/received_events","type":"User","site_admin":false},"created_at":"2019-08-02T17:31:52Z","updated_at":"2019-08-02T17:31:52Z","author_association":"MEMBER","body":"Yes, from the root."}}
{"actor":{"display_login":"evocateur"}}