Skip to content

Conversation

@radium-v
Copy link
Collaborator

@radium-v radium-v commented Dec 2, 2025

Pull Request

📖 Description

  • Hoist common dev dependencies (webpack, rollup, testing, type tooling, etc.) to the repo root and pin them to exact versions for deterministic installs.
  • Remove redundant package-level devDependencies, refresh TypeScript/tsconfig settings, and tighten import paths where hoisting required code updates.
  • Lock remaining workspace dependencies (express, tslib, website tooling, etc.) to explicit versions and drop unused packages to shrink install surface.

👩‍💻 Reviewer Notes

  • Verified TypeScript 5.3.3 at root doesn't cause type-checking conflicts in dependent packages. Some packages required updated tsconfig settings to align with root compiler options.
  • Verified package-level builds (fast-element, fast-router, fast-ssr, fast-html, and examples) still resolve hoisted devDependencies correctly.
  • Smoke tested the website/examples to ensure removing local assets or dependencies didn’t break their build steps.
  • Istanbul is replaced with NYC for code coverage as it has better monorepo support and fewer issues with hoisted dependencies. Since Karma is being phased out, this should have minimal impact.

📑 Test Plan

Installing, building, and testing should work as expected across the monorepo.

  • The test setup script in fast-element was modified to be pulled in directly by Karma/Webpack, since the module: ES2015 and moduleResolution: Node16 aren't valid together in TypeScript 5.3+. Since this module's job is already pulling in dist files, it's safe to just rewire it to run directly against those files.
  • Tests for fast-ssr were using external resources for some test images. Local assets already existed, so these tests were updated to use local images to improve reliability. (There was also a console log that was removed.)

✅ Checklist

General

  • I have included a change request file using $ npm run change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

⏭ Next Steps

  • Monitor CI for regressions caused by dependency hoisting.
  • Follow up with targeted documentation or scripts if additional packages need bespoke guidance after the cleanup.

marchbox
marchbox previously approved these changes Dec 2, 2025
@radium-v radium-v force-pushed the users/radium-v/semver-ranges branch 2 times, most recently from 7596895 to f227829 Compare December 3, 2025 18:39
@radium-v radium-v requested a review from marchbox December 3, 2025 18:56
marchbox
marchbox previously approved these changes Dec 3, 2025
- Removed deprecated `istanbul` and `karma-coverage-istanbul-reporter` packages.
- Added `nyc` for coverage reporting in Node.js tests.
- Updated Karma configuration to use `karma-coverage` instead of `karma-coverage-istanbul-reporter`.
- Adjusted coverage reporter settings to align with new package.
- Modified test scripts in `fast-element` and `fast-router` packages to utilize `nyc` for coverage reporting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants