Skip to content

Commit 3584959

Browse files
authored
Merge pull request #36 from guilean/prevent-multiple-builds
fix: Prevent duplicate builds by removing prepare script
2 parents a0e5a38 + 1ddff3f commit 3584959

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
},
2222
"scripts": {
2323
"build": "tsc",
24-
"watch": "tsc --watch",
25-
"prepare": "npm run build"
24+
"watch": "tsc --watch"
2625
},
2726
"engines": {
2827
"node": ">=20.0.0"
@@ -62,4 +61,4 @@
6261
"jest": "^29.7.0",
6362
"ts-jest": "^29.1.2"
6463
}
65-
}
64+
}

src/cli/project/create.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export async function createProject(name?: string) {
5656
files: ["dist"],
5757
scripts: {
5858
build: "tsc && mcp-build",
59-
prepare: "npm run build",
6059
watch: "tsc --watch",
6160
start: "node dist/index.js"
6261
},

0 commit comments

Comments
 (0)