@nitrostack/cli 1.0.0 → 1.0.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAeA,UAAU,YAAY;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,YAAY,CAAC,OAAO,EAAE,YAAY,iBA0MvD"}
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAeA,UAAU,YAAY;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,YAAY,CAAC,OAAO,EAAE,YAAY,iBA8MvD"}
@@ -166,6 +166,12 @@ function init() {
166
166
  }
167
167
  catch (error) {
168
168
  tscSpinner.fail('TypeScript compilation failed');
169
+ // Show the actual TypeScript errors
170
+ const execError = error;
171
+ if (execError.stdout)
172
+ console.log('\n' + execError.stdout.toString());
173
+ if (execError.stderr)
174
+ console.log('\n' + execError.stderr.toString());
169
175
  throw error;
170
176
  }
171
177
  // Summary
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitrostack/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "CLI for NitroStack - Create and manage MCP server projects",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -42,6 +42,7 @@
42
42
  "chalk": "^5.3.0",
43
43
  "chokidar": "^3.6.0",
44
44
  "commander": "^12.1.0",
45
+ "esbuild": "^0.24.0",
45
46
  "fs-extra": "^11.3.2",
46
47
  "inquirer": "^9.3.7",
47
48
  "open": "^10.1.0",
@@ -23,6 +23,7 @@
23
23
  },
24
24
  "devDependencies": {
25
25
  "@nitrostack/cli": "^1",
26
+ "@types/node": "^22.10.0",
26
27
  "typescript": "^5.3.3"
27
28
  },
28
29
  "author": ""
@@ -15,7 +15,8 @@
15
15
  "declarationMap": true,
16
16
  "sourceMap": true,
17
17
  "experimentalDecorators": true,
18
- "emitDecoratorMetadata": true
18
+ "emitDecoratorMetadata": true,
19
+ "types": ["node"]
19
20
  },
20
21
  "include": ["src/**/*"],
21
22
  "exclude": ["node_modules", "dist", "src/widgets"]
@@ -29,6 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@nitrostack/cli": "^1",
32
+ "@types/node": "^22.10.0",
32
33
  "typescript": "^5.3.3"
33
34
  }
34
35
  }
@@ -1,30 +1,23 @@
1
1
  {
2
- "compilerOptions": {
3
- "target": "ES2022",
4
- "module": "ES2022",
5
- "lib": [
6
- "ES2022"
7
- ],
8
- "moduleResolution": "node",
9
- "rootDir": "./src",
10
- "outDir": "./dist",
11
- "esModuleInterop": true,
12
- "forceConsistentCasingInFileNames": true,
13
- "strict": true,
14
- "skipLibCheck": true,
15
- "resolveJsonModule": true,
16
- "declaration": true,
17
- "declarationMap": true,
18
- "sourceMap": true,
19
- "experimentalDecorators": true,
20
- "emitDecoratorMetadata": true
21
- },
22
- "include": [
23
- "src/**/*"
24
- ],
25
- "exclude": [
26
- "node_modules",
27
- "dist",
28
- "src/widgets"
29
- ]
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "module": "ES2022",
5
+ "lib": ["ES2022"],
6
+ "moduleResolution": "node",
7
+ "rootDir": "./src",
8
+ "outDir": "./dist",
9
+ "esModuleInterop": true,
10
+ "forceConsistentCasingInFileNames": true,
11
+ "strict": true,
12
+ "skipLibCheck": true,
13
+ "resolveJsonModule": true,
14
+ "declaration": true,
15
+ "declarationMap": true,
16
+ "sourceMap": true,
17
+ "experimentalDecorators": true,
18
+ "emitDecoratorMetadata": true,
19
+ "types": ["node"]
20
+ },
21
+ "include": ["src/**/*"],
22
+ "exclude": ["node_modules", "dist", "src/widgets"]
30
23
  }
@@ -20,6 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@nitrostack/cli": "^1",
23
+ "@types/node": "^22.10.0",
23
24
  "typescript": "^5.3.3"
24
25
  }
25
26
  }
@@ -15,7 +15,8 @@
15
15
  "declarationMap": true,
16
16
  "sourceMap": true,
17
17
  "experimentalDecorators": true,
18
- "emitDecoratorMetadata": true
18
+ "emitDecoratorMetadata": true,
19
+ "types": ["node"]
19
20
  },
20
21
  "include": ["src/**/*"],
21
22
  "exclude": ["node_modules", "dist", "src/widgets"]