@leanmcp/cli 0.5.10-alpha.68.c9311a3 → 0.5.11-alpha.69.1e96a05

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1113,13 +1113,17 @@ async function buildCommand() {
1113
1113
  stdio: "pipe",
1114
1114
  shell: true
1115
1115
  });
1116
+ let stdout = "";
1116
1117
  let stderr = "";
1118
+ tsc.stdout?.on("data", (data) => {
1119
+ stdout += data;
1120
+ });
1117
1121
  tsc.stderr?.on("data", (data) => {
1118
1122
  stderr += data;
1119
1123
  });
1120
1124
  tsc.on("close", (code) => {
1121
1125
  if (code === 0) resolve();
1122
- else reject(new Error(stderr || `tsc exited with code ${code}`));
1126
+ else reject(new Error(stdout || stderr || `tsc exited with code ${code}`));
1123
1127
  });
1124
1128
  tsc.on("error", reject);
1125
1129
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanmcp/cli",
3
- "version": "0.5.10-alpha.68.c9311a3",
3
+ "version": "0.5.11-alpha.69.1e96a05",
4
4
  "description": "Command-line interface for scaffolding LeanMCP projects",
5
5
  "bin": {
6
6
  "leanmcp": "bin/leanmcp.js"