{"action":"created","issue":{"url":"https://api.github.com/repos/d3/d3/issues/3284","repository_url":"https://api.github.com/repos/d3/d3","labels_url":"https://api.github.com/repos/d3/d3/issues/3284/labels{/name}","comments_url":"https://api.github.com/repos/d3/d3/issues/3284/comments","events_url":"https://api.github.com/repos/d3/d3/issues/3284/events","html_url":"https://github.com/d3/d3/issues/3284","id":307902714,"number":3284,"title":"[RFC]: rewrite in typescript and restructure to monorepo","user":{"login":"sandangel","id":22189661,"avatar_url":"https://avatars0.githubusercontent.com/u/22189661?v=4","gravatar_id":"","url":"https://api.github.com/users/sandangel","html_url":"https://github.com/sandangel","followers_url":"https://api.github.com/users/sandangel/followers","following_url":"https://api.github.com/users/sandangel/following{/other_user}","gists_url":"https://api.github.com/users/sandangel/gists{/gist_id}","starred_url":"https://api.github.com/users/sandangel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandangel/subscriptions","organizations_url":"https://api.github.com/users/sandangel/orgs","repos_url":"https://api.github.com/users/sandangel/repos","events_url":"https://api.github.com/users/sandangel/events{/privacy}","received_events_url":"https://api.github.com/users/sandangel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-23T04:56:55Z","updated_at":"2018-03-23T08:06:12Z","closed_at":null,"author_association":"NONE","body":"Problem:\r\n- Multi repo make it hard to tracking issue... We already know why Google, Facebook use Mono Repo pattern.\r\n- Type definition is not align with js implementation. Most of case we have to use type `any`, which makes the `@types/d3` useless.\r\n\r\nSolution:\r\n- Restructure multi repos to Mono repo.\r\n- Use tools like typewiz to convert source code to TS with less effort. And @urish is offering help if open source maintainer want to convert their source code to TS. I'm willing to help too and I believe there are many people from community are willing too.\r\n\r\nRoadmap:\r\n- Convert to mono repo and config build system\r\n- Start rewriting in TS\r\n- Release in d3 v6"},"comment":{"url":"https://api.github.com/repos/d3/d3/issues/comments/375574119","html_url":"https://github.com/d3/d3/issues/3284#issuecomment-375574119","issue_url":"https://api.github.com/repos/d3/d3/issues/3284","id":375574119,"user":{"login":"sandangel","id":22189661,"avatar_url":"https://avatars0.githubusercontent.com/u/22189661?v=4","gravatar_id":"","url":"https://api.github.com/users/sandangel","html_url":"https://github.com/sandangel","followers_url":"https://api.github.com/users/sandangel/followers","following_url":"https://api.github.com/users/sandangel/following{/other_user}","gists_url":"https://api.github.com/users/sandangel/gists{/gist_id}","starred_url":"https://api.github.com/users/sandangel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandangel/subscriptions","organizations_url":"https://api.github.com/users/sandangel/orgs","repos_url":"https://api.github.com/users/sandangel/repos","events_url":"https://api.github.com/users/sandangel/events{/privacy}","received_events_url":"https://api.github.com/users/sandangel/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T08:06:11Z","updated_at":"2018-03-23T08:06:11Z","author_association":"NONE","body":"Hi @curran, \r\nI suppose that having separate repo is not better because \r\n- there are some packages depend on others and when we change some code in 1 package, which package will have to change too? Having all packages in mono repo help us analyze the effects of changes better.\r\n- when user found a bug when using 1 package, they fire an issue. But the actual problem was caused by the others, then we have to reference user to the right place...\r\n\r\nBesides that, the amount of typescript users using d3 is large but the percentage of users using @types/d3 is quite small because as I said, it completely useless. I have to use `any` type all the time."}}
{"actor":{"display_login":"sandangel"}}