Bump @rollup components to latest versions and fix TypeScript compatibility #317
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated @rollup/plugin-commonjs and @rollup/plugin-node-resolve to their latest versions across all projects in the monorepo, and fixed TypeScript compatibility issues that were blocking the build.
Changes Made
^25.0.7to^28.0.6^15.2.3to^16.0.1^20.17.10for TypeScript 4.9.x compatibilityFiles Updated
/package.json(root)/ts-plugin/package.json/eslint-ts-plugin/package.json/shared/package.jsoncommon/config/rush/npm-shrinkwrap.json(dependency lockfile)Issue Resolution
During the @rollup plugin upgrade, build failures were discovered that were caused by TypeScript version incompatibilities (not by the @rollup updates themselves). The project uses TypeScript 4.9.x, but transitive dependencies were pulling in
@types/node@24.xwhich requires TypeScript 5.6+. This was resolved by explicitly pinning@types/nodeto version^20.17.10which is compatible with TypeScript 4.9.x.Verification
The existing rollup configurations in
rollup.config.mjsfiles across all projects use standard plugin APIs that are maintained for backwards compatibility, ensuring a smooth upgrade path.Fixes #316.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.