Skip to content

fix(mcp-server): exclude test artifacts and build metadata from npm package#1345

Merged
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775322179/pane-2
Apr 4, 2026
Merged

fix(mcp-server): exclude test artifacts and build metadata from npm package#1345
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775322179/pane-2

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • apps/mcp-server/package.jsonfiles 필드에 negation 패턴 추가
  • spec 파일(*.spec.js, *.spec.d.ts), 빌드 메타데이터(*.tsbuildinfo), 소스맵(*.js.map, *.d.ts.map)을 npm 패키지에서 제외
  • 패키지 파일 수 1081 → 691로 감소 (390개 제거)

Closes #1342

Test plan

  • npm pack --dry-run — spec/tsbuildinfo/map 파일 0개 확인
  • yarn workspace codingbuddy build — 빌드 정상
  • yarn workspace codingbuddy test — 238 파일 5959 테스트 통과

…ackage (#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.
@JeremyDev87 JeremyDev87 added fix infra sub-issue 상위 이슈의 하위 작업 priority:medium Medium priority mcp-server apps/mcp-server labels Apr 4, 2026
@vercel

vercel Bot commented Apr 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 4, 2026 5:14pm

@JeremyDev87 JeremyDev87 self-assigned this Apr 4, 2026
@JeremyDev87 JeremyDev87 merged commit fd59efc into master Apr 4, 2026
26 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775322179/pane-2 branch April 4, 2026 23:07

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Review complete — all CI checks pass

Changes:

  • Added negation patterns to files array: !dist/**/*.spec.{js,d.ts}, !dist/**/*.tsbuildinfo, !dist/**/*.{js,d.ts}.map
  • Package size reduced: 1081 → 691 files

Clean whitelist-with-exclusions approach. LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix infra mcp-server apps/mcp-server priority:medium Medium priority sub-issue 상위 이슈의 하위 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(mcp-server): exclude test artifacts and build metadata from the npm package

1 participant