@gld5000-cli/dependency-finder 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -45,7 +45,7 @@ npx @gld5000-cli/dependency-finder [Component directory] [Dependents paths] [Fil
45
45
  | **Component directory** | Glob pattern for component files to analyze | `./components/**/*.tsx` | `./src/components/**/*.tsx` |
46
46
  | **Dependents paths** | Pipe-separated glob patterns for where to search for imports | `./components/**/*.tsx\|./pages/**/*.tsx` | `./src/**/*.tsx\|./app/**/*.ts` |
47
47
  | **File ignore patterns** | Pipe-separated patterns to exclude from analysis | `.test\|.stories` | `.test\|.spec\|.mock` |
48
- | **PascalCase only** | Filter exports to PascalCase names only (React components) | `n` | `y` or `n` |
48
+ | **PascalCase only** | Filter exports to PascalCase names only (React components) | `y` | `y` or `n` |
49
49
 
50
50
  ### Example Usage
51
51
 
package/bin/index.mjs CHANGED
@@ -29,7 +29,7 @@ const ignorePatterns = `${
29
29
  defaultIgnorePatterns,
30
30
  ))
31
31
  }`.split("|");
32
-
32
+ const defaultExportCase = "y";
33
33
  const isPascalCase =
34
34
  (args[3] ||
35
35
  (await answerStringQuestion(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gld5000-cli/dependency-finder",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Finds how many dependents your components have.",
5
5
  "keywords": [
6
6
  "CLI",