reactfire icon indicating copy to clipboard operation
reactfire copied to clipboard

chore: bump dev tooling to modern versions

Open tyler-reitz opened this issue 5 months ago • 2 comments

Summary

  • TypeScript ^5.1.3 → ^6.0.3
  • Vitest ^0.32.2 → ^4.1.9, @vitest/ui → ^4.1.9
  • Vite ^4.3.9 → ^8.0.16, @vitejs/plugin-react ^4.0.1 → ^6.0.2
  • @rollup/plugin-typescript ^11.1.1 → ^12.3.0
  • Prettier ^2.8.8 → ^3.8.4
  • typedoc ^0.24.8 → ^0.28.19, typedoc-plugin-markdown ^3.15.3 → ^4.12.0 (required for TypeScript 6 compatibility)
  • tsconfig.json: moduleResolution: "node" + ignoreDeprecations: "6.0" (bundler resolution breaks rxfire subpath imports — keeping node resolution for now)
  • GitHub Actions: bump checkout, setup-node, upload-artifact, download-artifact, cache to v4

Test plan

  • [x] tsc --noEmit passes clean
  • [x] npm run build succeeds (pre-existing MISSING_GLOBAL_NAME warnings unchanged)
  • [x] npm run test:useObservable — 14/14 pass
  • [x] npm run test:firebaseApp — 7/7 pass

tyler-reitz avatar Jun 17 '26 17:06 tyler-reitz

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Jun 17 '26 17:06 google-cla[bot]

Note on the failing test checks: the 'throws an error if no observableId is provided' test failure in CI appears to be pre-existing and specific to the full emulator test suite environment — the test passes locally with both the old and new Vitest versions (14/14). Flagging so this doesn't block review.

tyler-reitz avatar Jun 17 '26 22:06 tyler-reitz

All CI checks now passing. Summary of changes made during review:

  • Node bumped to 22/24 per your suggestion
  • firebase-tools bumped to 15.22.3, which required also bumping firebase devDep to 11.x (12.x blocked by rxfire's peer dep) and migrating the test functions to the Gen 2 API
  • Full emulator test suite now passes on Node 22 and 24
  • Fixed 3 TypeScript 6 type errors surfaced by the tighter checker (tracked in #723)

tyler-reitz avatar Jun 26 '26 21:06 tyler-reitz