Skip to content

Commit 35d80a6

Browse files
committed
Bump to 0.3.4, fix test
1 parent bb760b0 commit 35d80a6

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/create-mcp-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-mcp-ts",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "Create a new MCP server in TypeScript, batteries included.",
55
"author": "stephencme",
66
"license": "MIT",

packages/create-mcp-ts/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import { Command } from "commander";
44
import fs from "fs-extra";
55
import path from "path";
6+
import { fileURLToPath } from "url";
67
import validatePackageName from "validate-npm-package-name";
78
import {
89
executeCmd,
@@ -20,6 +21,10 @@ import {
2021
// Load package.json for version and name information
2122
const packageJson = require("../package.json") as any;
2223

24+
// Get current file directory in ES modules
25+
const __filename = fileURLToPath(import.meta.url);
26+
const __dirname = path.dirname(__filename);
27+
2328
let projectDir = "";
2429

2530
// Setup command line interface using commander

packages/mcp-scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcp-scripts",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "The build tools that power create-mcp-ts projects",
55
"author": "stephencme",
66
"license": "MIT",

packages/mcp-ts-template-default/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcp-ts-template-default",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "Default project template for create-mcp-ts.",
55
"author": "stephencme",
66
"license": "MIT",
@@ -23,7 +23,7 @@
2323
},
2424
"devDependencies": {
2525
"@types/node": "^22.13.13",
26-
"mcp-scripts": "^0.3.3",
26+
"mcp-scripts": "^0.3.4",
2727
"typescript": "^5.8.2"
2828
}
2929
}

0 commit comments

Comments
 (0)