rev-dep 1.0.2 β 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 +5 -4
- package/dist/cli/docs/template.js +4 -2
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
</h3>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
|
|
6
|
+
File dependency debugging tool for TypeScript projects
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
---
|
|
@@ -26,7 +26,7 @@ It's especially useful in JS world without TypeScript or tests coverage.
|
|
|
26
26
|
|
|
27
27
|
It also helps to identify and eliminate dead files, understand the complexity of the file dependencies
|
|
28
28
|
|
|
29
|
-
[π¦ Jump to CLI reference](#cli-reference)
|
|
29
|
+
[π¦ Jump to CLI reference](#cli-reference-)
|
|
30
30
|
|
|
31
31
|
[πΈοΈ `export * from` problem](#export-from-problem)
|
|
32
32
|
|
|
@@ -334,7 +334,7 @@ Project can be used as a CLI tool or as a module
|
|
|
334
334
|
|
|
335
335
|
### CLI Tool
|
|
336
336
|
|
|
337
|
-
For CLI usage see [CLI reference](#cli-reference)
|
|
337
|
+
For CLI usage see [CLI reference](#cli-reference-)
|
|
338
338
|
|
|
339
339
|
### Module
|
|
340
340
|
|
|
@@ -379,7 +379,8 @@ rev-dep resolve <filePath> [entryPoints...] [options]
|
|
|
379
379
|
|
|
380
380
|
#### Arguments
|
|
381
381
|
|
|
382
|
-
- `filePath` - Path to a file that should be resolved in entry points (**required**)
|
|
382
|
+
- `filePath` - Path to a file that should be resolved in entry points (**required**)
|
|
383
|
+
- `entryPoints...` - List of entry points to look for file (_optional_)
|
|
383
384
|
|
|
384
385
|
#### Options
|
|
385
386
|
|
|
@@ -29,9 +29,11 @@ function template(commands, headerLevel) {
|
|
|
29
29
|
]))}
|
|
30
30
|
${cmd.arguments.length > 0 ? header(headerLevel + 1, 'Arguments') : ''}
|
|
31
31
|
|
|
32
|
-
${cmd.arguments
|
|
32
|
+
${cmd.arguments
|
|
33
|
+
.map(({ name, required, description }) => (0, dedent_1.default) `
|
|
33
34
|
* ${code(name)} - ${description} (${required ? requiredStr : optionalStr})
|
|
34
|
-
`)
|
|
35
|
+
`)
|
|
36
|
+
.join('\n')}
|
|
35
37
|
|
|
36
38
|
${cmd.options.length > 0 ? header(headerLevel + 1, 'Options') : ''}
|
|
37
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rev-dep",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Dependency debugging tool for JavaScript and TypeScript projects",
|
|
5
5
|
"main": "dist/module.js",
|
|
6
6
|
"bin": "bin.js",
|
|
@@ -72,6 +72,8 @@
|
|
|
72
72
|
"dependency tree",
|
|
73
73
|
"import path",
|
|
74
74
|
"resolution path",
|
|
75
|
-
"dependency optimization"
|
|
75
|
+
"dependency optimization",
|
|
76
|
+
"dependency analysis",
|
|
77
|
+
"file dependencies"
|
|
76
78
|
]
|
|
77
79
|
}
|