Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
34 changed files
with
15 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
"description": "Fake version of core for ngtsc tests" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
Oops, something went wrong.