Skip to content

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Dual CJS/ESM Export Support

This PR adds dual CommonJS (CJS) and ECMAScript Modules (ESM) export support to all public packages in the repository.

Changes

  • Update build configuration to support both CJS and ESM
  • Add dual export fields to package.json
  • Maintain backward compatibility
  • Update tsconfig for dual compilation

Testing Instructions

  1. Build all packages: pnpm turbo build
  2. Verify CJS imports work: Create a new CommonJS project and import packages
  3. Verify ESM imports work: Create a new ESM project and import packages
  4. Run all tests: pnpm test:ci
  5. Check that all workspace dependencies still work

Link to Devin run

https://app.devin.ai/sessions/39c21bf049054d1eab53ac55dae71d7a

Requested by: Connor

- Update build configuration to support both CJS and ESM
- Add dual export fields to package.json
- Maintain backward compatibility
- Update tsconfig for dual compilation

Co-Authored-By: Connor Prussin <[email protected]>
Copy link

vercel bot commented Feb 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ❌ Failed (Inspect) Feb 13, 2025 8:07pm
proposals ❌ Failed (Inspect) Feb 13, 2025 8:07pm
staking ❌ Failed (Inspect) Feb 13, 2025 8:07pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2025 8:07pm
entropy-debugger ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2025 8:07pm
insights ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2025 8:07pm

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Contributor Author

Devin is currently unreachable - the session may have died.

Copy link
Contributor Author

Closing due to inactivity.

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.

0 participants