fix: align Node.js engines with bundler-plugin-core (>=20)#327
Merged
thomasrockhu-codecov merged 1 commit intomainfrom Apr 10, 2026
Merged
fix: align Node.js engines with bundler-plugin-core (>=20)#327thomasrockhu-codecov merged 1 commit intomainfrom
thomasrockhu-codecov merged 1 commit intomainfrom
Conversation
Set engines.node to >=20.0.0 on all published packages that depend on @codecov/bundler-plugin-core and on the monorepo root so metadata matches the supported runtime. Update checkNodeVersion() to require Node 20+ so runtime warnings match package.json engines. Made-with: Cursor
Codecov Report❌ Patch coverage is
Additional details and impacted files
☔ View full report in Codecov by Sentry. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Bundle ReportChanges will decrease total bundle size by 63 bytes (-0.0%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: @codecov/remix-vite-plugin-esmAssets Changed:
view changes for bundle: @codecov/example-next-app-client-array-pushAssets Changed:
view changes for bundle: @codecov/webpack-plugin-esmAssets Changed:
view changes for bundle: @codecov/vite-plugin-esmAssets Changed:
view changes for bundle: @codecov/bundler-plugin-core-cjsAssets Changed:
Files in
view changes for bundle: @codecov/astro-plugin-esmAssets Changed:
view changes for bundle: @codecov/sveltekit-plugin-esmAssets Changed:
view changes for bundle: @codecov/bundler-plugin-core-esmAssets Changed:
Files in
view changes for bundle: @codecov/nextjs-webpack-plugin-esmAssets Changed:
view changes for bundle: @codecov/example-sveltekit-app-client-esmAssets Changed:
view changes for bundle: @codecov/example-sveltekit-app-server-esmAssets Changed:
view changes for bundle: @codecov/example-astro-5-app-server-esmAssets Changed:
view changes for bundle: @codecov/bundle-analyzer-esmAssets Changed:
view changes for bundle: @codecov/rollup-plugin-esmAssets Changed:
view changes for bundle: @codecov/example-next-15-app-client-array-pushAssets Changed:
view changes for bundle: @codecov/example-astro-app-server-esmAssets Changed:
|
jason-ford-codecov
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
@codecov/bundler-plugin-corealready declaredengines.node:>=20.0.0after the@actions/*v3/v9 bump, but published consumer packages and the monorepo root still advertised>=18.0.0. That mismatch was misleading forengines-strict installs and did not match supported runtime policy.Changes
engines.nodeto>=20.0.0on the rootpackage.jsonand on every published package underpackages/*that previously required Node 18 (all plugins plusbundle-analyzer;bundler-plugin-corewas already>=20).NODE_VERSION_RANGEincheckNodeVersion.tsto>=20.0.0so the runtime warning matchespackage.json.Notes
@actions/coreand@actions/githubremain bundled into core’sdist; this change is about accurate support metadata and consistent version checks, not ESM resolution at load time.Made with Cursor