{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/3281","repository_url":"https://api.github.com/repos/jupyterlab/jupyterlab","labels_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/3281/labels{/name}","comments_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/3281/comments","events_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/3281/events","html_url":"https://github.com/jupyterlab/jupyterlab/issues/3281","id":276799862,"number":3281,"title":"Rename jlpm to yarn?","user":{"login":"gnestor","id":512354,"avatar_url":"https://avatars3.githubusercontent.com/u/512354?v=4","gravatar_id":"","url":"https://api.github.com/users/gnestor","html_url":"https://github.com/gnestor","followers_url":"https://api.github.com/users/gnestor/followers","following_url":"https://api.github.com/users/gnestor/following{/other_user}","gists_url":"https://api.github.com/users/gnestor/gists{/gist_id}","starred_url":"https://api.github.com/users/gnestor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnestor/subscriptions","organizations_url":"https://api.github.com/users/gnestor/orgs","repos_url":"https://api.github.com/users/gnestor/repos","events_url":"https://api.github.com/users/gnestor/events{/privacy}","received_events_url":"https://api.github.com/users/gnestor/received_events","type":"User","site_admin":false},"labels":[{"id":387307886,"url":"https://api.github.com/repos/jupyterlab/jupyterlab/labels/type:Question","name":"type:Question","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-26T05:00:10Z","updated_at":"2017-11-30T17:51:19Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"> The jlpm command is a JupyterLab-provided, locked version of the yarn. If you have yarn installed already, you can use the yarn command when developing, and it will use the local version of yarn in jupyterlab/yarn.js when run in the repository or a built application directory.\r\n\r\nfrom https://github.com/jupyterlab/jupyterlab/blob/master/CONTRIBUTING.md#installing-jupyterlab\r\n\r\nGiven that running `yarn` in the jupyterlab directory will automatically use the local jlpm binary, why not just rename jlpm to yarn and instruct developers to use `yarn install` and `yarn build`?"},"comment":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/comments/348267189","html_url":"https://github.com/jupyterlab/jupyterlab/issues/3281#issuecomment-348267189","issue_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/3281","id":348267189,"user":{"login":"sccolbert","id":137289,"avatar_url":"https://avatars0.githubusercontent.com/u/137289?v=4","gravatar_id":"","url":"https://api.github.com/users/sccolbert","html_url":"https://github.com/sccolbert","followers_url":"https://api.github.com/users/sccolbert/followers","following_url":"https://api.github.com/users/sccolbert/following{/other_user}","gists_url":"https://api.github.com/users/sccolbert/gists{/gist_id}","starred_url":"https://api.github.com/users/sccolbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sccolbert/subscriptions","organizations_url":"https://api.github.com/users/sccolbert/orgs","repos_url":"https://api.github.com/users/sccolbert/repos","events_url":"https://api.github.com/users/sccolbert/events{/privacy}","received_events_url":"https://api.github.com/users/sccolbert/received_events","type":"User","site_admin":false},"created_at":"2017-11-30T17:51:19Z","updated_at":"2017-11-30T17:51:19Z","author_association":"CONTRIBUTOR","body":"> But it sounds like that's what we're already doing when yarn is run from the lab repo or build directory, right? \r\n\r\nThat's how `yarn` works. What's happening is the global `yarn` command is seeing that there's a locally installed `yarn`, and is delegating to that instead of the global `yarn`. This is a common pattern for node utilities. It's not something we're doing explicitly.\r\n\r\nIf we *didnt* provide the `jlpm` command, we either force the user to have `yarn` installed globally (so that they could actually type `yarn` and have it work), or we would have to have some form of `npm run yarn` command.\r\n\r\n"}}
{"actor":{"display_login":"sccolbert"}}