rev-dep 2.3.0 → 2.3.1

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.
Files changed (2) hide show
  1. package/Readme.md +13 -0
  2. package/package.json +4 -4
package/Readme.md CHANGED
@@ -164,6 +164,12 @@ rev-dep entry-points
164
164
 
165
165
  Exclude framework entry points if needed using `--result-exclude`.
166
166
 
167
+ For example exclude Next.js valid entry points when using pages router, exclude scripts directory - scripts are valid entry-points and exclude all test files:
168
+
169
+ ```
170
+ rev-dep entry-points --result-exclude "pages/**","scripts/**","**/*.test.*"
171
+ ```
172
+
167
173
  ### **How to list all files imported by an entry point**
168
174
 
169
175
  ```
@@ -327,6 +333,7 @@ rev-dep circular --ignore-types-imports
327
333
  -t, --ignore-type-imports Exclude type imports from the analysis
328
334
  --package-json string Path to package.json (default: ./package.json)
329
335
  --tsconfig-json string Path to tsconfig.json (default: ./tsconfig.json)
336
+ -v, --verbose Show warnings and verbose output
330
337
  ```
331
338
 
332
339
 
@@ -362,6 +369,7 @@ rev-dep entry-points --print-deps-count
362
369
  --result-exclude strings Exclude files matching these glob patterns from results
363
370
  --result-include strings Only include files matching these glob patterns in results
364
371
  --tsconfig-json string Path to tsconfig.json (default: ./tsconfig.json)
372
+ -v, --verbose Show warnings and verbose output
365
373
  ```
366
374
 
367
375
 
@@ -394,6 +402,7 @@ rev-dep files --entry-point src/index.ts
394
402
  -t, --ignore-type-imports Exclude type imports from the analysis
395
403
  --package-json string Path to package.json (default: ./package.json)
396
404
  --tsconfig-json string Path to tsconfig.json (default: ./tsconfig.json)
405
+ -v, --verbose Show warnings and verbose output
397
406
  ```
398
407
 
399
408
 
@@ -596,6 +605,7 @@ rev-dep node-modules missing --entry-points=src/main.ts
596
605
  --package-json string Path to package.json (default: ./package.json)
597
606
  --pkg-fields-with-binaries strings Additional package.json fields to check for binary usages
598
607
  --tsconfig-json string Path to tsconfig.json (default: ./tsconfig.json)
608
+ -v, --verbose Show warnings and verbose output
599
609
  --zero-exit-code Use this flag to always return zero exit code
600
610
  ```
601
611
 
@@ -634,6 +644,7 @@ rev-dep node-modules unused --exclude-modules=@types/*
634
644
  --package-json string Path to package.json (default: ./package.json)
635
645
  --pkg-fields-with-binaries strings Additional package.json fields to check for binary usages
636
646
  --tsconfig-json string Path to tsconfig.json (default: ./tsconfig.json)
647
+ -v, --verbose Show warnings and verbose output
637
648
  --zero-exit-code Use this flag to always return zero exit code
638
649
  ```
639
650
 
@@ -674,6 +685,7 @@ rev-dep node-modules used -p src/index.ts --group-by-module
674
685
  --package-json string Path to package.json (default: ./package.json)
675
686
  --pkg-fields-with-binaries strings Additional package.json fields to check for binary usages
676
687
  --tsconfig-json string Path to tsconfig.json (default: ./tsconfig.json)
688
+ -v, --verbose Show warnings and verbose output
677
689
  ```
678
690
 
679
691
 
@@ -709,6 +721,7 @@ rev-dep resolve -p src/index.ts -f src/utils/helpers.ts
709
721
  -t, --ignore-type-imports Exclude type imports from the analysis
710
722
  --package-json string Path to package.json (default: ./package.json)
711
723
  --tsconfig-json string Path to tsconfig.json (default: ./tsconfig.json)
724
+ -v, --verbose Show warnings and verbose output
712
725
  ```
713
726
 
714
727
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rev-dep",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Trace imports, detect unused code, clean dependencies — all with a super-fast CLI",
5
5
  "bin": "bin.js",
6
6
  "files": [
@@ -17,9 +17,9 @@
17
17
  "node": ">=18"
18
18
  },
19
19
  "optionalDependencies": {
20
- "@rev-dep/darwin-arm64": "2.3.0",
21
- "@rev-dep/linux-x64": "2.3.0",
22
- "@rev-dep/win32-x64": "2.3.0"
20
+ "@rev-dep/darwin-arm64": "2.3.1",
21
+ "@rev-dep/linux-x64": "2.3.1",
22
+ "@rev-dep/win32-x64": "2.3.1"
23
23
  },
24
24
  "keywords": [
25
25
  "dependency-analysis",