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

@ -12,7 +12,7 @@
"@angular/tsc-wrapped": "5.0.0-beta.5",
"reflect-metadata": "^0.1.2",
"minimist": "^1.2.0",
"tsickle": "^0.23.4",
"tsickle": "^0.23.6",
"chokidar": "^1.4.2"
},
"peerDependencies": {

View File

@ -1,29 +1,23 @@
{
"extends": "../tsconfig-build.json",
"compilerOptions": {
"baseUrl": ".",
"declaration": true,
"experimentalDecorators": true,
"noImplicitAny": true,
"strictNullChecks": true,
"module": "commonjs",
"outDir": "../../dist/packages/compiler-cli",
"stripInternal": false,
"target": "es5",
"baseUrl": ".",
"rootDir": ".",
"paths": {
"@angular/compiler": ["../../dist/packages/compiler"],
"@angular/tsc-wrapped": ["../../dist/packages-dist/tsc-wrapped"]
},
"rootDir": ".",
"sourceMap": true,
"inlineSources": true,
"target": "es5",
"lib": [
"es6",
"dom"
],
"skipLibCheck": true
"outDir": "../../dist/packages/compiler-cli"
},
"exclude": [
"integrationtest"
],
"files": [
"index.ts",
"ngtools2.ts",