angular-docs-cn/packages/tsconfig.json
JoostK 2cc73526bc build: exclude compiler compliance tests from Saucelabs tests (#41866)
The legacy-unit-tests-saucelabs job does not need to compile the
compiler compliance tests as they are not used in those tests. Since
the compliance tests can be configured to use specific compiler options,
the generic tsconfig that is used in legacy-unit-tests-saucelabs may not
succeed to compile the compliance tests so this commit excludes those
source files.

PR Close #41866
2021-04-30 14:15:10 -07:00

54 lines
1.9 KiB
JSON

{
"compilerOptions": {
// Setting the "baseUrl" to a different directory than "packages/" because otherwise
// packages like the native "http" module are resolved to the Angular "http" package.
"baseUrl": "..",
"declaration": true,
"downlevelIteration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"module": "commonjs",
"strict": true,
"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/*": ["./packages/*"],
"zone.js/*": ["./packages/zone.js/*"],
"angular-in-memory-web-api": ["./packages/misc/angular-in-memory-web-api/index.ts"]
},
"rootDir": ".",
"inlineSourceMap": true,
"lib": ["es5", "dom", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.core", "es2017.object"],
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"target": "es5",
"types": ["angular"]
},
"bazelOptions": {
"suppressTsconfigOverrideWarnings": true
},
"exclude": [
"bazel",
"common/locales",
"compiler-cli/integrationtest",
"compiler-cli/test/compliance",
"core/schematics",
"elements/schematics",
// Do not build the example package because there are no legacy tests that need to be
// built. Additionally the examples are not made compatible with the "strict" option.
"examples/**",
// Http doesn't need to built since it is no longer maintained and
// will be removed eventually. See: FW-1392.
"http/**",
"language-service/test/project",
"platform-server/integrationtest",
"router/test/aot_ngsummary_test"
]
}