build: ignore type only imports/exports for circular dependency checks (#47017)

Ignore the type only imports and exports to ease the process of refactoring

PR Close #47017
This commit is contained in:
Joey Perrott
2022-08-17 21:27:39 +00:00
committed by Alex Rickabaugh
parent 922a49877e
commit 19d7fb08a3
+6 -5
View File
@@ -9,12 +9,13 @@
const path = require('path');
module.exports = {
baseDir: '../',
goldenFile: '../goldens/circular-deps/packages.json',
glob: `./**/*.ts`,
baseDir : '../',
goldenFile : '../goldens/circular-deps/packages.json',
glob : `./**/*.ts`,
// Command that will be displayed if the golden needs to be updated.
approveCommand: 'yarn ts-circular-deps:approve',
resolveModule: resolveModule
approveCommand : 'yarn ts-circular-deps:approve',
resolveModule : resolveModule,
ignoreTypeOnlyChecks : true,
};
/**