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

feat: output both esm and cjs; upgrade dependencies #226

Merged
merged 5 commits into from
Sep 15, 2023
Merged

Conversation

boopathi
Copy link
Member

@boopathi boopathi commented Sep 14, 2023

Part of overall maintenance of the project -

  1. Output both CJS and ESM. Refer package.json.
  2. Use faster @swc/jest instead of ts-jest
  3. Use faster @swc-node/register instead of ts-node
  4. Upgrade all dependencies to their latest version

Nits:

  1. Fix version of wrap-ansi to 7.x under jest - as wrap-ansi published a version (8.x) that is ESM only and jest-cli using this running as CJS always errors out. I have given up trying to make esm work with jest and typescript.

@boopathi boopathi changed the title chore: upgrade dependencies feat: output both esm and cjs; upgrade dependencies Sep 14, 2023
@oporkka
Copy link
Member

oporkka commented Sep 15, 2023

👍

1 similar comment
@boopathi
Copy link
Member Author

👍

@boopathi boopathi merged commit eac7fe3 into main Sep 15, 2023
9 checks passed
@boopathi boopathi deleted the chore-deps-1 branch September 15, 2023 08:22
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.

None yet

2 participants