build: publish tree of files rather than FESMs (#18541)

* Remove now unnecessary portions of build.
* Add a compilePackageES5 method to build ES5 from sources
* Rework all package.json and rollup config files to new format
* Remove "extends" from tsconfig-build.json files and fixup compilation roots

PR Close #18541
This commit is contained in:
Jason Aden
2017-08-02 19:15:30 -07:00
parent ee04217d53
commit fd701b07f0
160 changed files with 1079 additions and 892 deletions

View File

@ -13,18 +13,20 @@
node_modules/zone.js/dist/zone_externs.js
--js node_modules/rxjs/**.js
--process_common_js_modules
--js node_modules/@angular/core/package.json
--js node_modules/@angular/core/esm15/index.js
--js node_modules/@angular/core/src/testability/testability.externs.js
--js node_modules/@angular/common/package.json
--js node_modules/@angular/common/esm15/index.js
--js node_modules/@angular/platform-browser/package.json
--js node_modules/@angular/platform-browser/esm15/index.js
--module_resolution=node
node_modules/@angular/core/@angular/core.js
--js_module_root=node_modules/@angular/core
node_modules/@angular/core/src/testability/testability.externs.js
node_modules/@angular/common/@angular/common.js
--js_module_root=node_modules/@angular/common
node_modules/@angular/platform-browser/@angular/platform-browser.js
--js_module_root=node_modules/@angular/platform-browser
--package_json_entry_names es2015
--process_common_js_modules
--js built/**.js
--entry_point=built/src/main

View File

@ -11,7 +11,7 @@
"@angular/platform-browser": "file:../../dist/packages-dist/platform-browser",
"@angular/platform-server": "file:../../dist/packages-dist/platform-server",
"@angular/tsc-wrapped": "file:../../dist/packages-dist/tsc-wrapped",
"google-closure-compiler": "20170409.0.0",
"google-closure-compiler": "git+https://github.com/alexeagle/closure-compiler.git#packagejson.dist",
"rxjs": "5.3.1",
"typescript": "~2.3.1",
"zone.js": "0.8.6"
@ -29,4 +29,4 @@
"preprotractor": "tsc -p e2e",
"protractor": "protractor e2e/protractor.config.js"
}
}
}