20a9dbef8e
With 62157990554306fb76e1e254b31855f966ff65f2 we introduced schematics for `core`, but due to the fact the Saucelabs legacy job does not run for PRs, we didn't realize that the legacy Saucelabs job ends up running the schematic specs. We don't want to run these schematic tests in the legacy-saucelabs job, as these are node-only specs and the non-Bazel Karma setup is not set up to provide the devkit schematic node modules. We exclude the schematics folder in the `core` package in the legacy-build tsconfig file (similar to how it is done for elements) PR Close #29124
47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"declaration": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"strictNullChecks": true,
|
|
"strictPropertyInitialization": true,
|
|
"outDir": "../dist/all/@angular",
|
|
"noImplicitAny": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"paths": {
|
|
"selenium-webdriver": ["../node_modules/@types/selenium-webdriver/index.d.ts"],
|
|
"rxjs/*": ["../node_modules/rxjs/*"],
|
|
"@angular/*": ["./*"],
|
|
"e2e_util/*": ["../modules/e2e_util/*"]
|
|
},
|
|
"rootDir": ".",
|
|
"inlineSourceMap": true,
|
|
"lib": ["es5", "dom", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.core"],
|
|
"skipDefaultLibCheck": true,
|
|
"skipLibCheck": true,
|
|
"target": "es5",
|
|
"types": ["angular"]
|
|
},
|
|
"bazelOptions": {
|
|
"suppressTsconfigOverrideWarnings": true
|
|
},
|
|
"exclude": [
|
|
"bazel",
|
|
"common/locales",
|
|
"compiler-cli/integrationtest",
|
|
"core/schematics",
|
|
"elements/schematics",
|
|
// Do not build the example e2e spec files since those require custom typings and
|
|
// aren't required to build all packages.
|
|
"examples/**/e2e_test/*",
|
|
// Exclude the "main.ts" files for each example group because this file is used by
|
|
// Bazel to launch the devserver and uses AOT compilation.
|
|
"examples/*/main.ts",
|
|
"platform-server/integrationtest",
|
|
"router/test/aot_ngsummary_test",
|
|
]
|
|
}
|