{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12398","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12398/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12398/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12398/events","html_url":"https://github.com/Microsoft/TypeScript/issues/12398","id":190593174,"number":12398,"title":"What is the best approach for publishing pure TypeScript libaries?","user":{"login":"atrauzzi","id":115199,"avatar_url":"https://avatars.githubusercontent.com/u/115199?v=3","gravatar_id":"","url":"https://api.github.com/users/atrauzzi","html_url":"https://github.com/atrauzzi","followers_url":"https://api.github.com/users/atrauzzi/followers","following_url":"https://api.github.com/users/atrauzzi/following{/other_user}","gists_url":"https://api.github.com/users/atrauzzi/gists{/gist_id}","starred_url":"https://api.github.com/users/atrauzzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atrauzzi/subscriptions","organizations_url":"https://api.github.com/users/atrauzzi/orgs","repos_url":"https://api.github.com/users/atrauzzi/repos","events_url":"https://api.github.com/users/atrauzzi/events{/privacy}","received_events_url":"https://api.github.com/users/atrauzzi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-20T23:44:46Z","updated_at":"2016-11-22T01:28:51Z","closed_at":null,"body":"I'm working on a library that depends on React, Redux and a handful of other usual suspects.\r\n\r\nThe thing about this library is that it's really not intended to be consumed by ES.  It's just a handful of base classes and conventions that will be used by other TS projects.\r\n\r\nThis means it has no entrypoint.  Almost like a class library in C#, etc...\r\n\r\nWhat I'm basically aiming for is that the inclusion of this package will cause all the downstream dependencies to be pulled in - which I believe npm/yarn will take care of.  Then I want the consuming project to reference my `.ts` and `.tsx` files, and then when it builds, that's when the files actually get compiled into what will invariably be entrypoints.\r\n\r\nIn my mind, the biggest challenge is just ensuring that somehow the modules can be referenced by other TS code.  But as always, there could be more to this than what I'm immediately aware of ;)"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/262121116","html_url":"https://github.com/Microsoft/TypeScript/issues/12398#issuecomment-262121116","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12398","id":262121116,"user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T01:28:51Z","updated_at":"2016-11-22T01:28:51Z","body":"I do not think we have recommendation for this scenario specifically. potentially, your users can add a pre-build step that copies the sources from your files locally before passing them to tsc or webpack."}}
{"actor":{"display_login":"mhegazy"}}