stable

Clone or download

Read-only

Upgrade to Babel v7

Part of request #12386 Upgrade dev dependencies October 2018 edition How to test: - no errors in make post-checkout. - no errors in npm run test for components wih tests. - npm run coverage still works. - Dynamic import of Kanban's modals should still work. - Vue files using object rest/spread should still initialize. - no functional changes expected. - no code broken on IE11. Note: - Patches will be needed for external plugins - Object Rest/Spread made it into ES2018 and no longer needs a plugin. It is included in @babel/preset-env. - polyfills for Chrome/Chromium (in tests) are imported by Babel itself, so we no longer need to import them at the top of our tests. - It does not work for IE11 so we still have to import the polyfills manually. Change-Id: Iffa779a0e8f0b6ceedf1625efc78de313213e45c

Modified Files

Name
M package-lock.json +1760 −1361 Go to diff View file
M package.json +8 −9 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/app.spec.js +0 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app.spec.js +0 −2 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/app.spec.js +0 −1 Go to diff View file
M plugins/frs/www/js/angular/src/app/app.spec.js +0 −2 Go to diff View file
M plugins/git/www/scripts/repositories/src/app.spec.js +0 −1 Go to diff View file
M plugins/label/www/scripts/project-labeled-items/src/app.spec.js +0 −1 Go to diff View file
M plugins/pullrequest/www/scripts/create-pullrequest-button/src/app.spec.js +0 −1 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/app.spec.js +0 −1 Go to diff View file
M plugins/timetracking/www/scripts/personal-timetracking-widget/src/app.spec.js +0 −1 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/index.spec.js +0 −1 Go to diff View file
M plugins/tracker/www/scripts/artifact-action-buttons/src/app.spec.js +0 −1 Go to diff View file
M tools/utils/scripts/ie11-polyfill-names.js +2 −2 Go to diff View file
M tools/utils/scripts/webpack-rule-configs.js +7 −13 Go to diff View file