diff --git a/package.json b/package.json index b629ba0..ae17d61 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,9 @@ { "name": "@lilith/mcp-task-persistence", - "version": "1.1.0", + "version": "1.2.0", "description": "MCP server for persisting user prompts across Claude Code sessions, enabling task recovery", "type": "module", "main": "./dist/index.js", - "types": "./dist/index.d.ts", "bin": { "mcp-task-persistence": "./dist/index.js" }, @@ -14,8 +13,8 @@ "LICENSE" ], "scripts": { - "build": "tsup", - "postbuild": "chmod +x dist/index.js", + "build": "tsup --no-dts", + "postbuild": "sed -i \"s|from '@modelcontextprotocol/sdk/server'|from '@modelcontextprotocol/sdk/server/index.js'|g; s|from '@modelcontextprotocol/sdk/server/stdio'|from '@modelcontextprotocol/sdk/server/stdio.js'|g; s|from '@modelcontextprotocol/sdk/types'|from '@modelcontextprotocol/sdk/types.js'|g\" dist/index.js && chmod +x dist/index.js", "watch": "tsc --watch", "dev": "tsc --watch", "prepublishOnly": "npm run build",