File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const usages: PackageUsage[] = getPackagesUsages({
2727 packages: [' react' ],
2828 fileGlobs: ` **/**.ts` ,
2929 packageJsonCWD: ' ./package.json' ,
30+ analyzeImportUsages: false ,
3031});
3132
3233console .log (usages);
@@ -83,11 +84,12 @@ export type PackageUsage = {
8384
8485## CLI usage
8586
86- | Options | Description | Example |
87- | ------------------------ | ------------------------------------ | ---------------------------------------------- |
88- | -p, --packages | Packages to analyze | -p vue,vuex or --packages="react,redux" |
89- | -f, --file-globs | Files to analyze based on file globs | -f "_ .(ts\| tsx)" or --file-globs="_ .(js\| jsx)" |
90- | -cwd, --package-json-CWD | Directory to start from | -cwd "/path/to/start/from" |
87+ | Options | Description | Example |
88+ | --------------------------- | ------------------------------------- | ---------------------------------------------- |
89+ | -p, --packages | Packages to analyze | -p vue,vuex or --packages="react,redux" |
90+ | -f, --file-globs | Files to analyze based on file globs | -f "_ .(ts\| tsx)" or --file-globs="_ .(js\| jsx)" |
91+ | -u, --analyze-import-usages | (Experimental) Analyzes import usages | -u |
92+ | -cwd, --package-json-CWD | Directory to start from | -cwd "/path/to/start/from" |
9193
9294### npx
9395
You can’t perform that action at this time.
0 commit comments