{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/tsify/issues/85","labels_url":"https://api.github.com/repos/TypeStrong/tsify/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/tsify/issues/85/comments","events_url":"https://api.github.com/repos/TypeStrong/tsify/issues/85/events","html_url":"https://github.com/TypeStrong/tsify/issues/85","id":109737018,"number":85,"title":"tsify should use `typescript` as a `peerDependency`","user":{"login":"basarat","id":874898,"avatar_url":"https://avatars.githubusercontent.com/u/874898?v=3","gravatar_id":"","url":"https://api.github.com/users/basarat","html_url":"https://github.com/basarat","followers_url":"https://api.github.com/users/basarat/followers","following_url":"https://api.github.com/users/basarat/following{/other_user}","gists_url":"https://api.github.com/users/basarat/gists{/gist_id}","starred_url":"https://api.github.com/users/basarat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basarat/subscriptions","organizations_url":"https://api.github.com/users/basarat/orgs","repos_url":"https://api.github.com/users/basarat/repos","events_url":"https://api.github.com/users/basarat/events{/privacy}","received_events_url":"https://api.github.com/users/basarat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-05T06:09:10Z","updated_at":"2015-10-07T20:56:57Z","closed_at":null,"body":"Otherwise the user installed version isn't used \r\nCode : https://github.com/TypeStrong/tsify/blob/f8105a64236892e5401641214772319e7e8a3384/package.json#L31\r\n\r\n\r\n/cc @johnnyreilly "},"comment":{"url":"https://api.github.com/repos/TypeStrong/tsify/issues/comments/146325905","html_url":"https://github.com/TypeStrong/tsify/issues/85#issuecomment-146325905","issue_url":"https://api.github.com/repos/TypeStrong/tsify/issues/85","id":146325905,"user":{"login":"smrq","id":400889,"avatar_url":"https://avatars.githubusercontent.com/u/400889?v=3","gravatar_id":"","url":"https://api.github.com/users/smrq","html_url":"https://github.com/smrq","followers_url":"https://api.github.com/users/smrq/followers","following_url":"https://api.github.com/users/smrq/following{/other_user}","gists_url":"https://api.github.com/users/smrq/gists{/gist_id}","starred_url":"https://api.github.com/users/smrq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smrq/subscriptions","organizations_url":"https://api.github.com/users/smrq/orgs","repos_url":"https://api.github.com/users/smrq/repos","events_url":"https://api.github.com/users/smrq/events{/privacy}","received_events_url":"https://api.github.com/users/smrq/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T20:56:56Z","updated_at":"2015-10-07T20:56:56Z","body":"I'm not really convinced that this is the correct course of action.  There's lots of arguments for both sides happening across a lot of different threads in various repos, but ultimately the way I'm reading the comments from the npm team, `dependency` is the correct type for TypeScript.\r\n\r\nhttps://github.com/npm/npm/issues/6565#issuecomment-76482462\r\n\r\nIn this case, \"I need this thing directly available to me\" applies to the TS compiler, whereas \"if you want to use me, *you* need this thing available to *you*\" applies to Browserify.\r\n\r\nI'm open to further discussion, though.\r\n\r\nNote that you can pass in whatever compiler you like with the `typescript` API option (the name of which I'm definitely open to changing per TypeStrong/meta#1)."}}