Fix npm package compatibility and improve publishing
- Add exports field for modern ES module support - Add files field to explicitly control published content - Update version to 0.1.3 with improved npm packaging - Remove circular dependency causing installation issues - Optimize package size from 79.7KB to 64.5KB - Update .mcp.json to use npm package instead of local build 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
17
package.json
17
package.json
@@ -1,9 +1,22 @@
|
||||
{
|
||||
"name": "@ironclads/incus-mcp",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.3",
|
||||
"description": "MCP server for Incus container management",
|
||||
"main": "build/index.js",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./build/index.js",
|
||||
"types": "./build/index.d.ts"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"build/",
|
||||
"src/",
|
||||
"README.md",
|
||||
"CLAUDE.md",
|
||||
"mcp-config-example.json"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "node build/index.js",
|
||||
@@ -42,4 +55,4 @@
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user