{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel-upgrade/issues/41","repository_url":"https://api.github.com/repos/babel/babel-upgrade","labels_url":"https://api.github.com/repos/babel/babel-upgrade/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel-upgrade/issues/41/comments","events_url":"https://api.github.com/repos/babel/babel-upgrade/issues/41/events","html_url":"https://github.com/babel/babel-upgrade/issues/41","id":300465016,"node_id":"MDU6SXNzdWUzMDA0NjUwMTY=","number":41,"title":"Did not upgrade .babelrc file","user":{"login":"mnpenner","id":1112998,"node_id":"MDQ6VXNlcjExMTI5OTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1112998?v=4","gravatar_id":"","url":"https://api.github.com/users/mnpenner","html_url":"https://github.com/mnpenner","followers_url":"https://api.github.com/users/mnpenner/followers","following_url":"https://api.github.com/users/mnpenner/following{/other_user}","gists_url":"https://api.github.com/users/mnpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/mnpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnpenner/subscriptions","organizations_url":"https://api.github.com/users/mnpenner/orgs","repos_url":"https://api.github.com/users/mnpenner/repos","events_url":"https://api.github.com/users/mnpenner/events{/privacy}","received_events_url":"https://api.github.com/users/mnpenner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-02-27T01:55:19Z","updated_at":"2018-06-12T22:16:29Z","closed_at":null,"author_association":"NONE","body":"From what I can gather from the README, this tool should upgrade my `.babelrc` file too, right?\r\n\r\nI was running babel 6.x, it updated my package.json with dozens of `\"@babel/...\":  \"7.0.0-beta.39\"` lines but didn't touch my `.babelrc` file.\r\n\r\nDid it fail because I'm using json5 syntax perhaps? Here's my .babelrc file:\r\n\r\n```json5\r\n{\r\n  // babel uses json5 to parse this file; comments *are* allowed (https://github.com/kadirahq/react-storybook/issues/95#issuecomment-230488360)\r\n\r\n  \"presets\": ['@babel/preset-react'],\r\n  \"plugins\": [\r\n    // 'add-module-exports',\r\n    'syntax-flow',\r\n    'syntax-trailing-function-commas',\r\n\r\n    'check-es2015-constants',\r\n\r\n    'transform-flow-strip-types',\r\n    'transform-es3-member-expression-literals', // http://stackoverflow.com/a/33513000/65387\r\n    'transform-es3-property-literals',\r\n    'transform-es5-property-mutators',\r\n//    ['transform-es2015-modules-commonjs', {loose: true}], // https://babeljs.slack.com/archives/discussion/p1455667909000424 // Webpack 2 should have modules disabled\r\n    'transform-class-constructor-call',\r\n    'transform-class-properties',\r\n    'transform-decorators',\r\n    'transform-export-extensions',\r\n    'transform-object-rest-spread',\r\n    'transform-exponentiation-operator',\r\n    'transform-es2015-arrow-functions',\r\n    'transform-es2015-block-scoped-functions',\r\n    'transform-es2015-block-scoping',\r\n    ['transform-es2015-classes', {loose: true}], // https://gist.github.com/zertosh/4f818163e4d68d58c0fa, https://github.com/babel/babelify/issues/133\r\n    // 'transform-proto-to-assign',\r\n    'transform-es2015-computed-properties',\r\n    'transform-es2015-destructuring',\r\n    'transform-es2015-for-of',\r\n    'transform-es2015-function-name',\r\n    'transform-es2015-literals',\r\n    'transform-es2015-object-super',\r\n    'transform-es2015-parameters',\r\n    'transform-es2015-shorthand-properties',\r\n    'transform-es2015-spread',\r\n    'transform-es2015-sticky-regex',\r\n    'transform-es2015-template-literals',\r\n    'transform-es2015-typeof-symbol',\r\n    'transform-es2015-unicode-regex',\r\n    ['transform-runtime', {\"polyfill\": true, \"regenerator\": false}],\r\n\r\n    // http://stackoverflow.com/a/28709165/65387\r\n    // 'syntax-async-functions',\r\n    // ['fast-async',{\r\n    //     compiler: {\r\n    //         promises: true,\r\n    //         generators: false\r\n    //     }\r\n    // }],\r\n    // 'transform-async-to-generator',\r\n    // 'transform-regenerator',\r\n\r\n    // ['transform-async-to-module-method', {\r\n    //     module: 'bluebird',\r\n    //     method: 'coroutine'\r\n    // }],\r\n    //\r\n    // // 'transform-async-to-generator',\r\n    // ['transform-regenerator', { // http://babeljs.io/docs/plugins/transform-regenerator/\r\n    //     asyncGenerators: false, // true by default\r\n    //     generators: true, // true by default\r\n    //     async: false // true by default\r\n    // }],\r\n  ],\r\n  \"env\": {\r\n    \"production\": {\r\n      \"plugins\": [\r\n        \"transform-react-remove-prop-types\",\r\n        \"transform-react-inline-elements\",\r\n        \"transform-react-constant-elements\"\r\n      ]\r\n    }\r\n  },\r\n  \"compact\": false\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/babel/babel-upgrade/issues/comments/396752262","html_url":"https://github.com/babel/babel-upgrade/issues/41#issuecomment-396752262","issue_url":"https://api.github.com/repos/babel/babel-upgrade/issues/41","id":396752262,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Njc1MjI2Mg==","user":{"login":"jeffscottward","id":1263486,"node_id":"MDQ6VXNlcjEyNjM0ODY=","avatar_url":"https://avatars1.githubusercontent.com/u/1263486?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffscottward","html_url":"https://github.com/jeffscottward","followers_url":"https://api.github.com/users/jeffscottward/followers","following_url":"https://api.github.com/users/jeffscottward/following{/other_user}","gists_url":"https://api.github.com/users/jeffscottward/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffscottward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffscottward/subscriptions","organizations_url":"https://api.github.com/users/jeffscottward/orgs","repos_url":"https://api.github.com/users/jeffscottward/repos","events_url":"https://api.github.com/users/jeffscottward/events{/privacy}","received_events_url":"https://api.github.com/users/jeffscottward/received_events","type":"User","site_admin":false},"created_at":"2018-06-12T22:16:29Z","updated_at":"2018-06-12T22:16:29Z","author_association":"NONE","body":"Can verify the same issue. .babelrc remains unchaged."}}
{"actor":{"display_login":"jeffscottward"}}