layermap 0.1.31 → 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.
|
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:
|
package/dist/cli.mjs
CHANGED
|
@@ -18813,7 +18813,7 @@ var miniprogramEventOf = (target) => {
|
|
|
18813
18813
|
|
|
18814
18814
|
// src/project-map-language-typescript.ts
|
|
18815
18815
|
var TYPESCRIPT_MAP_LANGUAGE = Object.freeze({
|
|
18816
|
-
id: "typescript-7.0.2-map-
|
|
18816
|
+
id: "typescript-7.0.2-map-v21",
|
|
18817
18817
|
claims: (path16) => /\.[cm]?[jt]sx?$/u.test(path16),
|
|
18818
18818
|
reads: (path16) => path16.endsWith(".json") || path16.endsWith(".wxml") || path16 === "pnpm-workspace.yaml",
|
|
18819
18819
|
create: () => new TypeScriptMapAnalyzer()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "layermap",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
4
4
|
"mcpName": "io.github.coffeecoproject/layermap",
|
|
5
5
|
"description": "A layered map of a codebase for coding agents: directories, modules and call chains across TypeScript, JavaScript, Go, Python and Java.",
|
|
6
6
|
"license": "Apache-2.0",
|
package/pi/layermap.mjs
CHANGED
|
@@ -268,7 +268,7 @@ function layermap(pi) {
|
|
|
268
268
|
if (server && !server.dead) return server;
|
|
269
269
|
starting ??= (async () => {
|
|
270
270
|
const next = new MapServer(cwd);
|
|
271
|
-
const tools = await next.start("0.1.
|
|
271
|
+
const tools = await next.start("0.1.32");
|
|
272
272
|
for (const tool of tools) {
|
|
273
273
|
if (registered.has(tool.name)) continue;
|
|
274
274
|
registered.add(tool.name);
|