{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/5898","labels_url":"https://api.github.com/repos/atom/atom/issues/5898/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/5898/comments","events_url":"https://api.github.com/repos/atom/atom/issues/5898/events","html_url":"https://github.com/atom/atom/pull/5898","id":60241188,"number":5898,"title":"Transpile all .ts files","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":"closed","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-03-08T04:46:24Z","updated_at":"2015-03-27T01:50:42Z","closed_at":"2015-03-26T21:33:04Z","pull_request":{"url":"https://api.github.com/repos/atom/atom/pulls/5898","html_url":"https://github.com/atom/atom/pull/5898","diff_url":"https://github.com/atom/atom/pull/5898.diff","patch_url":"https://github.com/atom/atom/pull/5898.patch"},"body":"This is similar to https://github.com/atom/atom/pull/5299 \r\n\r\nProvide TypeScript support to ease package development.\r\n\r\n# Motivation \r\n \r\n* Provides built in support for sourcemaps \r\n* No longer need to check in `.js` files when creating packages using TypeScript \r\n\r\n# Sample \r\n\r\nYou can see a sample package here : https://github.com/basarat/atom-typescript-test \r\n![image](https://cloud.githubusercontent.com/assets/874898/6544570/f7ff3fc8-c5a9-11e4-86ed-964df59ee80b.png)\r\n![image](https://cloud.githubusercontent.com/assets/874898/6544572/0a1edda8-c5aa-11e4-92cd-d32043e1f958.png)\r\n\r\nsame as other PR \r\n```js\r\nglobal.require('../src/typescript/').getCacheHits()\r\nglobal.require('../src/typescript/').getCacheMisses()\r\n```\r\n\r\n## TODO:\r\n\r\n- [x] Add transpiling support\r\n- [x] Add tests\r\n\r\n/cc @vvakame @csnover"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/86787291","html_url":"https://github.com/atom/atom/pull/5898#issuecomment-86787291","issue_url":"https://api.github.com/repos/atom/atom/issues/5898","id":86787291,"user":{"login":"teppeis","id":26476,"avatar_url":"https://avatars.githubusercontent.com/u/26476?v=3","gravatar_id":"","url":"https://api.github.com/users/teppeis","html_url":"https://github.com/teppeis","followers_url":"https://api.github.com/users/teppeis/followers","following_url":"https://api.github.com/users/teppeis/following{/other_user}","gists_url":"https://api.github.com/users/teppeis/gists{/gist_id}","starred_url":"https://api.github.com/users/teppeis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teppeis/subscriptions","organizations_url":"https://api.github.com/users/teppeis/orgs","repos_url":"https://api.github.com/users/teppeis/repos","events_url":"https://api.github.com/users/teppeis/events{/privacy}","received_events_url":"https://api.github.com/users/teppeis/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T01:50:41Z","updated_at":"2015-03-27T01:50:41Z","body":"> We would like to also add new API for single file transpilation, making [typescript-simple](https://github.com/teppeis/typescript-simple)'s life much simpler (no pun intended :)); and to ensure this scenario is well supported in the future.\r\n\r\nAwesome! I'm waiting."}}