deslop-cli 0.0.25 → 0.5.8

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 -13
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Deslop JavaScript code.
4
4
 
5
- CLI for [deslop-js](https://github.com/aidenybai/deslop-js). Finds unused files, dead exports, dead dependencies, circular imports, redundant aliases, duplicate types, and other DRY violations.
5
+ CLI for [deslop-js](https://github.com/millionco/react-doctor/tree/main/packages/deslop-js). Finds unused files, dead exports, dead dependencies, circular imports, redundant aliases, duplicate types, and other DRY violations.
6
6
 
7
7
  ## Install
8
8
 
@@ -71,19 +71,19 @@ Type-aware findings (`unusedTypes`, `unusedClassMembers`, `misclassifiedDependen
71
71
 
72
72
  ### Options
73
73
 
74
- | Option | Description |
75
- | ------------------------- | ------------------------------------------------------------ |
76
- | `[root]` | Project root directory (default: `.`; must exist) |
77
- | `-e, --entry <pattern>` | Entry point glob patterns |
78
- | `-i, --ignore <pattern>` | Glob patterns to exclude |
79
- | `--extensions <ext>` | File extensions to scan (e.g. `.ts` `.vue`) |
80
- | `--tsconfig <path>` | Path to tsconfig.json for alias resolution |
74
+ | Option | Description |
75
+ | ------------------------- | -------------------------------------------------------------- |
76
+ | `[root]` | Project root directory (default: `.`; must exist) |
77
+ | `-e, --entry <pattern>` | Entry point glob patterns |
78
+ | `-i, --ignore <pattern>` | Glob patterns to exclude |
79
+ | `--extensions <ext>` | File extensions to scan (e.g. `.ts` `.vue`) |
80
+ | `--tsconfig <path>` | Path to tsconfig.json for alias resolution |
81
81
  | `--paths <alias=target>` | Explicit path-alias mappings (e.g. `@app/*=src/*`), repeatable |
82
- | `--report-types` | Include type-only exports in results |
83
- | `--include-entry-exports` | Report unused exports from entry files |
84
- | `--json` | Output results as JSON |
85
- | `--fail-on-issues` | Exit 1 when unused files, exports, or dependencies are found |
86
- | `--fail-on-cycles` | Exit 1 when circular imports are found |
82
+ | `--report-types` | Include type-only exports in results |
83
+ | `--include-entry-exports` | Report unused exports from entry files |
84
+ | `--json` | Output results as JSON |
85
+ | `--fail-on-issues` | Exit 1 when unused files, exports, or dependencies are found |
86
+ | `--fail-on-cycles` | Exit 1 when circular imports are found |
87
87
 
88
88
  ### Exit codes
89
89
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deslop-cli",
3
- "version": "0.0.25",
3
+ "version": "0.5.8",
4
4
  "description": "CLI for deslop-js — find unused files, exports, and dependencies",
5
5
  "keywords": [
6
6
  "cli",
@@ -11,9 +11,9 @@
11
11
  "typescript",
12
12
  "unused"
13
13
  ],
14
- "homepage": "https://github.com/millionco/deslop-js#readme",
14
+ "homepage": "https://github.com/millionco/react-doctor#readme",
15
15
  "bugs": {
16
- "url": "https://github.com/millionco/deslop-js/issues"
16
+ "url": "https://github.com/millionco/react-doctor/issues"
17
17
  },
18
18
  "license": "MIT",
19
19
  "author": {
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
25
- "url": "https://github.com/millionco/deslop-js.git",
25
+ "url": "https://github.com/millionco/react-doctor.git",
26
26
  "directory": "packages/deslop-cli"
27
27
  },
28
28
  "bin": {
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "commander": "^14.0.3",
43
- "deslop-js": "0.0.25"
43
+ "deslop-js": "0.5.8"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^25.6.0"