rev-dep 2.13.2 → 2.14.0
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 +6 -4
- package/package.json +4 -4
package/Readme.md
CHANGED
|
@@ -218,8 +218,8 @@ The configuration file (`rev-dep.config.json(c)` or `.rev-dep.config.json(c)`) a
|
|
|
218
218
|
|
|
219
219
|
```jsonc
|
|
220
220
|
{
|
|
221
|
-
"configVersion": "1.
|
|
222
|
-
"$schema": "https://github.com/jayu/rev-dep/blob/master/config-schema/1.
|
|
221
|
+
"configVersion": "1.8",
|
|
222
|
+
"$schema": "https://github.com/jayu/rev-dep/blob/master/config-schema/1.8.schema.json?raw=true",
|
|
223
223
|
"rules": [
|
|
224
224
|
{
|
|
225
225
|
"path": ".",
|
|
@@ -254,8 +254,8 @@ Here's a comprehensive example showing all available properties:
|
|
|
254
254
|
|
|
255
255
|
```jsonc
|
|
256
256
|
{
|
|
257
|
-
"configVersion": "1.
|
|
258
|
-
"$schema": "https://github.com/jayu/rev-dep/blob/master/config-schema/1.
|
|
257
|
+
"configVersion": "1.8",
|
|
258
|
+
"$schema": "https://github.com/jayu/rev-dep/blob/master/config-schema/1.8.schema.json?raw=true", // enables json autocompletion
|
|
259
259
|
"conditionNames": ["import", "default"],
|
|
260
260
|
"ignoreFiles": ["**/*.test.*"],
|
|
261
261
|
"rules": [
|
|
@@ -264,6 +264,7 @@ Here's a comprehensive example showing all available properties:
|
|
|
264
264
|
"followMonorepoPackages": true,
|
|
265
265
|
"prodEntryPoints": ["src/main.tsx", "src/pages/**/*.tsx", "src/server.ts"],
|
|
266
266
|
"devEntryPoints": ["scripts/**", "**/*.test.*"],
|
|
267
|
+
"ignoreEntryPoints": ["src/legacy/oldDashboard.tsx"],
|
|
267
268
|
"moduleBoundaries": [
|
|
268
269
|
{
|
|
269
270
|
"name": "ui-components",
|
|
@@ -377,6 +378,7 @@ Each rule can contain the following properties:
|
|
|
377
378
|
- **`followMonorepoPackages`** (optional): Control monorepo package resolution. `true` follows all workspace packages (default), `false` disables it, array follows only selected package names.
|
|
378
379
|
- **`prodEntryPoints`** (optional): Rule-level production entry point patterns for detector defaults
|
|
379
380
|
- **`devEntryPoints`** (optional): Rule-level development entry point patterns for detector defaults
|
|
381
|
+
- **`ignoreEntryPoints`** (optional): Rule-level patterns for leftover entry points you no longer care about. Files matching these patterns are not processed as issues - they are never reported as orphan files, and their unused exports are not reported. Useful for files that must stay committed but are no longer wired into the app.
|
|
380
382
|
- **`moduleBoundaries`** (optional): Array of module boundary rules
|
|
381
383
|
- **`circularImportsDetection`** (optional): Circular import detection configuration (single object or array of objects)
|
|
382
384
|
- **`orphanFilesDetection`** (optional): Orphan files detection configuration (single object or array of objects)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rev-dep",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
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.
|
|
21
|
-
"@rev-dep/linux-x64": "2.
|
|
22
|
-
"@rev-dep/win32-x64": "2.
|
|
20
|
+
"@rev-dep/darwin-arm64": "2.14.0",
|
|
21
|
+
"@rev-dep/linux-x64": "2.14.0",
|
|
22
|
+
"@rev-dep/win32-x64": "2.14.0"
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|
|
25
25
|
"dependency-analysis",
|