typegraph-mcp 0.9.4 → 0.9.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/.claude-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/check.ts +7 -15
- package/dist/check.js +402 -52
- package/dist/cli.js +579 -580
- package/dist/smoke-test.js +0 -7
- package/package.json +1 -1
- package/smoke-test.ts +0 -14
package/dist/smoke-test.js
CHANGED
|
@@ -1136,13 +1136,6 @@ async function main(configOverride) {
|
|
|
1136
1136
|
console.log("");
|
|
1137
1137
|
return { passed, failed, skipped };
|
|
1138
1138
|
}
|
|
1139
|
-
var isDirectRun = process.argv[1] && fs4.realpathSync(process.argv[1]) === fs4.realpathSync(new URL(import.meta.url).pathname);
|
|
1140
|
-
if (isDirectRun) {
|
|
1141
|
-
main().then((result) => process.exit(result.failed > 0 ? 1 : 0)).catch((err) => {
|
|
1142
|
-
console.error("Fatal:", err);
|
|
1143
|
-
process.exit(1);
|
|
1144
|
-
});
|
|
1145
|
-
}
|
|
1146
1139
|
export {
|
|
1147
1140
|
main
|
|
1148
1141
|
};
|
package/package.json
CHANGED
package/smoke-test.ts
CHANGED
|
@@ -484,17 +484,3 @@ export async function main(configOverride?: TypegraphConfig): Promise<SmokeTestR
|
|
|
484
484
|
return { passed, failed, skipped };
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
-
// ─── Self-run guard ──────────────────────────────────────────────────────────
|
|
488
|
-
|
|
489
|
-
const isDirectRun =
|
|
490
|
-
process.argv[1] &&
|
|
491
|
-
fs.realpathSync(process.argv[1]) === fs.realpathSync(new URL(import.meta.url).pathname);
|
|
492
|
-
|
|
493
|
-
if (isDirectRun) {
|
|
494
|
-
main()
|
|
495
|
-
.then((result) => process.exit(result.failed > 0 ? 1 : 0))
|
|
496
|
-
.catch((err) => {
|
|
497
|
-
console.error("Fatal:", err);
|
|
498
|
-
process.exit(1);
|
|
499
|
-
});
|
|
500
|
-
}
|