feat(build): Unify JS config for i18n and scripts

This change introduces `babel-node` to the development workflow, allowing the project to use modern JavaScript features like ES modules (`import`/`export`) in our build scripts and i18n command-line interface.

Previously, scripts in the `i18n` directory and the `scripts` directory were executed directly with `node`, which required them to use CommonJS (`require`/`module.exports`) and prevented the use of other Babel transformations that are standard across the rest of the project.

By switching to `babel-node`, this project now has unified JavaScript tooling, and now developers are no longer required to know which files need to use CommonJS (none anymore!).
This commit is contained in:
Corey Farwell
2025-10-20 15:29:00 -04:00
parent 1d94daf78a
commit 77c3eee481
6 changed files with 1037 additions and 346 deletions

1300
package-lock.json generated
View File

File diff suppressed because it is too large Load Diff