Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Migrate Applications and Libraries to ESM Format #2312

Closed
4 tasks done
AtelyPham opened this issue May 15, 2024 · 0 comments · Fixed by #2331
Closed
4 tasks done

[TASK] Migrate Applications and Libraries to ESM Format #2312

AtelyPham opened this issue May 15, 2024 · 0 comments · Fixed by #2331
Assignees
Labels
needs review 👓 Pull request needs a review

Comments

@AtelyPham
Copy link
Member

AtelyPham commented May 15, 2024

We need to migrate all apps and libs to the ESM format as most libraries, including wagmi, now only support ESM.

Continuing to use the CommonJS (CJS) format prevents us from upgrading dependencies to newer versions, which may include bug fixes, new features, and other improvements.

While it is possible to use CJS libraries in ESM modules, ESM libraries cannot be imported into CJS modules. Therefore, upgrading is necessary to use ESM-only libraries.

Task

  • Upgrade all @nx/* packages to version 19 (latest version as of now).
  • Migrate all libraries to the ESM format.
  • Migrate all applications to the ESM format.
  • Upgrade all dependencies to latest versions.

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review 👓 Pull request needs a review
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

1 participant