layermap 0.1.30 → 0.1.32
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 +2 -1
- package/analyzers/project-map-java/java-map.jar +0 -0
- package/analyzers/project-map-worker.mjs +4 -0
- package/dist/cli.mjs +466 -297
- package/package.json +1 -1
- package/pi/layermap.mjs +1 -1
package/README.md
CHANGED
|
@@ -206,7 +206,7 @@ nothing anywhere ([privacy](https://github.com/coffeecoproject/layermap/blob/mai
|
|
|
206
206
|
| `project_explore_map` | A directory, a file, or a declaration's callers and callees (`direction` INCOMING or OUTGOING, `depth` up to 8). |
|
|
207
207
|
| `project_search_map` | Find declarations by words in their names, paths or documentation. |
|
|
208
208
|
| `project_find_references` | Every usage of a declaration, compiled from current source. |
|
|
209
|
-
| `project_check_changes` | What the uncommitted changes (or those since `base`) affect: changed and removed declarations, the routes, jobs and commands they reach, the areas that share the changed code, environment variables and configuration keys it removed that other files still use, code and templates that request the affected routes, new dependencies between modules and the cycles they close, new code that repeats existing code, what to check by hand, and related tests. |
|
|
209
|
+
| `project_check_changes` | What the uncommitted changes (or those since `base`) affect: changed and removed declarations, the routes, jobs and commands they reach, the areas that share the changed code, environment variables and configuration keys it removed that other files still use, code and templates that request the affected routes, new dependencies between modules and the cycles they close, new code that repeats existing code, what to check by hand, and related tests. Given `tests`, also the changed code none of those test files calls or requests through a route, and the entry points above it. |
|
|
210
210
|
|
|
211
211
|
The same from the command line:
|
|
212
212
|
|
|
@@ -215,6 +215,7 @@ npx layermap explore src/api/users.ts --name createUser --direction INCOMING --d
|
|
|
215
215
|
npx layermap search "invoice total"
|
|
216
216
|
npx layermap refs src/billing/tax.ts calculateTax
|
|
217
217
|
npx layermap check --base main
|
|
218
|
+
npx layermap check test/billing.test.ts # also: what of the change this test does not run
|
|
218
219
|
```
|
|
219
220
|
|
|
220
221
|
## FAQ
|
|
Binary file
|
|
@@ -15989,6 +15989,10 @@ function mapValueUse(node) {
|
|
|
15989
15989
|
}
|
|
15990
15990
|
case SyntaxKind.ArrowFunction:
|
|
15991
15991
|
return parent.body === expression;
|
|
15992
|
+
// A component named as a tag is rendered from when the tree is.
|
|
15993
|
+
case SyntaxKind.JsxOpeningElement:
|
|
15994
|
+
case SyntaxKind.JsxSelfClosingElement:
|
|
15995
|
+
return parent.tagName === expression;
|
|
15992
15996
|
case SyntaxKind.ArrayLiteralExpression:
|
|
15993
15997
|
case SyntaxKind.ReturnStatement:
|
|
15994
15998
|
case SyntaxKind.JsxExpression:
|