Skip to content

Commit fd59efc

Browse files
committed
fix(mcp-server): exclude test artifacts and build metadata from npm package (#1342)
Add negation patterns to the files field in package.json to exclude spec files, tsbuildinfo, and source map files from the published npm tarball. Reduces packaged files from 1081 to 691.
1 parent a334891 commit fd59efc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/mcp-server/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
"bin": "./dist/src/cli/cli.js",
3535
"files": [
3636
"dist",
37+
"!dist/**/*.spec.js",
38+
"!dist/**/*.spec.d.ts",
39+
"!dist/**/*.tsbuildinfo",
40+
"!dist/**/*.js.map",
41+
"!dist/**/*.d.ts.map",
3742
"README.md"
3843
],
3944
"publishConfig": {

0 commit comments

Comments
 (0)