build(examples): include in main `tsconfig.json`
Also rename `examples/tsconfig.json` into `examples/tsconfig-build.json` so that it does not shadow the main `tsconfig.json` in editors Also adds `noImplicitAny` and `declarations` `examples/tsconfig.json`.
This commit is contained in:
parent
84b4338ab5
commit
1a035a0dc7
|
@ -13,7 +13,7 @@ cd `dirname $0`
|
|||
|
||||
DIST="../../../dist/examples";
|
||||
rm -rf -- $DIST
|
||||
$(npm bin)/tsc -p .
|
||||
$(npm bin)/tsc -p ./tsconfig-build.json
|
||||
|
||||
mkdir $DIST/vendor/
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"experimentalDecorators": true,
|
||||
"noImplicitAny": true,
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../../dist/examples",
|
|
@ -30,7 +30,6 @@
|
|||
"benchmarks_external",
|
||||
"payload_tests",
|
||||
"rollup-test",
|
||||
"@angular/examples/**/*.ts",
|
||||
"@angular/compiler-cli/integrationtest"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -52,6 +52,7 @@ var specFiles: any =
|
|||
'@angular/router/test/integration/bootstrap_spec.*',
|
||||
'@angular/integration_test/symbol_inspector/**',
|
||||
'@angular/upgrade/**',
|
||||
'@angular/**/e2e_test/**',
|
||||
'angular1_router/**',
|
||||
'payload_tests/**',
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue