Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 25, 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.1.0

Compare Source

Features
  • add support for default value syntax (152ae6a)

For example:

"dev:server": "cross-env wrangler dev --port ${PORT:-8787}",

If PORT is already set, use that value, otherwise fallback to 8787.

Learn more about Shell Parameter Expansion

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 - "every weekday" (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

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Node.js Version Conflict with Dependency

Node.js version incompatibility: The project's engines.node field (>=18.0.0) conflicts with the updated cross-env v10.0.0 dependency, which requires Node.js >=20. This causes runtime failures on Node.js 18 and 19 when executing npm scripts using cross-env, despite the project claiming support for these versions. Update engines.node to >=20.0.0.

package.json#L70-L73

apify-docs/package.json

Lines 70 to 73 in 898a4f2

"@docusaurus/core": "^3.8.1",
"@docusaurus/faster": "^3.8.1",
"@docusaurus/plugin-client-redirects": "^3.8.1",
"@docusaurus/plugin-content-docs": "^3.8.1",

package.json#L50-L51

apify-docs/package.json

Lines 50 to 51 in 898a4f2

"babel-plugin-styled-components": "^2.1.4",
"cross-env": "^10.0.0",

Fix in CursorFix in Web


Comment bugbot run to trigger another review on this PR

@apify-service-account
Copy link

Preview for this PR was built for commit 898a4f2 and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 898a4f2 to 9eccf89 Compare July 31, 2025 00:00
@apify-service-account
Copy link

Preview for this PR was built for commit 9eccf89 and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch 2 times, most recently from 700b374 to 65439b2 Compare August 5, 2025 08:53
@apify-service-account
Copy link

Preview for this PR was built for commit 65439b2 and is ready at https://pr-1731.preview.docs.apify.com!

1 similar comment
@apify-service-account
Copy link

Preview for this PR was built for commit 65439b2 and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 65439b2 to dd0ef4d Compare August 10, 2025 15:46
@apify-service-account
Copy link

Preview for this PR was built for commit dd0ef4d and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from dd0ef4d to 7b8219e Compare August 13, 2025 11:46
@apify-service-account
Copy link

Preview for this PR was built for commit 7b8219e and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 7b8219e to d041cf8 Compare August 19, 2025 12:08
@apify-service-account
Copy link

Preview for this PR was built for commit d041cf8 and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from d041cf8 to cba23e6 Compare August 31, 2025 11:58
@apify-service-account
Copy link

Preview for this PR was built for commit cba23e6 and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from cba23e6 to bb24db1 Compare September 2, 2025 05:15
@apify-service-account
Copy link

Preview for this PR was built for commit bb24db1 and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from bb24db1 to f56474a Compare September 25, 2025 18:03
@apify-service-account
Copy link

Preview for this PR was built for commit f56474a and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from f56474a to 3f44cea Compare September 29, 2025 08:46
@apify-service-account
Copy link

Preview for this PR was built for commit 3f44cea and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 3f44cea to 02e092c Compare September 29, 2025 13:48
@apify-service-account
Copy link

Preview for this PR was built for commit 02e092c and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 02e092c to 59d9cbc Compare September 29, 2025 18:56
@apify-service-account
Copy link

Preview for this PR was built for commit 59d9cbc and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 59d9cbc to 1861fe5 Compare October 1, 2025 08:13
@apify-service-account
Copy link

Preview for this PR was built for commit 1861fe5 and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 1861fe5 to 31f4a01 Compare October 1, 2025 08:24
@apify-service-account
Copy link

Preview for this PR was built for commit 31f4a01 and is ready at https://pr-1731.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit d2017f5 and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from d2017f5 to 61f0f7f Compare October 7, 2025 13:28
@apify-service-account
Copy link

Preview for this PR was built for commit 61f0f7f and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 61f0f7f to 38cf6ca Compare October 8, 2025 08:10
@apify-service-account
Copy link

Preview for this PR was built for commit 38cf6ca and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 38cf6ca to 6860ed1 Compare October 8, 2025 08:48
@apify-service-account
Copy link

Preview for this PR was built for commit 6860ed1 and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 6860ed1 to 7978e62 Compare October 8, 2025 09:43
@apify-service-account
Copy link

Preview for this PR was built for commit 7978e62 and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch 2 times, most recently from 9e2fd2f to 3f4980f Compare October 8, 2025 11:19
@apify-service-account
Copy link

Preview for this PR was built for commit 9e2fd2f and is ready at https://pr-1731.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 3f4980f and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 3f4980f to 4580b6a Compare October 8, 2025 11:38
@apify-service-account
Copy link

Preview for this PR was built for commit 4580b6a and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 4580b6a to ef401cc Compare October 8, 2025 11:46
@apify-service-account
Copy link

Preview for this PR was built for commit ef401cc and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch 2 times, most recently from cd6b1b8 to 48a202b Compare October 8, 2025 12:23
@apify-service-account
Copy link

Preview for this PR was built for commit cd6b1b8 and is ready at https://pr-1731.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 48a202b and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch 2 times, most recently from 82bbf8a to e36999d Compare October 8, 2025 13:12
@apify-service-account
Copy link

Preview for this PR was built for commit 82bbf8ab and is ready at https://pr-1731.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit e36999d and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from e36999d to 4807b6f Compare October 9, 2025 08:38
@apify-service-account
Copy link

Preview for this PR was built for commit 4807b6f and is ready at https://pr-1731.preview.docs.apify.com!

@renovate renovate bot force-pushed the renovate/cross-env-10.x branch from 4807b6f to d0a784c Compare October 9, 2025 08:58
@apify-service-account
Copy link

Preview for this PR was built for commit d0a784c and is ready at https://pr-1731.preview.docs.apify.com!

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