Skip to content

Commit a2092b6

Browse files
[INTERNAL] Bump cross-env from 7.0.3 to 10.0.0 (#734)
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) You can trigger a rebase of this PR 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> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 98b2ee2 commit a2092b6

2 files changed

Lines changed: 18 additions & 12 deletions

File tree

package-lock.json

Lines changed: 16 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md v4.0.0.. && git add CHANGELOG.md",
4747
"prepublishOnly": "git push --follow-tags",
4848
"release-note": "git-chglog --sort semver -c .chglog/release-config.yml v$npm_package_version",
49-
"depcheck": "depcheck --ignores @ui5/server,docdash,compression,cors,@istanbuljs/esm-loader-hook --parsers='**/*.js:es6,**/*.cjs:es6'"
49+
"depcheck": "depcheck --ignores @ui5/server,docdash,compression,cors,@istanbuljs/esm-loader-hook,cross-env --parsers='**/*.js:es6,**/*.cjs:es6'"
5050
},
5151
"files": [
5252
"CHANGELOG.md",
@@ -143,7 +143,7 @@
143143
"@ui5/project": "^4.0.9",
144144
"ava": "^6.4.1",
145145
"chokidar-cli": "^3.0.0",
146-
"cross-env": "^7.0.3",
146+
"cross-env": "^10.1.0",
147147
"depcheck": "^1.4.7",
148148
"docdash": "^2.0.2",
149149
"eslint": "^9.39.2",

0 commit comments

Comments
 (0)