Modernize babel-plugin-django-gettext build and test.
Review Request #14863 — Created March 2, 2026 and submitted — Latest diff uploaded
I've recently been adding
npm auditjobs in CI where it makes sense.
The babel-plugin-django-gettext pipeline flagged a bunch of issues,
primarily stemming from two very outdated packages:shelljsand
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 usingjasmineinstead ofjasmine-node, and
@babel/registeras 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.