From d578ab8f3c3ffb7c87e13aebd6560db740315fc0 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 5 May 2020 21:56:17 -0700 Subject: [PATCH] build: simplify package.jsons for all of our packages (#36944) We can remove all of the entry point resolution configuration from the package.json in our source code as ng_package rule adds the properties automatically and correctly configures them. This change simplifies our code base but doesn't have any impact on the package.json in the distributed npm_packages. PR Close #36944 --- packages/animations/browser/package.json | 8 -------- packages/animations/browser/testing/package.json | 10 +--------- packages/animations/package.json | 8 -------- packages/common/http/package.json | 8 -------- packages/common/http/testing/package.json | 10 +--------- packages/common/package.json | 8 -------- packages/common/testing/package.json | 10 +--------- packages/common/upgrade/package.json | 10 +--------- .../compiler-cli/test/ngtsc/fake_core/package.json | 12 ++---------- packages/compiler/package.json | 8 -------- packages/compiler/testing/package.json | 10 +--------- packages/core/package.json | 8 -------- packages/core/testing/package.json | 10 +--------- packages/elements/package.json | 8 -------- packages/forms/package.json | 8 -------- packages/localize/init/package.json | 10 +--------- packages/localize/package.json | 8 -------- packages/platform-browser-dynamic/package.json | 8 -------- .../platform-browser-dynamic/testing/package.json | 10 +--------- packages/platform-browser/animations/package.json | 8 -------- packages/platform-browser/package.json | 8 -------- packages/platform-browser/testing/package.json | 10 +--------- packages/platform-server/package.json | 8 -------- packages/platform-server/testing/package.json | 10 +--------- packages/platform-webworker-dynamic/package.json | 8 -------- packages/platform-webworker/package.json | 8 -------- packages/router/package.json | 8 -------- packages/router/testing/package.json | 10 +--------- packages/router/upgrade/package.json | 8 -------- packages/service-worker/config/package.json | 10 +--------- packages/service-worker/package.json | 8 -------- packages/upgrade/package.json | 8 -------- packages/upgrade/static/package.json | 8 -------- packages/upgrade/static/testing/package.json | 10 +--------- 34 files changed, 15 insertions(+), 287 deletions(-) diff --git a/packages/animations/browser/package.json b/packages/animations/browser/package.json index dbf3e987d4..fe766567c0 100644 --- a/packages/animations/browser/package.json +++ b/packages/animations/browser/package.json @@ -1,12 +1,4 @@ { "name": "@angular/animations/browser", - "typings": "./browser.d.ts", - "main": "../bundles/animations-browser.umd.js", - "module": "../fesm5/browser.js", - "es2015": "../fesm2015/browser.js", - "esm5": "../esm5/browser/browser.js", - "esm2015": "../esm2015/browser/browser.js", - "fesm5": "../fesm5/browser.js", - "fesm2015": "../fesm2015/browser.js", "sideEffects": false } diff --git a/packages/animations/browser/testing/package.json b/packages/animations/browser/testing/package.json index 131f6090ff..f542779566 100644 --- a/packages/animations/browser/testing/package.json +++ b/packages/animations/browser/testing/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/animations/browser/testing", - "typings": "./testing.d.ts", - "main": "../../bundles/animations-browser-testing.umd.js", - "module": "../../fesm5/browser/testing.js", - "es2015": "../../fesm2015/browser/testing.js", - "esm5": "../../esm5/browser/testing/testing.js", - "esm2015": "../../esm2015/browser/testing/testing.js", - "fesm5": "../../fesm5/browser/testing.js", - "fesm2015": "../../fesm2015/browser/testing.js" + "name": "@angular/animations/browser/testing" } diff --git a/packages/animations/package.json b/packages/animations/package.json index 2af76a8c5b..2fc440a1e6 100644 --- a/packages/animations/package.json +++ b/packages/animations/package.json @@ -2,14 +2,6 @@ "name": "@angular/animations", "version": "0.0.0-PLACEHOLDER", "description": "Angular - animations integration with web-animations", - "main": "./bundles/animations.umd.js", - "module": "./fesm5/animations.js", - "es2015": "./fesm2015/animations.js", - "esm5": "./esm5/animations.js", - "esm2015": "./esm2015/animations.js", - "fesm5": "./fesm5/animations.js", - "fesm2015": "./fesm2015/animations.js", - "typings": "./animations.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/common/http/package.json b/packages/common/http/package.json index 7fc014ef30..1e7f5dfa63 100644 --- a/packages/common/http/package.json +++ b/packages/common/http/package.json @@ -1,12 +1,4 @@ { "name": "@angular/common/http", - "typings": "./http.d.ts", - "main": "../bundles/common-http.umd.js", - "module": "../fesm5/http.js", - "es2015": "../fesm2015/http.js", - "esm5": "../esm5/http/http.js", - "esm2015": "../esm2015/http/http.js", - "fesm5": "../fesm5/http.js", - "fesm2015": "../fesm2015/http.js", "sideEffects": false } diff --git a/packages/common/http/testing/package.json b/packages/common/http/testing/package.json index 4eb691bf3a..c4eba37652 100644 --- a/packages/common/http/testing/package.json +++ b/packages/common/http/testing/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/common/http/testing", - "typings": "./testing.d.ts", - "main": "../../bundles/common-http-testing.umd.js", - "module": "../../fesm5/http/testing.js", - "es2015": "../../fesm2015/http/testing.js", - "esm5": "../../esm5/http/testing.js", - "esm2015": "../../esm2015/http/testing.js", - "fesm5": "../../fesm5/http/testing.js", - "fesm2015": "../../fesm2015/http/testing.js" + "name": "@angular/common/http/testing" } diff --git a/packages/common/package.json b/packages/common/package.json index 32e37c8ffa..f0f7e36925 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -2,14 +2,6 @@ "name": "@angular/common", "version": "0.0.0-PLACEHOLDER", "description": "Angular - commonly needed directives and services", - "main": "./bundles/common.umd.js", - "module": "./fesm5/common.js", - "es2015": "./fesm2015/common.js", - "esm5": "./esm5/common.js", - "esm2015": "./esm2015/common.js", - "fesm5": "./fesm5/common.js", - "fesm2015": "./fesm2015/common.js", - "typings": "./common.d.ts", "author": "angular", "license": "MIT", "locales": "locales", diff --git a/packages/common/testing/package.json b/packages/common/testing/package.json index 3374f26715..e8fa678ab7 100644 --- a/packages/common/testing/package.json +++ b/packages/common/testing/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/common/testing", - "typings": "./testing.d.ts", - "main": "../bundles/common-testing.umd.js", - "module": "../fesm5/testing.js", - "es2015": "../fesm2015/testing.js", - "esm5": "../esm5/testing/testing.js", - "esm2015": "../esm2015/testing/testing.js", - "fesm5": "../fesm5/testing.js", - "fesm2015": "../fesm2015/testing.js" + "name": "@angular/common/testing" } diff --git a/packages/common/upgrade/package.json b/packages/common/upgrade/package.json index 769ba43d5d..d0ad49604a 100644 --- a/packages/common/upgrade/package.json +++ b/packages/common/upgrade/package.json @@ -1,12 +1,4 @@ { "name": "@angular/common/upgrade", - "typings": "./upgrade.d.ts", - "main": "../bundles/common-upgrade.umd.js", - "module": "../fesm5/upgrade.js", - "es2015": "../fesm2015/upgrade.js", - "esm5": "../esm5/upgrade/upgrade.js", - "esm2015": "../esm2015/upgrade/upgrade.js", - "fesm5": "../fesm5/upgrade.js", - "fesm2015": "../fesm2015/upgrade.js", "sideEffects": false -} \ No newline at end of file +} diff --git a/packages/compiler-cli/test/ngtsc/fake_core/package.json b/packages/compiler-cli/test/ngtsc/fake_core/package.json index e26b2be3d8..d4ef164842 100644 --- a/packages/compiler-cli/test/ngtsc/fake_core/package.json +++ b/packages/compiler-cli/test/ngtsc/fake_core/package.json @@ -1,13 +1,5 @@ { "name": "@angular/core", "version": "0.0.0-FAKE-FOR-TESTS", - "description": "Fake version of core for ngtsc tests", - "main": "./bundles/fake_core.umd.js", - "module": "./fesm5/fake_core.js", - "es2015": "./fesm2015/fake_core.js", - "esm5": "./esm5/index.js", - "esm2015": "./esm2015/index.js", - "fesm5": "./fesm5/fake_core.js", - "fesm2015": "./fesm2015/fake_core.js", - "typings": "./index.d.ts" -} \ No newline at end of file + "description": "Fake version of core for ngtsc tests" +} diff --git a/packages/compiler/package.json b/packages/compiler/package.json index 2ca86b446c..a68958fba8 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -2,14 +2,6 @@ "name": "@angular/compiler", "version": "0.0.0-PLACEHOLDER", "description": "Angular - the compiler library", - "main": "./bundles/compiler.umd.js", - "module": "./fesm5/compiler.js", - "es2015": "./fesm2015/compiler.js", - "esm5": "./esm5/compiler.js", - "esm2015": "./esm2015/compiler.js", - "fesm5": "./fesm5/compiler.js", - "fesm2015": "./fesm2015/compiler.js", - "typings": "./compiler.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/compiler/testing/package.json b/packages/compiler/testing/package.json index 6031eb27b5..bd028b9cda 100644 --- a/packages/compiler/testing/package.json +++ b/packages/compiler/testing/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/compiler/testing", - "typings": "./testing.d.ts", - "main": "../bundles/compiler-testing.umd.js", - "module": "../fesm5/testing.js", - "es2015": "../fesm2015/testing.js", - "esm5": "../esm5/testing/testing.js", - "esm2015": "../esm2015/testing/testing.js", - "fesm5": "../fesm5/testing.js", - "fesm2015": "../fesm2015/testing.js" + "name": "@angular/compiler/testing" } diff --git a/packages/core/package.json b/packages/core/package.json index e2de2562ce..52fb1b3486 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,14 +2,6 @@ "name": "@angular/core", "version": "0.0.0-PLACEHOLDER", "description": "Angular - the core framework", - "main": "./bundles/core.umd.js", - "module": "./fesm5/core.js", - "es2015": "./fesm2015/core.js", - "esm5": "./esm5/core.js", - "esm2015": "./esm2015/core.js", - "fesm5": "./fesm5/core.js", - "fesm2015": "./fesm2015/core.js", - "typings": "./core.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/core/testing/package.json b/packages/core/testing/package.json index fd49a3d3c9..644533201c 100644 --- a/packages/core/testing/package.json +++ b/packages/core/testing/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/core/testing", - "typings": "./testing.d.ts", - "main": "../bundles/core-testing.umd.js", - "module": "../fesm5/testing.js", - "es2015": "../fesm2015/testing.js", - "esm5": "../esm5/testing/testing.js", - "esm2015": "../esm2015/testing/testing.js", - "fesm5": "../fesm5/testing.js", - "fesm2015": "../fesm2015/testing.js" + "name": "@angular/core/testing" } diff --git a/packages/elements/package.json b/packages/elements/package.json index c6116396fe..fb4dfa0291 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -2,14 +2,6 @@ "name": "@angular/elements", "version": "0.0.0-PLACEHOLDER", "description": "Angular - library for using Angular Components as Custom Elements", - "main": "./bundles/elements.umd.js", - "module": "./fesm5/elements.js", - "es2015": "./fesm2015/elements.js", - "esm5": "./esm5/elements.js", - "esm2015": "./esm2015/elements.js", - "fesm5": "../fesm5/testing.js", - "fesm2015": "../fesm2015/testing.js", - "typings": "./elements.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/forms/package.json b/packages/forms/package.json index 5e1bb99ac0..0b53a28e03 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -2,14 +2,6 @@ "name": "@angular/forms", "version": "0.0.0-PLACEHOLDER", "description": "Angular - directives and services for creating forms", - "main": "./bundles/forms.umd.js", - "module": "./fesm5/forms.js", - "es2015": "./fesm2015/forms.js", - "esm5": "./esm5/forms.js", - "esm2015": "./esm2015/forms.js", - "fesm5": "./fesm5/forms.js", - "fesm2015": "./fesm2015/forms.js", - "typings": "./forms.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/localize/init/package.json b/packages/localize/init/package.json index e63f637630..f48fcea66e 100644 --- a/packages/localize/init/package.json +++ b/packages/localize/init/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/localize/init", - "typings": "./index.d.ts", - "main": "../bundles/localize-init.umd.js", - "module": "../fesm5/init.js", - "es2015": "../fesm2015/init.js", - "esm5": "../esm5/init/index.js", - "esm2015": "../esm2015/init/index.js", - "fesm5": "../fesm5/init.js", - "fesm2015": "../fesm2015/init.js" + "name": "@angular/localize/init" } diff --git a/packages/localize/package.json b/packages/localize/package.json index 13248e787d..53dc3de304 100644 --- a/packages/localize/package.json +++ b/packages/localize/package.json @@ -2,14 +2,6 @@ "name": "@angular/localize", "version": "0.0.0-PLACEHOLDER", "description": "Angular - library for localizing messages", - "main": "./bundles/localize.umd.js", - "module": "./fesm5/localize.js", - "es2015": "./fesm2015/localize.js", - "esm5": "./esm5/index.js", - "esm2015": "./esm2015/index.js", - "fesm5": "./fesm5/localize.js", - "fesm2015": "./fesm2015/localize.js", - "typings": "./index.d.ts", "bin": { "localize-translate": "./src/tools/src/translate/main.js" }, diff --git a/packages/platform-browser-dynamic/package.json b/packages/platform-browser-dynamic/package.json index cee9f522b0..815fb3d996 100644 --- a/packages/platform-browser-dynamic/package.json +++ b/packages/platform-browser-dynamic/package.json @@ -2,14 +2,6 @@ "name": "@angular/platform-browser-dynamic", "version": "0.0.0-PLACEHOLDER", "description": "Angular - library for using Angular in a web browser with JIT compilation", - "main": "./bundles/platform-browser-dynamic.umd.js", - "module": "./fesm5/platform-browser-dynamic.js", - "es2015": "./fesm2015/platform-browser-dynamic.js", - "esm5": "./esm5/platform-browser-dynamic.js", - "esm2015": "./esm2015/platform-browser-dynamic.js", - "fesm5": "./fesm5/platform-browser-dynamic.js", - "fesm2015": "./fesm2015/platform-browser-dynamic.js", - "typings": "./platform-browser-dynamic.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/platform-browser-dynamic/testing/package.json b/packages/platform-browser-dynamic/testing/package.json index 217c057569..1748e0703b 100644 --- a/packages/platform-browser-dynamic/testing/package.json +++ b/packages/platform-browser-dynamic/testing/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/platform-browser-dynamic/testing", - "typings": "./testing.d.ts", - "main": "../bundles/platform-browser-dynamic-testing.umd.js", - "module": "../fesm5/testing.js", - "es2015": "../fesm2015/testing.js", - "esm5": "../esm5/testing/testing.js", - "esm2015": "../esm2015/testing/testing.js", - "fesm5": "../fesm5/testing.js", - "fesm2015": "../fesm2015/testing.js" + "name": "@angular/platform-browser-dynamic/testing" } diff --git a/packages/platform-browser/animations/package.json b/packages/platform-browser/animations/package.json index 8862a25b6f..60c8aa7be0 100644 --- a/packages/platform-browser/animations/package.json +++ b/packages/platform-browser/animations/package.json @@ -1,12 +1,4 @@ { "name": "@angular/platform-browser/animations", - "typings": "./animations.d.ts", - "main": "../bundles/platform-browser-animations.umd.js", - "module": "../fesm5/animations.js", - "es2015": "../fesm2015/animations.js", - "esm5": "../esm5/animations/animations.js", - "esm2015": "../esm2015/animations/animations.js", - "fesm5": "../fesm5/animations.js", - "fesm2015": "../fesm2015/animations.js", "sideEffects": false } diff --git a/packages/platform-browser/package.json b/packages/platform-browser/package.json index 6a1b676555..18049193d3 100644 --- a/packages/platform-browser/package.json +++ b/packages/platform-browser/package.json @@ -2,14 +2,6 @@ "name": "@angular/platform-browser", "version": "0.0.0-PLACEHOLDER", "description": "Angular - library for using Angular in a web browser", - "main": "./bundles/platform-browser.umd.js", - "module": "./fesm5/platform-browser.js", - "es2015": "./fesm2015/platform-browser.js", - "esm5": "./esm5/platform-browser.js", - "esm2015": "./esm2015/platform-browser.js", - "fesm5": "./fesm5/platform-browser.js", - "fesm2015": "./fesm2015/platform-browser.js", - "typings": "./platform-browser.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/platform-browser/testing/package.json b/packages/platform-browser/testing/package.json index 1a00568c53..c24a6b14c0 100644 --- a/packages/platform-browser/testing/package.json +++ b/packages/platform-browser/testing/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/platform-browser/testing", - "typings": "./testing.d.ts", - "main": "../bundles/platform-browser-testing.umd.js", - "module": "../fesm5/testing.js", - "es2015": "../fesm2015/testing.js", - "esm5": "../esm5/testing/testing.js", - "esm2015": "../esm2015/testing/testing.js", - "fesm5": "../fesm5/testing.js", - "fesm2015": "../fesm2015/testing.js" + "name": "@angular/platform-browser/testing" } diff --git a/packages/platform-server/package.json b/packages/platform-server/package.json index 2ada1e723c..78dc785d1a 100644 --- a/packages/platform-server/package.json +++ b/packages/platform-server/package.json @@ -2,14 +2,6 @@ "name": "@angular/platform-server", "version": "0.0.0-PLACEHOLDER", "description": "Angular - library for using Angular in Node.js", - "main": "./bundles/platform-server.umd.js", - "module": "./fesm5/platform-server.js", - "es2015": "./fesm2015/platform-server.js", - "esm5": "./esm5/platform-server.js", - "esm2015": "./esm2015/platform-server.js", - "fesm5": "./fesm5/platform-server.js", - "fesm2015": "./fesm2015/platform-server.js", - "typings": "./platform-server.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/platform-server/testing/package.json b/packages/platform-server/testing/package.json index ed539f92b9..a757260888 100644 --- a/packages/platform-server/testing/package.json +++ b/packages/platform-server/testing/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/platform-server/testing", - "typings": "./testing.d.ts", - "main": "../bundles/platform-server-testing.umd.js", - "module": "../fesm5/testing.js", - "es2015": "../fesm2015/testing.js", - "esm5": "../esm5/testing/testing.js", - "esm2015": "../esm2015/testing/testing.js", - "fesm5": "../fesm5/testing.js", - "fesm2015": "../fesm2015/testing.js" + "name": "@angular/platform-server/testing" } diff --git a/packages/platform-webworker-dynamic/package.json b/packages/platform-webworker-dynamic/package.json index c4c47a72e9..fa16cc9ddf 100644 --- a/packages/platform-webworker-dynamic/package.json +++ b/packages/platform-webworker-dynamic/package.json @@ -2,14 +2,6 @@ "name": "@angular/platform-webworker-dynamic", "version": "0.0.0-PLACEHOLDER", "description": "Angular - library for using Angular in a web browser with web workers", - "main": "./bundles/platform-webworker-dynamic.umd.js", - "module": "./fesm5/platform-webworker-dynamic.js", - "es2015": "./fesm2015/platform-webworker-dynamic.js", - "esm5": "./esm5/platform-webworker-dynamic.js", - "esm2015": "./esm2015/platform-webworker-dynamic.js", - "fesm5": "./fesm5/platform-webworker-dynamic.js", - "fesm2015": "./fesm2015/platform-webworker-dynamic.js", - "typings": "./platform-webworker-dynamic.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/platform-webworker/package.json b/packages/platform-webworker/package.json index 86af7cec98..5205adb55a 100644 --- a/packages/platform-webworker/package.json +++ b/packages/platform-webworker/package.json @@ -2,14 +2,6 @@ "name": "@angular/platform-webworker", "version": "0.0.0-PLACEHOLDER", "description": "Angular - library for using Angular in a web browser with web workers", - "main": "./bundles/platform-webworker.umd.js", - "module": "./fesm5/platform-webworker.js", - "es2015": "./fesm2015/platform-webworker.js", - "esm5": "./esm5/platform-webworker.js", - "esm2015": "./esm2015/platform-webworker.js", - "fesm5": "./fesm5/platform-webworker.js", - "fesm2015": "./fesm2015/platform-webworker.js", - "typings": "./platform-webworker.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/router/package.json b/packages/router/package.json index f62fe79720..b64f73c7ed 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -2,14 +2,6 @@ "name": "@angular/router", "version": "0.0.0-PLACEHOLDER", "description": "Angular - the routing library", - "main": "./bundles/router.umd.js", - "module": "./fesm5/router.js", - "es2015": "./fesm2015/router.js", - "esm5": "./esm5/router.js", - "esm2015": "./esm2015/router.js", - "fesm5": "./fesm5/router.js", - "fesm2015": "./fesm2015/router.js", - "typings": "./router.d.ts", "keywords": [ "angular", "router" diff --git a/packages/router/testing/package.json b/packages/router/testing/package.json index 80a08ba3ae..9d2b97088d 100644 --- a/packages/router/testing/package.json +++ b/packages/router/testing/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/router/testing", - "typings": "./testing.d.ts", - "main": "../bundles/router-testing.umd.js", - "module": "../fesm5/testing.js", - "es2015": "../fesm2015/testing.js", - "esm5": "../esm5/testing/testing.js", - "esm2015": "../esm2015/testing/testing.js", - "fesm5": "../fesm5/testing.js", - "fesm2015": "../fesm2015/testing.js" + "name": "@angular/router/testing" } diff --git a/packages/router/upgrade/package.json b/packages/router/upgrade/package.json index 8578e3a0f8..32d495166e 100644 --- a/packages/router/upgrade/package.json +++ b/packages/router/upgrade/package.json @@ -1,12 +1,4 @@ { "name": "@angular/router/upgrade", - "typings": "./upgrade.d.ts", - "main": "../bundles/router-upgrade.umd.js", - "module": "../fesm5/upgrade.js", - "es2015": "../fesm2015/upgrade.js", - "esm5": "../esm5/upgrade/upgrade.js", - "esm2015": "../esm2015/upgrade/upgrade.js", - "fesm5": "../fesm5/upgrade.js", - "fesm2015": "../fesm2015/upgrade.js", "sideEffects": false } diff --git a/packages/service-worker/config/package.json b/packages/service-worker/config/package.json index 66d809c05b..580a5f5d5d 100644 --- a/packages/service-worker/config/package.json +++ b/packages/service-worker/config/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/service-worker/config", - "typings": "./index.d.ts", - "main": "../bundles/service-worker-config.umd.js", - "module": "../fesm5/config/index.js", - "es2015": "../fesm15/config/index.js", - "esm5": "../esm5/config/index.js", - "esm2015": "../esm2015/config/index.js", - "fesm5": "../fesm5/config/index.js", - "fesm2015": "../fesm2015/config/index.js" + "name": "@angular/service-worker/config" } diff --git a/packages/service-worker/package.json b/packages/service-worker/package.json index f16f1907a7..ee2198963b 100644 --- a/packages/service-worker/package.json +++ b/packages/service-worker/package.json @@ -2,14 +2,6 @@ "name": "@angular/service-worker", "version": "0.0.0-PLACEHOLDER", "description": "Angular - service worker tooling!", - "main": "./bundles/service-worker.umd.js", - "module": "./fesm5/service-worker.js", - "es2015": "./fesm2015/service-worker.js", - "esm5": "./esm5/service-worker.js", - "esm2015": "./esm2015/service-worker.js", - "fesm5": "./fesm5/service-worker.js", - "fesm2015": "./fesm2015/service-worker.js", - "typings": "./service-worker.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/upgrade/package.json b/packages/upgrade/package.json index 18d1c97745..b322bd3cbe 100644 --- a/packages/upgrade/package.json +++ b/packages/upgrade/package.json @@ -2,14 +2,6 @@ "name": "@angular/upgrade", "version": "0.0.0-PLACEHOLDER", "description": "Angular - the library for easing update from v1 to v2", - "main": "./bundles/upgrade.umd.js", - "module": "./fesm5/upgrade.js", - "es2015": "./fesm2015/upgrade.js", - "esm5": "./esm5/upgrade.js", - "esm2015": "./esm2015/upgrade.js", - "fesm5": "./fesm5/upgrade.js", - "fesm2015": "./fesm2015/upgrade.js", - "typings": "./upgrade.d.ts", "author": "angular", "license": "MIT", "peerDependencies": { diff --git a/packages/upgrade/static/package.json b/packages/upgrade/static/package.json index a91e77fa42..1486686a03 100644 --- a/packages/upgrade/static/package.json +++ b/packages/upgrade/static/package.json @@ -1,12 +1,4 @@ { "name": "@angular/upgrade/static", - "typings": "./static.d.ts", - "main": "../bundles/upgrade-static.umd.js", - "module": "../fesm5/static.js", - "es2015": "../fesm2015/static.js", - "esm5": "../esm5/static/static.js", - "esm2015": "../esm2015/static/static.js", - "fesm5": "../fesm5/static.js", - "fesm2015": "../fesm2015/static.js", "sideEffects": false } diff --git a/packages/upgrade/static/testing/package.json b/packages/upgrade/static/testing/package.json index eecbcda470..38899dc0ef 100644 --- a/packages/upgrade/static/testing/package.json +++ b/packages/upgrade/static/testing/package.json @@ -1,11 +1,3 @@ { - "name": "@angular/upgrade/static/testing", - "main": "../../bundles/upgrade-static-testing.umd.js", - "module": "../../fesm5/static/testing.js", - "es2015": "../../fesm2015/static/testing.js", - "esm5": "../../esm5/static/testing/testing.js", - "esm2015": "../../esm2015/static/testing/testing.js", - "fesm5": "../../fesm5/static/testing.js", - "fesm2015": "../../fesm2015/static/testing.js", - "typings": "./testing.d.ts" + "name": "@angular/upgrade/static/testing" }