@@ -216404,7 +216404,7 @@ function applyMutualDifferences(created, deleted, modified, renamed, fullBaseGra
216404216404 (0, log_1.log)('includes:', includes);
216405216405 const abstractionTargetsForBase = (0, remeda_1.pipe)(includes, extractNoAbstractionDirs_1.default, dirs => (0, extractAbstractionTarget_1.default)(dirs, fullBaseGraph));
216406216406 (0, log_1.log)('abstractionTargetsForBase:', abstractionTargetsForBase);
216407- const baseGraph = (0, remeda_1.pipe)(fullBaseGraph, graph => (0, filterGraph_1.filterGraph)(includes, ['node_modules', ... (0, config_1.exclude)()] , graph), graph => ((0, log_1.log)('filtered base graph.nodes.length:', graph.nodes.length),
216407+ const baseGraph = (0, remeda_1.pipe)(fullBaseGraph, graph => (0, filterGraph_1.filterGraph)(includes, (0, config_1.exclude)(), graph), graph => ((0, log_1.log)('filtered base graph.nodes.length:', graph.nodes.length),
216408216408 (0, log_1.log)('filtered base graph.relations.length:', graph.relations.length),
216409216409 graph), graph => (0, abstraction_1.abstraction)(abstractionTargetsForBase, graph), graph => ((0, log_1.log)('abstracted base graph.nodes.length:', graph.nodes.length),
216410216410 (0, log_1.log)('abstracted base graph.relations.length:', graph.relations.length),
@@ -216413,7 +216413,7 @@ function applyMutualDifferences(created, deleted, modified, renamed, fullBaseGra
216413216413 (0, log_1.log)('baseGraph.relations.length:', baseGraph.relations.length);
216414216414 const abstractionTargetsForHead = (0, remeda_1.pipe)(includes, extractNoAbstractionDirs_1.default, dirs => (0, extractAbstractionTarget_1.default)(dirs, fullHeadGraph));
216415216415 (0, log_1.log)('abstractionTargetsForHead:', abstractionTargetsForHead);
216416- const headGraph = (0, remeda_1.pipe)(fullHeadGraph, graph => (0, filterGraph_1.filterGraph)(includes, ['node_modules', ... (0, config_1.exclude)()] , graph), graph => ((0, log_1.log)('filtered head graph.nodes.length:', graph.nodes.length),
216416+ const headGraph = (0, remeda_1.pipe)(fullHeadGraph, graph => (0, filterGraph_1.filterGraph)(includes, (0, config_1.exclude)(), graph), graph => ((0, log_1.log)('filtered head graph.nodes.length:', graph.nodes.length),
216417216417 (0, log_1.log)('filtered head graph.relations.length:', graph.relations.length),
216418216418 graph), graph => (0, abstraction_1.abstraction)(abstractionTargetsForHead, graph), graph => ((0, log_1.log)('abstracted head graph.nodes.length:', graph.nodes.length),
216419216419 (0, log_1.log)('abstracted head graph.relations.length:', graph.relations.length),
@@ -216422,7 +216422,7 @@ function applyMutualDifferences(created, deleted, modified, renamed, fullBaseGra
216422216422 (0, log_1.log)('headGraph.relations.length:', headGraph.relations.length);
216423216423 const tsgCommand = (0, createTsgCommand_1.createTsgCommand)({
216424216424 includes,
216425- excludes: ['node_modules', ... (0, config_1.exclude)()] ,
216425+ excludes: (0, config_1.exclude)(),
216426216426 abstractions: (0, extractAbstractionTargetFromGraphs_1.extractAbstractionTargetFromGraphs)(baseGraph, headGraph),
216427216427 });
216428216428 return { baseGraph, headGraph, tsgCommand };
@@ -216713,7 +216713,7 @@ function mergeGraphsWithDifferences(fullBaseGraph, fullHeadGraph, created, delet
216713216713 (0, log_1.log)('includes:', includes);
216714216714 const abstractionTarget = (0, remeda_1.pipe)(includes, extractNoAbstractionDirs_1.default, dirs => (0, extractAbstractionTarget_1.default)(dirs, mergedGraph));
216715216715 (0, log_1.log)('abstractionTarget:', abstractionTarget);
216716- const graph = (0, remeda_1.pipe)(mergedGraph, graph => (0, filterGraph_1.filterGraph)(includes, ['node_modules', ... (0, config_1.exclude)()] , graph), graph => ((0, log_1.log)('filteredGraph.nodes.length:', graph.nodes.length),
216716+ const graph = (0, remeda_1.pipe)(mergedGraph, graph => (0, filterGraph_1.filterGraph)(includes, (0, config_1.exclude)(), graph), graph => ((0, log_1.log)('filteredGraph.nodes.length:', graph.nodes.length),
216717216717 (0, log_1.log)('filteredGraph.relations.length:', graph.relations.length),
216718216718 graph), graph => (0, abstraction_1.abstraction)(abstractionTarget, graph), graph => ((0, log_1.log)('abstractedGraph.nodes.length:', graph.nodes.length),
216719216719 (0, log_1.log)('abstractedGraph.relations.length:', graph.relations.length),
@@ -216722,7 +216722,7 @@ function mergeGraphsWithDifferences(fullBaseGraph, fullHeadGraph, created, delet
216722216722 graph));
216723216723 const tsgCommand = (0, createTsgCommand_1.createTsgCommand)({
216724216724 includes,
216725- excludes: ['node_modules', ... (0, config_1.exclude)()] ,
216725+ excludes: (0, config_1.exclude)(),
216726216726 abstractions: (0, extractAbstractionTargetFromGraphs_1.extractAbstractionTargetFromGraphs)(graph),
216727216727 });
216728216728 return { graph, tsgCommand };
@@ -217038,6 +217038,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
217038217038Object.defineProperty(exports, "__esModule", ({ value: true }));
217039217039exports.isIncludeIndexFileDependencies = exports.exclude = exports.isInDetails = exports.isDebugEnabled = exports.getOrientation = exports.getMaxSize = exports.getTsconfigRoot = void 0;
217040217040const core = __importStar(__nccwpck_require__(2186));
217041+ const reducer_1 = __nccwpck_require__(2021);
217041217042/** tsconfig のルートディレクトリ */
217042217043const TSCONFIG_ROOT = 'tsconfig-root';
217043217044/** 変更ファイル数が多い場合にグラフの表示を抑止するが、その際のノード数を指定する値 */
@@ -217097,7 +217098,9 @@ function exclude() {
217097217098 .getInput(EXCLUDE)
217098217099 .split(',')
217099217100 .map(s => s.trim())
217100- .filter(Boolean);
217101+ .filter(Boolean)
217102+ .with(0, 'node_modules') // デフォルトで node_modules を含める
217103+ .reduce(reducer_1.uniqueString, []);
217101217104}
217102217105exports.exclude = exclude;
217103217106/** 変更対象のファイルが同階層の index.ts などから参照されている場合、その index.ts への依存ファイルも表示するかどうか */
0 commit comments