Skip to content

Bug/clean esm cjs exports#48

Merged
devmocrea merged 20 commits into
mainfrom
bug/clean-esm-cjs-exports
May 23, 2026
Merged

Bug/clean esm cjs exports#48
devmocrea merged 20 commits into
mainfrom
bug/clean-esm-cjs-exports

Conversation

@devmocrea
Copy link
Copy Markdown
Owner

Summary of Completed Work
Integrated tsup: Configured tsup as a devDependency in packages/sdk and created tsup.config.ts specifying clean outputs, sourcemaps, and dual CJS/ESM compilation formats.
Updated package configurations: Defined modern conditional exports, aligned main/module entrypoints, and optimized the packaged files inclusion list inside package.json.
Wired validation scripts: Authored automated verification scripts (test-cjs.js, test-esm.mjs, and test-types.js) to assert import compatibility and clean TypeScript declaration generations. All verification tests pass cleanly.

Closes #27

@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

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

Project Deployment Actions Updated (UTC)
project-fyjjc Building Building Preview, Comment May 23, 2026 2:22am
susu-chain-web Building Building Preview, Comment May 23, 2026 2:22am
susu-chain-web-glkv Building Building Preview, Comment May 23, 2026 2:22am

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.

bug: verify clean ESM and CommonJS exports for SDK packaging

1 participant