Skip to content

Commit 91a1e98

Browse files
fix: correct bin format in package.json (#26)
## Summary Fixes npm publish warnings by using proper object format for `bin` field. ## Problem npm was auto-correcting the bin format during publish: ``` npm warn publish "bin" was converted to an object npm warn publish "bin[efficient-gitlab-mcp-server]" script name was cleaned ``` ## Solution Changed from shorthand: ```json "bin": "./dist/index.js" ``` To explicit object format: ```json "bin": { "efficient-gitlab-mcp-server": "./dist/index.js" } ```
1 parent e6f1916 commit 91a1e98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"author": "Ismar <ismart@gmail.com>",
77
"type": "module",
88
"main": "dist/index.js",
9-
"bin": "./dist/index.js",
9+
"bin": {
10+
"efficient-gitlab-mcp-server": "./dist/index.js"
11+
},
1012
"files": [
1113
"dist"
1214
],

0 commit comments

Comments
 (0)