Skip to content

Fix MakeCommerce DTS build#5

Merged
nahremenkova1 merged 1 commit into
mainfrom
codex/fix-makecommerce-tsup-dts-build
May 11, 2026
Merged

Fix MakeCommerce DTS build#5
nahremenkova1 merged 1 commit into
mainfrom
codex/fix-makecommerce-tsup-dts-build

Conversation

@biggora
Copy link
Copy Markdown
Owner

@biggora biggora commented May 11, 2026

Summary

  • Change tsup.config.ts to use named entries for the root and NestJS entrypoints.
  • Match the working SDK build pattern used by @biggora/klix and @biggora/paysera by setting outDir and externalizing NestJS/RxJS peer packages.

Root cause

The array entry form caused the DTS build to treat dist/nest/index.d.ts as an input/output collision during npm run build, failing with TS5055 after JavaScript output succeeded.

Validation

  • npm run build in makecommerce: passed after the config change.
  • npm test in makecommerce: 4 files, 12 tests passed.
  • npm run typecheck in makecommerce: passed.
  • Cross-SDK daily review also ran tests/typechecks/builds for klix and paysera; both passed.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
@nahremenkova1 nahremenkova1 marked this pull request as ready for review May 11, 2026 09:09
Copy link
Copy Markdown
Collaborator

@nahremenkova1 nahremenkova1 left a comment

Choose a reason for hiding this comment

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

Reviewed the DTS build fix. Verified npm ci, npm run build, npm run typecheck, and npm test locally; DTS now emits dist/index.d.ts and dist/nest/index.d.ts successfully.

@nahremenkova1 nahremenkova1 merged commit 82b7655 into main May 11, 2026
2 checks passed
@nahremenkova1 nahremenkova1 deleted the codex/fix-makecommerce-tsup-dts-build branch May 11, 2026 09:09
@biggora biggora changed the title [codex] Fix MakeCommerce DTS build Fix MakeCommerce DTS build May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants