diff --git a/.spark-ui.cjs b/.spark-ui.cjs deleted file mode 100644 index 1c00635ee..000000000 --- a/.spark-ui.cjs +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - adoption: { - verbose: true, - details: false, - sort: 'count', - imports: ['@spark-ui', 'downshift'], - extensions: ['.tsx', '.ts'], - directory: './packages', - output: `.spark-ui/adoption/adoption.${new Date().toISOString()}`, - }, -} diff --git a/packages/utils/cli/bin/spark-scan.mjs b/packages/utils/cli/bin/spark-scan.mjs index d6222726f..2e192ba43 100755 --- a/packages/utils/cli/bin/spark-scan.mjs +++ b/packages/utils/cli/bin/spark-scan.mjs @@ -11,15 +11,11 @@ program .option('-c, --configuration ', 'configuration file route') .option('-o, --output ', 'output file route') .option('-v, --verbose', 'output log information', false) - .option('-d, --details', 'output information about each match', config.adoption.details) - .option('-s, --sort ', 'sort results (count or alphabetical)', config.adoption.sort) - .option('-dir, --directory ', 'directory to parse', config.adoption.directory) - .option( - '-ext, --extensions ', - 'file extensions to parse', - config.adoption.extensions - ) - .option('-i, --imports ', 'import patterns to identify', config.adoption.imports) + .option('-d, --details', 'output information about each match', config.details) + .option('-s, --sort ', 'sort results (count or alphabetical)', config.sort) + .option('-dir, --directory ', 'directory to parse', config.directory) + .option('-ext, --extensions ', 'file extensions to parse', config.extensions) + .option('-i, --imports ', 'import patterns to identify', config.imports) .action(adoption) program.parse(process.argv)