pure-index
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -5,2 +5,3 @@ #!/usr/bin/env node | ||
import { main } from './main.js' | ||
import { getUnusedExports } from './getUnusedExports/index.js' | ||
@@ -10,2 +11,11 @@ const config = await getConfig() | ||
if (config.collectUsages) { | ||
const usages = new Set() | ||
await getUnusedExports({ | ||
config, | ||
pkg: { name: config.collectUsages }, | ||
cmd: usages.add.bind(exports) | ||
}) | ||
console.log(usages) | ||
process.exit(0) | ||
@@ -12,0 +22,0 @@ } |
{ | ||
"name": "pure-index", | ||
"type": "module", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Utility for monorepos. It helps to find unused exports from packages.", | ||
@@ -6,0 +6,0 @@ "main": "./bin/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18983
408