{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/3909","repository_url":"https://api.github.com/repos/Automattic/jetpack","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/3909/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/3909/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/3909/events","html_url":"https://github.com/Automattic/jetpack/pull/3909","id":156349419,"number":3909,"title":"Admin Page: Upgrade to babel 6 ","user":{"login":"oskosk","id":746152,"avatar_url":"https://avatars.githubusercontent.com/u/746152?v=3","gravatar_id":"","url":"https://api.github.com/users/oskosk","html_url":"https://github.com/oskosk","followers_url":"https://api.github.com/users/oskosk/followers","following_url":"https://api.github.com/users/oskosk/following{/other_user}","gists_url":"https://api.github.com/users/oskosk/gists{/gist_id}","starred_url":"https://api.github.com/users/oskosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskosk/subscriptions","organizations_url":"https://api.github.com/users/oskosk/orgs","repos_url":"https://api.github.com/users/oskosk/repos","events_url":"https://api.github.com/users/oskosk/events{/privacy}","received_events_url":"https://api.github.com/users/oskosk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Admin%20Page","name":"Admin Page","color":"0087BE"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Status]%20Review%20Complete","name":"[Status] Review Complete","color":"009800"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/53","html_url":"https://github.com/Automattic/jetpack/milestones/4.3.1","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/53/labels","id":1868422,"number":53,"title":"4.3.1","description":"","creator":{"login":"richardmuscat","id":2287740,"avatar_url":"https://avatars.githubusercontent.com/u/2287740?v=3","gravatar_id":"","url":"https://api.github.com/users/richardmuscat","html_url":"https://github.com/richardmuscat","followers_url":"https://api.github.com/users/richardmuscat/followers","following_url":"https://api.github.com/users/richardmuscat/following{/other_user}","gists_url":"https://api.github.com/users/richardmuscat/gists{/gist_id}","starred_url":"https://api.github.com/users/richardmuscat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardmuscat/subscriptions","organizations_url":"https://api.github.com/users/richardmuscat/orgs","repos_url":"https://api.github.com/users/richardmuscat/repos","events_url":"https://api.github.com/users/richardmuscat/events{/privacy}","received_events_url":"https://api.github.com/users/richardmuscat/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":1,"state":"open","created_at":"2016-07-06T19:44:26Z","updated_at":"2016-07-06T23:12:51Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-05-23T19:36:03Z","updated_at":"2016-07-08T13:48:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/3909","html_url":"https://github.com/Automattic/jetpack/pull/3909","diff_url":"https://github.com/Automattic/jetpack/pull/3909.diff","patch_url":"https://github.com/Automattic/jetpack/pull/3909.patch"},"body":"**This PR attempts to introduce again Babel 6 into the toolchain**\r\n\r\n- Fixes tests running with babel core 6. _As the `npm run build-client` and `npm run watch` tasks rely on `babel-loader` and we kept `babel-loader` 5.x in package.json, this went unnoticed after #3863_ .\r\n\r\n#### Changes proposed in this Pull Request:\r\n\r\n- Updates to `babel-core` 6.8.\r\n- Updates to `babel-loader` 6.x.\r\n- Adds `.babelrc` declaring presets like `es2015` and `react`.\r\n- Removes usage of `export * from './foo';` if favor of an alternative like\r\n```\r\nimport * as foo from './foo';\r\nconst all = { ...foo };\r\n\r\nexport default all;\r\n```\r\n\r\n#### Testing instructions\r\n\r\n**Checking that tests work:**\r\n\r\n```\r\n$ npm run distclean\r\n$ npm install\r\n$ npm run test-client\r\n```\r\n\r\nYou should see an error and before that **67 test passing*.\r\n\r\n**Checking that client build works.**\r\n\r\n  ```\r\n  $ npm run clean\r\n  $ npm run distclean\r\n  $ npm run build\r\n  ```\r\n2 - There should be `.js` files in `_inc/build`."},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/231363790","html_url":"https://github.com/Automattic/jetpack/pull/3909#issuecomment-231363790","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/3909","id":231363790,"user":{"login":"zinigor","id":374293,"avatar_url":"https://avatars.githubusercontent.com/u/374293?v=3","gravatar_id":"","url":"https://api.github.com/users/zinigor","html_url":"https://github.com/zinigor","followers_url":"https://api.github.com/users/zinigor/followers","following_url":"https://api.github.com/users/zinigor/following{/other_user}","gists_url":"https://api.github.com/users/zinigor/gists{/gist_id}","starred_url":"https://api.github.com/users/zinigor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinigor/subscriptions","organizations_url":"https://api.github.com/users/zinigor/orgs","repos_url":"https://api.github.com/users/zinigor/repos","events_url":"https://api.github.com/users/zinigor/events{/privacy}","received_events_url":"https://api.github.com/users/zinigor/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T13:48:16Z","updated_at":"2016-07-08T13:48:16Z","body":"Ah, OK then, I see. This can probably go into 4.3, that's just build tools. And we'll probably get rid of many warnings as well, what do you think @dereksmart ?"}}
{"actor":{"display_login":"zinigor"}}