@gld5000-cli/dependency-finder 1.0.2 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gld5000-cli/dependency-finder",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Finds how many dependents your components have.",
5
5
  "keywords": [
6
6
  "CLI",
@@ -10,7 +10,7 @@ import { searchFiles } from "./searchFiles.mjs";
10
10
  export function findComponents(inputPath, ignorePatterns) {
11
11
  return searchFiles(
12
12
  filterFilesNot(findFiles(inputPath), ignorePatterns),
13
- /(export default function|export const|export default) ([a-zA-Z]+)/g,
13
+ /(export default function|export const|export default|export declare const) ([a-zA-Z]+)/g,
14
14
  2,
15
15
  );
16
16
  }