From 58dd4673cd65da6c009568462a3d7fde535b3282 Mon Sep 17 00:00:00 2001 From: Jason Aden Date: Tue, 7 Mar 2017 10:27:56 -0800 Subject: [PATCH] refactor: remove babel config files --- packages/animations/.babelrc | 14 ------- packages/common/.babelrc | 13 ------- packages/common/.babelrc-testing | 14 ------- packages/compiler/.babelrc-testing | 15 -------- packages/core/.babelrc | 23 ----------- packages/core/.babelrc-testing | 12 ------ packages/forms/.babelrc | 18 --------- packages/http/.babelrc | 14 ------- packages/http/.babelrc-testing | 17 --------- packages/platform-browser-dynamic/.babelrc | 15 -------- .../platform-browser-dynamic/.babelrc-testing | 19 ---------- packages/platform-browser/.babelrc | 13 ------- packages/platform-browser/.babelrc-animations | 16 -------- .../.babelrc-animations-testing | 17 --------- packages/platform-browser/.babelrc-testing | 14 ------- packages/platform-server/.babelrc | 15 -------- packages/platform-server/.babelrc-testing | 18 --------- packages/platform-webworker-dynamic/.babelrc | 17 --------- packages/platform-webworker/.babelrc | 16 -------- packages/router/.babelrc | 38 ------------------- packages/router/.babelrc-testing | 16 -------- packages/router/.babelrc-upgrade | 15 -------- packages/upgrade/.babelrc | 21 ---------- packages/upgrade/.babelrc-static | 12 ------ 24 files changed, 402 deletions(-) delete mode 100644 packages/animations/.babelrc delete mode 100644 packages/common/.babelrc delete mode 100644 packages/common/.babelrc-testing delete mode 100644 packages/compiler/.babelrc-testing delete mode 100644 packages/core/.babelrc delete mode 100644 packages/core/.babelrc-testing delete mode 100644 packages/forms/.babelrc delete mode 100644 packages/http/.babelrc delete mode 100644 packages/http/.babelrc-testing delete mode 100644 packages/platform-browser-dynamic/.babelrc delete mode 100644 packages/platform-browser-dynamic/.babelrc-testing delete mode 100644 packages/platform-browser/.babelrc delete mode 100644 packages/platform-browser/.babelrc-animations delete mode 100644 packages/platform-browser/.babelrc-animations-testing delete mode 100644 packages/platform-browser/.babelrc-testing delete mode 100644 packages/platform-server/.babelrc delete mode 100644 packages/platform-server/.babelrc-testing delete mode 100644 packages/platform-webworker-dynamic/.babelrc delete mode 100644 packages/platform-webworker/.babelrc delete mode 100644 packages/router/.babelrc delete mode 100644 packages/router/.babelrc-testing delete mode 100644 packages/router/.babelrc-upgrade delete mode 100644 packages/upgrade/.babelrc delete mode 100644 packages/upgrade/.babelrc-static diff --git a/packages/animations/.babelrc b/packages/animations/.babelrc deleted file mode 100644 index 9133fb5629..0000000000 --- a/packages/animations/.babelrc +++ /dev/null @@ -1,14 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/animations": "ng.animations", - "rxjs/Observable": "Rx", - "rxjs/Subject": "Rx" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/animations" -} diff --git a/packages/common/.babelrc b/packages/common/.babelrc deleted file mode 100644 index 1a645b60dd..0000000000 --- a/packages/common/.babelrc +++ /dev/null @@ -1,13 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/common": "ng.common", - "@angular/core": "ng.core", - "rxjs/Subject": "Rx" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/common" -} diff --git a/packages/common/.babelrc-testing b/packages/common/.babelrc-testing deleted file mode 100644 index aef20179e9..0000000000 --- a/packages/common/.babelrc-testing +++ /dev/null @@ -1,14 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/common": "ng.common", - "@angular/common/testing": "ng.common.testing", - "@angular/core": "ng.core", - "rxjs/Subject": "Rx" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/common/testing" -} diff --git a/packages/compiler/.babelrc-testing b/packages/compiler/.babelrc-testing deleted file mode 100644 index 01b2a56822..0000000000 --- a/packages/compiler/.babelrc-testing +++ /dev/null @@ -1,15 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/core/testing": "ng.core.testing", - "@angular/compiler": "ng.compiler", - "rxjs/Observable": "Rx", - "rxjs/Subject": "Rx" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/core/testing" -} diff --git a/packages/core/.babelrc b/packages/core/.babelrc deleted file mode 100644 index ab40eed7e1..0000000000 --- a/packages/core/.babelrc +++ /dev/null @@ -1,23 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "rxjs/Subject": "Rx", - "rxjs/Observable": "Rx", - "rxjs/Observer": "Rx", - "rxjs/Subscription": "Rx", - - "rxjs/symbol/observable": "Rx.Symbol.observable", - - "rxjs/observable/merge": "Rx.Observable", - - "rxjs/operator/share": "Rx.Observable.prototype" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/core", - "compact": false -} - diff --git a/packages/core/.babelrc-testing b/packages/core/.babelrc-testing deleted file mode 100644 index 35c7ab2789..0000000000 --- a/packages/core/.babelrc-testing +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/core/testing": "ng.core.testing", - "rxjs/Subject": "Rx" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/core/testing" -} diff --git a/packages/forms/.babelrc b/packages/forms/.babelrc deleted file mode 100644 index 68e57e5ae2..0000000000 --- a/packages/forms/.babelrc +++ /dev/null @@ -1,18 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/compiler": "ng.compiler", - "@angular/forms": "ng.forms", - "rxjs/Observable": "Rx", - "rxjs/Subject": "Rx", - "rxjs/observable/fromPromise": "Rx.Observable", - "rxjs/operator/toPromise": "Rx.Observable.prototype" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/forms" -} diff --git a/packages/http/.babelrc b/packages/http/.babelrc deleted file mode 100644 index b6852a07e4..0000000000 --- a/packages/http/.babelrc +++ /dev/null @@ -1,14 +0,0 @@ -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/http": "ng.http", - "rxjs/Observable": "Rx", - "rxjs/Subject": "Rx" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/http" -} diff --git a/packages/http/.babelrc-testing b/packages/http/.babelrc-testing deleted file mode 100644 index eabaf6beab..0000000000 --- a/packages/http/.babelrc-testing +++ /dev/null @@ -1,17 +0,0 @@ -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/http": "ng.http", - "@angular/http/testing": "ng.http.testing", - "rxjs/Observable": "Rx", - "rxjs/ReplaySubject": "Rx", - "rxjs/Subject": "Rx", - "rxjs/operator/take": "Rx.Observable.prototype" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/http/testing" -} diff --git a/packages/platform-browser-dynamic/.babelrc b/packages/platform-browser-dynamic/.babelrc deleted file mode 100644 index b3e31984a5..0000000000 --- a/packages/platform-browser-dynamic/.babelrc +++ /dev/null @@ -1,15 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/compiler": "ng.compiler", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/platform-browser-dynamic": "ng.platformBrowserDynamic" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/platform-browser-dynamic" -} diff --git a/packages/platform-browser-dynamic/.babelrc-testing b/packages/platform-browser-dynamic/.babelrc-testing deleted file mode 100644 index a7697569bc..0000000000 --- a/packages/platform-browser-dynamic/.babelrc-testing +++ /dev/null @@ -1,19 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/core/testing": "ng.core.testing", - "@angular/common": "ng.common", - "@angular/compiler": "ng.compiler", - "@angular/compiler/testing": "ng.compiler.testing", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/platform-browser/testing": "ng.platformBrowser.testing", - "@angular/platform-browser-dynamic": "ng.platformBrowserDynamic", - "@angular/platform-browser-dynamic/testing": "ng.platformBrowserDynamic.testing" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/platform-browser-dynamic/testing" -} diff --git a/packages/platform-browser/.babelrc b/packages/platform-browser/.babelrc deleted file mode 100644 index bb5d83d4b5..0000000000 --- a/packages/platform-browser/.babelrc +++ /dev/null @@ -1,13 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/platform-browser": "ng.platformBrowser" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/platform-browser" -} diff --git a/packages/platform-browser/.babelrc-animations b/packages/platform-browser/.babelrc-animations deleted file mode 100644 index d7e2d7791a..0000000000 --- a/packages/platform-browser/.babelrc-animations +++ /dev/null @@ -1,16 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/animations": "ng.animations", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/platform-browser/animations": "ng.platformBrowser.animations", - "rxjs/Observable": "Rx", - "rxjs/Subject": "Rx" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/platform-browser/animations" -} diff --git a/packages/platform-browser/.babelrc-animations-testing b/packages/platform-browser/.babelrc-animations-testing deleted file mode 100644 index c7eb429c51..0000000000 --- a/packages/platform-browser/.babelrc-animations-testing +++ /dev/null @@ -1,17 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/animations": "ng.animations", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/platform-browser/animations": "ng.platformBrowser.animations", - "@angular/platform-browser/testing": "ng.platformBrowser.testing", - "rxjs/Observable": "Rx", - "rxjs/Subject": "Rx" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/platform-browser/animations/testing" -} diff --git a/packages/platform-browser/.babelrc-testing b/packages/platform-browser/.babelrc-testing deleted file mode 100644 index 1a07a358a3..0000000000 --- a/packages/platform-browser/.babelrc-testing +++ /dev/null @@ -1,14 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/platform-browser/testing": "ng.platformBrowser.testing" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/platform-browser/testing" -} diff --git a/packages/platform-server/.babelrc b/packages/platform-server/.babelrc deleted file mode 100644 index 38e142664d..0000000000 --- a/packages/platform-server/.babelrc +++ /dev/null @@ -1,15 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - '@angular/core': 'ng.core', - '@angular/common': 'ng.common', - '@angular/compiler': 'ng.compiler', - '@angular/platform-browser': 'ng.platformBrowser', - '@angular/platform-server': 'ng.platformServer' - }, - "exactGlobals": true - }]], - "moduleId": "@angular/platform-server" -} diff --git a/packages/platform-server/.babelrc-testing b/packages/platform-server/.babelrc-testing deleted file mode 100644 index e3d9952478..0000000000 --- a/packages/platform-server/.babelrc-testing +++ /dev/null @@ -1,18 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/compiler": "ng.compiler", - "@angular/compiler/testing": "ng.compiler.testing", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/platform-server": "ng.platformServer", - "@angular/platform-server/testing": "ng.platformServer.testing", - "@angular/platform-browser-dynamic/testing": "ng.platformBrowserDynamic.testing" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/platform-server/testing" -} diff --git a/packages/platform-webworker-dynamic/.babelrc b/packages/platform-webworker-dynamic/.babelrc deleted file mode 100644 index 7a64b7e903..0000000000 --- a/packages/platform-webworker-dynamic/.babelrc +++ /dev/null @@ -1,17 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/compiler": "ng.compiler", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/platform-browser-dynamic": "ng.platformBrowserDynamic", - "@angular/platform-webworker": "ng.platformWebworker", - "@angular/platform-webworker-dynamic": "ng.platformWebworkerDynamic" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/platform-webworker-dynamic" -} diff --git a/packages/platform-webworker/.babelrc b/packages/platform-webworker/.babelrc deleted file mode 100644 index 72102c16de..0000000000 --- a/packages/platform-webworker/.babelrc +++ /dev/null @@ -1,16 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/platform-webworker": "ng.platformWebworker", - "rxjs/Observable": "Rx", - "rxjs/Subject": "Rx" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/platform-webworker" -} diff --git a/packages/router/.babelrc b/packages/router/.babelrc deleted file mode 100644 index 5a23fed0b7..0000000000 --- a/packages/router/.babelrc +++ /dev/null @@ -1,38 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/router": "ng.router", - - "rxjs/BehaviorSubject": "Rx", - "rxjs/Observable": "Rx", - "rxjs/Subject": "Rx", - "rxjs/Subscription": "Rx", - "rxjs/util/EmptyError": "Rx", - - "rxjs/observable/from": "Rx.Observable", - "rxjs/observable/fromPromise": "Rx.Observable", - "rxjs/observable/forkJoin": "Rx.Observable", - "rxjs/observable/of": "Rx.Observable", - - "rxjs/operator/toPromise": "Rx.Observable.prototype", - "rxjs/operator/map": "Rx.Observable.prototype", - "rxjs/operator/mergeAll": "Rx.Observable.prototype", - "rxjs/operator/concatAll": "Rx.Observable.prototype", - "rxjs/operator/mergeMap": "Rx.Observable.prototype", - "rxjs/operator/reduce": "Rx.Observable.prototype", - "rxjs/operator/every": "Rx.Observable.prototype", - "rxjs/operator/first": "Rx.Observable.prototype", - "rxjs/operator/catch": "Rx.Observable.prototype", - "rxjs/operator/last": "Rx.Observable.prototype", - "rxjs/operator/filter": "Rx.Observable.prototype", - "rxjs/operator/concatMap": "Rx.Observable.prototype" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/router" -} diff --git a/packages/router/.babelrc-testing b/packages/router/.babelrc-testing deleted file mode 100644 index 8167b5eb54..0000000000 --- a/packages/router/.babelrc-testing +++ /dev/null @@ -1,16 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/common/testing": "ng.common.testing", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/router": "ng.router", - "@angular/router/testing": "ng.router.testing" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/router/testing" -} diff --git a/packages/router/.babelrc-upgrade b/packages/router/.babelrc-upgrade deleted file mode 100644 index 931f1f8ad3..0000000000 --- a/packages/router/.babelrc-upgrade +++ /dev/null @@ -1,15 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/router": "ng.router", - "@angular/router/upgrade": "ng.router.upgrade", - "@angular/upgrade/static": "ng.upgrade.static" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/router/upgrade" -} diff --git a/packages/upgrade/.babelrc b/packages/upgrade/.babelrc deleted file mode 100644 index 9ffc504bf5..0000000000 --- a/packages/upgrade/.babelrc +++ /dev/null @@ -1,21 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/compiler": "ng.compiler", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/platform-browser-dynamic": "ng.platformBrowserDynamic", - "@angular/upgrade": "ng.upgrade", - "rxjs/Subject": "Rx", - "rxjs/observable/PromiseObservable": "Rx", // this is wrong, but this stuff has changed in rxjs - // b.6 so we need to fix it when we update. - "rxjs/operator/toPromise": "Rx.Observable.prototype", - "rxjs/Observable": "Rx" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/upgrade" -} diff --git a/packages/upgrade/.babelrc-static b/packages/upgrade/.babelrc-static deleted file mode 100644 index e85ea99663..0000000000 --- a/packages/upgrade/.babelrc-static +++ /dev/null @@ -1,12 +0,0 @@ - -{ - "presets": ["es2015"], - "plugins": [["transform-es2015-modules-umd", { - "globals": { - "@angular/upgrade": "ng.upgrade", - "@angular/upgrade/static": "ng.upgrade.static" - }, - "exactGlobals": true - }]], - "moduleId": "@angular/upgrade/static" -}