Skip to content

Commit ec1ad83

Browse files
committed
build: fix schematics TS errors
Fixes some TS errors being logged out when building the schematics due to an outdated path in the `exclude` and an incorrect mapping in the `paths`.
1 parent c454f7b commit ec1ad83

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/lib/schematics/tsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
],
1717
"baseUrl": ".",
1818
"paths": {
19-
"@angular/cdk/schematics": ["../../../dist/packages/cdk/schematics/"]
19+
"@angular/cdk/schematics": [
20+
"../../../dist/packages/cdk/schematics/",
21+
"../../cdk/schematics/"
22+
]
2023
}
2124
},
2225
"exclude": [
@@ -26,7 +29,7 @@
2629
// Exclude template files that will be copied by the schematics. Those are not valid TS.
2730
"*/files/**/*",
2831
// Exclude all test-case files because those should not be included in the schematics output.
29-
"update/test-cases/**/*"
32+
"ng-update/test-cases/**/*"
3033
],
3134
"bazelOptions": {
3235
"suppressTsconfigOverrideWarnings": true

0 commit comments

Comments
 (0)