Skip to content

Commit 57c7214

Browse files
committed
build: infrastructure and test fixes for rules_angular update
1 parent 6b595e8 commit 57c7214

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

integration/module-tests/find-all-modules.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export async function findAllEntryPointsAndExportedModules(packagePath: string)
4545
function scanExportsForModules(sf: ts.SourceFile): string[] {
4646
const moduleExports: string[] = [];
4747
const visit = (node: ts.Node) => {
48-
if (ts.isExportDeclaration(node) && ts.isNamedExports(node.exportClause)) {
48+
if (ts.isExportDeclaration(node) && node.exportClause && ts.isNamedExports(node.exportClause)) {
4949
moduleExports.push(
5050
...node.exportClause.elements
5151
.filter(e => e.name.text.endsWith('Module'))

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
"@angular/core": "catalog:",
6363
"@angular/forms": "catalog:",
6464
"@angular/platform-browser": "catalog:",
65+
"@angular/compiler-cli": "catalog:",
66+
"typescript": "6.0.2",
6567
"@types/google.maps": "^3.54.10",
6668
"@types/youtube": "0.1.2",
6769
"date-fns": "^4.1.0",
@@ -74,7 +76,6 @@
7476
"zone.js": "~0.16.0"
7577
},
7678
"devDependencies": {
77-
"@angular/compiler-cli": "catalog:",
7879
"@angular/localize": "catalog:",
7980
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#40e97052a6e9a06c880b7f2d6de9bfa70a326a52",
8081
"@angular/platform-server": "catalog:",
@@ -145,7 +146,6 @@
145146
"tsickle": "0.46.3",
146147
"tslint": "^6.1.3",
147148
"tsutils": "^3.21.0",
148-
"typescript": "6.0.2",
149149
"vrsource-tslint-rules": "6.0.0",
150150
"yaml": "^2.8.1",
151151
"yargs": "^18.0.0",

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)