Skip to content

Commit efd2993

Browse files
crisbetojelbourn
authored andcommitted
build: fix schematics TS errors (#13310)
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 efd2993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/schematics/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"baseUrl": ".",
1818
"paths": {
19-
"@angular/cdk/schematics": ["../../../dist/packages/cdk/schematics/"]
19+
"@angular/cdk/schematics": ["../../cdk/schematics/"]
2020
}
2121
},
2222
"exclude": [
@@ -26,7 +26,7 @@
2626
// Exclude template files that will be copied by the schematics. Those are not valid TS.
2727
"*/files/**/*",
2828
// Exclude all test-case files because those should not be included in the schematics output.
29-
"update/test-cases/**/*"
29+
"ng-update/test-cases/**/*"
3030
],
3131
"bazelOptions": {
3232
"suppressTsconfigOverrideWarnings": true

0 commit comments

Comments
 (0)