diff --git a/dev-infra/ng-dev.js b/dev-infra/ng-dev.js index 1a2e42a04c..e35e507a94 100755 --- a/dev-infra/ng-dev.js +++ b/dev-infra/ng-dev.js @@ -7068,7 +7068,7 @@ function main(approve, config, printWarnings) { const analyzer = new Analyzer(resolveModule); const cycles = []; const checkedNodes = new WeakSet(); - glob.sync(glob$1, { absolute: true }).forEach(filePath => { + glob.sync(glob$1, { absolute: true, ignore: ['**/node_modules/**'] }).forEach(filePath => { const sourceFile = analyzer.getSourceFile(filePath); cycles.push(...analyzer.findCycles(sourceFile, checkedNodes)); }); diff --git a/dev-infra/ts-circular-dependencies/index.ts b/dev-infra/ts-circular-dependencies/index.ts index f6eae504f9..279a281da5 100644 --- a/dev-infra/ts-circular-dependencies/index.ts +++ b/dev-infra/ts-circular-dependencies/index.ts @@ -58,7 +58,7 @@ export function main( const cycles: ReferenceChain[] = []; const checkedNodes = new WeakSet(); - globSync(glob, {absolute: true}).forEach(filePath => { + globSync(glob, {absolute: true, ignore: ['**/node_modules/**']}).forEach(filePath => { const sourceFile = analyzer.getSourceFile(filePath); cycles.push(...analyzer.findCycles(sourceFile, checkedNodes)); }); diff --git a/packages/bazel/src/modify_tsconfig.js b/packages/bazel/src/modify_tsconfig.js old mode 100644 new mode 100755