Skip to content

Conversation

@timofei-iatsenko
Copy link
Collaborator

@timofei-iatsenko timofei-iatsenko commented Nov 20, 2025

Description

#2363

Most noticable changes:

  1. Packages migrated to ESM-only, except @lingui/babel-plugin-lingui-macro, @lingui/loader, @lingui/macro (deprecated). Those excluded packages still using ESM depdendecies, so it will affect theirs consumers. Those packages was not converted to esm because there is no sense in that, babel and webpack consume them using a require function.
  2. Jest replaced to Vitest. I wasn't able to make Jest working with ESM modules without hacks. Vitest just worked out of the box with no issue
  3. Every package now has it's own tsconfig and build pipeline, since packages has diffrent targets (one for nodejs without a bundler, other for a bundler)
  4. The monorepo layout changed from using typescript path aliases to consume built artifacts. This is consequence of the point above. That ruined the whole dx inside of the monorepo, but this is temporarly step to make it work first, in next iterations i will try to improve development experience.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Examples update

Fixes # (issue)

Checklist

  • I have read the CONTRIBUTING and CODE_OF_CONDUCT docs
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation (if appropriate)

@vercel
Copy link

vercel bot commented Nov 20, 2025

@timofei-iatsenko is attempting to deploy a commit to the Crowdin Team on Vercel.

A member of the Team first needs to authorize it.

@timofei-iatsenko timofei-iatsenko changed the title Esm feat:! ESM-only conversion Nov 20, 2025
@timofei-iatsenko timofei-iatsenko changed the title feat:! ESM-only conversion feat!: ESM-only conversion Nov 20, 2025
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.

1 participant