{"action":"created","issue":{"url":"https://api.github.com/repos/flarum/core/issues/1367","repository_url":"https://api.github.com/repos/flarum/core","labels_url":"https://api.github.com/repos/flarum/core/issues/1367/labels{/name}","comments_url":"https://api.github.com/repos/flarum/core/issues/1367/comments","events_url":"https://api.github.com/repos/flarum/core/issues/1367/events","html_url":"https://github.com/flarum/core/pull/1367","id":296081306,"number":1367,"title":"[WIP] Webpack + new JS Extension API","user":{"login":"tobscure","id":128862,"avatar_url":"https://avatars0.githubusercontent.com/u/128862?v=4","gravatar_id":"","url":"https://api.github.com/users/tobscure","html_url":"https://github.com/tobscure","followers_url":"https://api.github.com/users/tobscure/followers","following_url":"https://api.github.com/users/tobscure/following{/other_user}","gists_url":"https://api.github.com/users/tobscure/gists{/gist_id}","starred_url":"https://api.github.com/users/tobscure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobscure/subscriptions","organizations_url":"https://api.github.com/users/tobscure/orgs","repos_url":"https://api.github.com/users/tobscure/repos","events_url":"https://api.github.com/users/tobscure/events{/privacy}","received_events_url":"https://api.github.com/users/tobscure/received_events","type":"User","site_admin":false},"labels":[{"id":253315529,"url":"https://api.github.com/repos/flarum/core/labels/Extension%20API","name":"Extension API","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-10T07:25:50Z","updated_at":"2018-02-10T20:06:41Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/flarum/core/pulls/1367","html_url":"https://github.com/flarum/core/pull/1367","diff_url":"https://github.com/flarum/core/pull/1367.diff","patch_url":"https://github.com/flarum/core/pull/1367.patch"},"body":"Doing this transition now is required to futureproof the extension API\r\nand will put us in very good stead for future migration to TypeScript.\r\n\r\nI've set it up so that minimal changes to the core JS files have been\r\nrequired so far. The only thing is that import paths with the 'flarum/'\r\nprefix won't work, so I've removed all of those.\r\n\r\nThis branch/PR will likely end up containing the whole new JS extension\r\nAPI as well, because using webpack means we have to explicitly expose a\r\npublic API (whereas before, when we just exposed our whole JS codebase\r\nas public).\r\n\r\nAs such, I've started refactoring the very top layer of the codebase\r\n(ie. the Application class, the boot/initialization process). Lots more\r\ncoming, and this will be a very good exercise in \"one thing at a time\"\r\nfor me!\r\n\r\nWill add a todo list here a bit later."},"comment":{"url":"https://api.github.com/repos/flarum/core/issues/comments/364686655","html_url":"https://github.com/flarum/core/pull/1367#issuecomment-364686655","issue_url":"https://api.github.com/repos/flarum/core/issues/1367","id":364686655,"user":{"login":"tobscure","id":128862,"avatar_url":"https://avatars0.githubusercontent.com/u/128862?v=4","gravatar_id":"","url":"https://api.github.com/users/tobscure","html_url":"https://github.com/tobscure","followers_url":"https://api.github.com/users/tobscure/followers","following_url":"https://api.github.com/users/tobscure/following{/other_user}","gists_url":"https://api.github.com/users/tobscure/gists{/gist_id}","starred_url":"https://api.github.com/users/tobscure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobscure/subscriptions","organizations_url":"https://api.github.com/users/tobscure/orgs","repos_url":"https://api.github.com/users/tobscure/repos","events_url":"https://api.github.com/users/tobscure/events{/privacy}","received_events_url":"https://api.github.com/users/tobscure/received_events","type":"User","site_admin":false},"created_at":"2018-02-10T20:06:41Z","updated_at":"2018-02-10T20:06:41Z","author_association":"OWNER","body":"Maybe, maybe not, I'll look into it later when I convert extensions "}}
{"actor":{"display_login":"tobscure"}}