Skip to content

Commit 52aebd0

Browse files
devversionjelbourn
authored andcommitted
build: include cdk testing entry-point in release output (#17030)
1 parent 4fe5758 commit 52aebd0

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

src/cdk/testing/tsconfig-build.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extends": "../tsconfig-build",
3+
"files": [
4+
"public-api.ts",
5+
"../typings.d.ts"
6+
],
7+
"angularCompilerOptions": {
8+
"annotateForClosureCompiler": true,
9+
"strictMetadataEmit": true,
10+
"flatModuleOutFile": "index.js",
11+
"flatModuleId": "@angular/cdk/testing",
12+
"skipTemplateCodegen": true,
13+
"fullTemplateTypeCheck": true
14+
}
15+
}

src/cdk/tsconfig-tests.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
}
1515
},
1616
"files": [
17-
"./testing/index.ts",
1817
"./index.ts",
1918
"typings.d.ts"
2019
],
@@ -24,20 +23,25 @@
2423
"emitDecoratorMetadata": true,
2524
"fullTemplateTypeCheck": true,
2625

27-
// Unset options inherited from tsconfig-build
26+
// Unset options inherited from tsconfig-build.
2827
"annotateForClosureCompiler": false,
2928
"flatModuleOutFile": null,
3029
"flatModuleId": null
3130
},
3231
"include": [
33-
// Include the index.ts for each secondary entry-point
32+
// Include the index.ts for each secondary entry-point.
3433
"./*/index.ts",
34+
// Include the "private/testing" internal entry-point.
35+
"./private/testing/",
36+
// Include all spec files of the CDK.
3537
"**/*.spec.ts"
3638
],
3739
"exclude": [
3840
"**/schematics/**/*.ts",
39-
// Exclude end-to-end tests and utilities
41+
// Exclude end-to-end tests and utilities.
4042
"**/*.e2e.spec.ts",
41-
"./testing/e2e/**"
43+
// Exclude internal e2e testing utilities. These are not needed by tests
44+
// which execute through gulp.
45+
"./private/testing/e2e/**"
4246
]
4347
}

0 commit comments

Comments
 (0)