From 67e06c3c343388ace3323b0b9b0aa9ce9658b035 Mon Sep 17 00:00:00 2001 From: "Brian,Kun Liu" Date: Thu, 12 Jun 2025 19:00:34 +0800 Subject: [PATCH] fix: cannot find the package after building and the problem during the building --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 90c1912..e5ee10d 100644 --- a/package.json +++ b/package.json @@ -11,12 +11,14 @@ "bin": { "openapi-mcp-generator": "./bin/openapi-mcp-generator.js" }, + "main": "dist/index.js", "files": [ "dist", "bin", "README.md", "LICENSE" ], + "types": "./dist/index.d.ts", "scripts": { "start": "node dist/index.js", "clean": "rimraf dist",