Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 1, 2025

This PR contains the following updates:

Package Change Age Confidence
cross-env ^7.0.3 -> ^10.0.0 age confidence

Release Notes

kentcdodds/cross-env (cross-env)

v10.0.0

Compare Source

TL;DR: You should probably not have to change anything if:

  • You're using a modern maintained version of Node.js (v20+ is tested)
  • You're only using the CLI (most of you are as that's the intended purpose)

In this release (which should have been v8 except I had some issues with automated releases 🙈), I've updated all the things and modernized the package. This happened in #​261

Was this needed? Not really, but I just thought it'd be fun to modernize this package.

Here's the highlights of what was done.

  • Replace Jest with Vitest for testing
  • Convert all source files from .js to .ts with proper TypeScript types
  • Use zshy for ESM-only builds (removes CJS support)
  • Adopt @​epic-web/config for TypeScript, ESLint, and Prettier
  • Update to Node.js >=20 requirement
  • Remove kcd-scripts dependency
  • Add comprehensive e2e tests with GitHub Actions matrix testing
  • Update GitHub workflow with caching and cross-platform testing
  • Modernize documentation and remove outdated sections
  • Update all dependencies to latest versions
  • Add proper TypeScript declarations and exports

The tool maintains its original functionality while being completely modernized with the latest tooling and best practices

BREAKING CHANGES
  • This is a major rewrite that changes the module format from CommonJS to ESM-only. The package now requires Node.js >=20 and only exports ESM modules (not relevant in most cases).

Configuration

📅 Schedule: Branch creation - "before 4am on Friday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Aug 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 7:33am

Copy link

github-actions bot commented Aug 1, 2025

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#renovate/cross-env-10.x

Notice: Ensure you have installed the latest nightly Rust toolchain. If you haven't installed it yet, please see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust.

or load it into the REPL:
https://rollup-p7y0f6gzw-rollup-js.vercel.app/repl/?pr=6048

Copy link

codecov bot commented Aug 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.79%. Comparing base (7e9f204) to head (034cc5d).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6048   +/-   ##
=======================================
  Coverage   98.79%   98.79%           
=======================================
  Files         271      271           
  Lines       10601    10601           
  Branches     2830     2830           
=======================================
  Hits        10473    10473           
  Misses         88       88           
  Partials       40       40           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor Author

renovate bot commented Aug 1, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@lukastaegert lukastaegert force-pushed the renovate/cross-env-10.x branch from 930c2da to 034cc5d Compare August 1, 2025 07:30
@lukastaegert lukastaegert enabled auto-merge August 1, 2025 07:31
Copy link

github-actions bot commented Aug 1, 2025

Performance report

  • BUILD: 6897ms, 820 MB
    • initialize: 0ms, 24.7 MB
    • generate module graph: 2578ms, 629 MB
      • generate ast: 1382ms, 622 MB
    • sort and bind modules: 392ms, 683 MB
    • mark included statements: 3916ms, 820 MB
      • treeshaking pass 1: 2321ms, 822 MB
      • treeshaking pass 2: 454ms, 850 MB (+3%)
      • treeshaking pass 3: 386ms, 821 MB
      • treeshaking pass 4: 374ms, 814 MB
      • treeshaking pass 5: 372ms, 820 MB
  • GENERATE: 963ms (+175ms, +22.3%), 924 MB
    • initialize render: 0ms, 937 MB (+4%)
    • generate chunks: 199ms (+149ms, +297.9%), 889 MB
      • optimize chunks: 0ms, 955 MB (+8%)
    • render chunks: 649ms (+32ms, +5.2%), 906 MB
    • transform chunks: 17ms, 924 MB
    • generate bundle: 0ms, 924 MB

@lukastaegert lukastaegert added this pull request to the merge queue Aug 1, 2025
auto-merge was automatically disabled August 1, 2025 07:50

Pull Request is not mergeable

Merged via the queue into master with commit e4082a8 Aug 1, 2025
42 checks passed
@lukastaegert lukastaegert deleted the renovate/cross-env-10.x branch August 1, 2025 07:52
Copy link

This PR has been released as part of [email protected]. You can test it via npm install rollup.

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.

1 participant