Skip to content

Refactor and convert JS codebase to ESM #6899

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

Merged
merged 37 commits into from
Mar 29, 2025

Conversation

cometkim
Copy link
Member

@cometkim cometkim commented Jul 21, 2024

Steps:

  • Enable lint and fix it
  • Switch to JS modules from CommonJS
  • Clean/Refactor scripts
  • Clean/Refactor CLIs

Required #7354 to use features:

I won't refactor tests here yet.

@cometkim cometkim force-pushed the mordern-js-1 branch 3 times, most recently from 98fadef to e7c46ba Compare July 21, 2024 18:18
@cometkim

This comment was marked as outdated.

@cometkim cometkim self-assigned this Aug 27, 2024
@cometkim cometkim force-pushed the mordern-js-1 branch 4 times, most recently from fecfe13 to 2bb06a1 Compare March 18, 2025 21:23
@cometkim cometkim changed the title Clean & mordernize JS codebase Clean & modernize JS codebase Mar 18, 2025
@cometkim cometkim force-pushed the mordern-js-1 branch 9 times, most recently from 23b3b44 to 0067a89 Compare March 23, 2025 06:03
@cometkim cometkim changed the title Clean & modernize JS codebase Switch JS codebase to ESM Mar 23, 2025
@cometkim cometkim force-pushed the mordern-js-1 branch 7 times, most recently from 06b3c80 to 39f16bd Compare March 23, 2025 06:59
@cknitt
Copy link
Member

cknitt commented Mar 29, 2025

Just noticed that this checks in tests/docstring_tests/generated_mocha_test.res.js. I'd rather avoid that because that file is huge.
This used to be generated_mocha_test.res.mjs and was in .gitignore.

@cometkim
Copy link
Member Author

Thanks, updated the ignore file

@cometkim cometkim merged commit 99bb698 into rescript-lang:master Mar 29, 2025
20 checks passed
@cometkim cometkim deleted the mordern-js-1 branch March 29, 2025 14:48
fhammerschmidt pushed a commit that referenced this pull request Apr 4, 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.

3 participants