Modernize jasmine-suites build and install.

Review Request #14636 — Created Oct. 15, 2025 and updated

Information

jasmine-suites
master

Reviewers

This change modernizes our jasmine-suites package in many ways:

  • Ported the code to TypeScript.
  • Moved .babelrc to babel.config.json
  • Changed dependencies so we use @babel/js-buildkit and
    @babel/frontend-buildkit as the meta-packages that pull in
    everything we need to build, and instead of depending on jasmine
    (which is the node CLI package for running tests), we have a peer
    dependency on jasmine-core.
  • Set our minimum jasmine dependency as 5.0+.
  • Added an ESLint config.

Built the package and used it from Review Board.

Summary ID
Modernize jasmine-suites build and install.
This change modernizes our jasmine-suites package in many ways: * Ported the code to TypeScript. * Moved `.babelrc` to `babel.config.json` * Changed dependencies so we use `@babel/js-buildkit` and `@babel/frontend-buildkit` as the meta-packages that pull in everything we need to build, and instead of depending on `jasmine` (which is the node CLI package for running tests), we have a peer dependency on `jasmine-core`. * Set our minimum jasmine dependency as 5.0+. * Added missing NEWS.md and LICENSE files. * Added an ESLint config. Testing Done: Built the package and used it from Review Board.
kvmqwzylsytpwvmpksvlyxmppxwnkqrw
david
Review request changed
Change Summary:
  • List imports for cjs and esm, along with types files.
  • Fix global symbol used in rollup config so we're compatible with both browsers and node.
  • Remove assertion about jasmine version, since that should be pretty well handled through package dependencies now.
Commits:
Summary ID
Modernize jasmine-suites build and install.
This change modernizes our jasmine-suites package in many ways: * Ported the code to TypeScript. * Moved `.babelrc` to `babel.config.json` * Changed dependencies so we use `@babel/js-buildkit` and `@babel/frontend-buildkit` as the meta-packages that pull in everything we need to build, and instead of depending on `jasmine` (which is the node CLI package for running tests), we have a peer dependency on `jasmine-core`. * Set our minimum jasmine dependency as 5.0+. * Added missing NEWS.md and LICENSE files. * Added an ESLint config. Testing Done: Built the package and used it from Review Board.
kvmqwzylsytpwvmpksvlyxmppxwnkqrw
Modernize jasmine-suites build and install.
This change modernizes our jasmine-suites package in many ways: * Ported the code to TypeScript. * Moved `.babelrc` to `babel.config.json` * Changed dependencies so we use `@babel/js-buildkit` and `@babel/frontend-buildkit` as the meta-packages that pull in everything we need to build, and instead of depending on `jasmine` (which is the node CLI package for running tests), we have a peer dependency on `jasmine-core`. * Set our minimum jasmine dependency as 5.0+. * Added missing NEWS.md and LICENSE files. * Added an ESLint config. Testing Done: Built the package and used it from Review Board.
kvmqwzylsytpwvmpksvlyxmppxwnkqrw

Checks run (2 succeeded)

flake8 passed.
JSHint passed.