@leanmcp/cli 0.5.10 → 0.5.11-alpha.70.674fba7

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 LeanMCP Contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 LeanMCP Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/bin/leanmcp.js CHANGED
File without changes
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
  });
@@ -4071,13 +4075,13 @@ PORT=3001
4071
4075
  author: "",
4072
4076
  license: "MIT",
4073
4077
  dependencies: {
4074
- "@leanmcp/core": "^0.3.14",
4075
- "@leanmcp/ui": "^0.2.1",
4076
- "@leanmcp/auth": "^0.4.0",
4078
+ "@leanmcp/core": "latest",
4079
+ "@leanmcp/ui": "latest",
4080
+ "@leanmcp/auth": "latest",
4077
4081
  dotenv: "^16.5.0"
4078
4082
  },
4079
4083
  devDependencies: {
4080
- "@leanmcp/cli": "^0.4.0",
4084
+ "@leanmcp/cli": "latest",
4081
4085
  "@types/node": "^20.0.0",
4082
4086
  tsx: "^4.20.3",
4083
4087
  typescript: "^5.6.3"
@@ -4235,6 +4239,7 @@ NODE_ENV=development
4235
4239
  logger.log("\nYou can install dependencies manually:", chalk.cyan);
4236
4240
  logger.log(` cd ${projectName}`, chalk.gray);
4237
4241
  logger.log(` npm install`, chalk.gray);
4242
+ process.exit(1);
4238
4243
  }
4239
4244
  } else {
4240
4245
  logger.log("\nTo get started:", chalk.cyan);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanmcp/cli",
3
- "version": "0.5.10",
3
+ "version": "0.5.11-alpha.70.674fba7",
4
4
  "description": "Command-line interface for scaffolding LeanMCP projects",
5
5
  "bin": {
6
6
  "leanmcp": "bin/leanmcp.js"