Modernize babel-plugin-django-gettext build and test.

Review Request #14863 — Created March 2, 2026 and submitted — Latest diff uploaded

Information

babel-plugin-django-gettext
master

Reviewers

I've recently been adding npm audit jobs in CI where it makes sense.
The babel-plugin-django-gettext pipeline flagged a bunch of issues,
primarily stemming from two very outdated packages: shelljs and
jasmine-node. We were also using a pretty old version of babel.

This change reorganizes the build and test setup to use much more modern
tooling. We're now using jasmine instead of jasmine-node, and
@babel/register as helper to do the compilation inline instead of
needing to run babel and then jasmine from a script. We also do the
build as a single step from the package.json file instead of having a
build script.

  • Ran unit tests.
  • Built a package and verified the result.
  • Ran npm audit.

Commits

Files