Skip to content

Commit b45e1b2

Browse files
build(deps-dev): bump cross-env from 7.0.3 to 10.0.0 (#376)
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 7.0.3 to 10.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/kentcdodds/cross-env/releases">cross-env's releases</a>.</em></p> <blockquote> <h2>v10.0.0</h2> <h1><a href="https://github.com/kentcdodds/cross-env/compare/v9.0.0...v10.0.0">10.0.0</a> (2025-07-25)</h1> <p>TL;DR: You should probably not have to change anything if:</p> <ul> <li>You're using a modern maintained version of Node.js (v20+ is tested)</li> <li>You're only using the CLI (most of you are as that's the intended purpose)</li> </ul> <p>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 <a href="https://redirect.github.com/kentcdodds/cross-env/issues/261">#261</a></p> <p>Was this needed? Not really, but I just thought it'd be fun to modernize this package.</p> <p>Here's the highlights of what was done.</p> <ul> <li>Replace Jest with Vitest for testing</li> <li>Convert all source files from .js to .ts with proper TypeScript types</li> <li>Use zshy for ESM-only builds (removes CJS support)</li> <li>Adopt <code>@​epic-web/config</code> for TypeScript, ESLint, and Prettier</li> <li>Update to Node.js &gt;=20 requirement</li> <li>Remove kcd-scripts dependency</li> <li>Add comprehensive e2e tests with GitHub Actions matrix testing</li> <li>Update GitHub workflow with caching and cross-platform testing</li> <li>Modernize documentation and remove outdated sections</li> <li>Update all dependencies to latest versions</li> <li>Add proper TypeScript declarations and exports</li> </ul> <p>The tool maintains its original functionality while being completely modernized with the latest tooling and best practices</p> <h3>BREAKING CHANGES</h3> <ul> <li>This is a major rewrite that changes the module format from CommonJS to ESM-only. The package now requires Node.js &gt;=20 and only exports ESM modules (not relevant in most cases).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kentcdodds/cross-env/commit/8635e80e81080f3e8f83b514565dc6bfecf6760c"><code>8635e80</code></a> fix(release): manually release a major version</li> <li><a href="https://github.com/kentcdodds/cross-env/commit/3a58f2236009b2f52479f2927c7790129450ec63"><code>3a58f22</code></a> chore: fix npmrc registry</li> <li><a href="https://github.com/kentcdodds/cross-env/commit/b70bfff5ecff5c92f2462cd6334378ef5bd84db0"><code>b70bfff</code></a> chore(ci): add names to steps and workflows</li> <li><a href="https://github.com/kentcdodds/cross-env/commit/cc5759dc36012c4b13b3d3b1af5e0a645d3c55f6"><code>cc5759d</code></a> fix(release): manually release a major version</li> <li><a href="https://github.com/kentcdodds/cross-env/commit/080a8591909665f42592d73e1149d0a061164045"><code>080a859</code></a> chore: remove publish script</li> <li><a href="https://github.com/kentcdodds/cross-env/commit/31e5bc70e726dee8e453dd64d54ad02eeb66e23a"><code>31e5bc7</code></a> chore(ci): restore built files</li> <li><a href="https://github.com/kentcdodds/cross-env/commit/81e9c34f55c483dc1f568696db36267748b3740d"><code>81e9c34</code></a> chore(ci): add back semantic-release</li> <li><a href="https://github.com/kentcdodds/cross-env/commit/3e380cb3f6a09515011cdc3354ed61986eb8d2ef"><code>3e380cb</code></a> fix: link to license</li> <li><a href="https://github.com/kentcdodds/cross-env/commit/064247295945b2b8d922dc725cb58e779458e7fd"><code>0642472</code></a> fix: handle edge case and update README for clarity</li> <li><a href="https://github.com/kentcdodds/cross-env/commit/3ff5b3d7eebf14edf186d6fef44956bdd4a61b27"><code>3ff5b3d</code></a> feat: modernize cross-env with TypeScript, Vitest, and ESM-only build (<a href="https://redirect.github.com/kentcdodds/cross-env/issues/261">#261</a>)</li> <li>Additional commits viewable in <a href="https://github.com/kentcdodds/cross-env/compare/v7.0.3...v10.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cross-env&package-manager=npm_and_yarn&previous-version=7.0.3&new-version=10.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 3b53b41 commit b45e1b2

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

package-lock.json

Lines changed: 17 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"acorn-loose": "^8.5.2",
173173
"ansi-colors": "^4.1.3",
174174
"chai": "^4.5.0",
175-
"cross-env": "^7.0.3",
175+
"cross-env": "^10.0.0",
176176
"data-uri-to-buffer": "^6.0.2",
177177
"enhanced-resolve": "^5.18.2",
178178
"error-stack-parser": "^2.1.4",

0 commit comments

Comments
 (0)