chore(deps): update dependencies and migrate to changesets v3 - #665
Conversation
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #665 +/- ##
=======================================
Coverage 98.14% 98.14%
=======================================
Files 49 49
Lines 10018 10018
=======================================
Hits 9832 9832
Misses 186 186
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Status on the two red checks:
then re-run the check by commenting Generated by Claude Code |
Bumps the dev toolchain to the latest versions allowed by the declared ranges and updates the release tooling. - `@changesets/cli` 2.31.0 -> 3.0.2, `@changesets/get-github-info` 0.8.0 -> 1.0.1, `@codspeed/core` 5.6.0 -> 5.7.1, plus lockfile-only updates (prettier 3.9.6, cspell 10.3.0, webpack 5.110.3, memfs 4.75.0, lint-staged 17.5.1, tinybench 6.2.0, eslint 9.39.5, ...) - `changesets/action` v2.1.1 -> v2.1.2 and the v1-style inputs renamed to the v2 ones. The action only supports CLI v3 and rejects the old input names, so the release job could not have run as it was. - The obsolete `GITHUB_TOKEN`/`NPM_TOKEN` env entries are dropped: the action injects `GITHUB_TOKEN` into the version/publish scripts itself and CLI v3 no longer performs the npm auth check the empty `NPM_TOKEN` worked around. - The changelog generator is ported to the renamed `getCommitInfo` / `getPullRequestInfo` API and their new return shape, and now degrades gracefully when a commit or pull request is not found. - `.changeset/README.md` and the config `$schema` follow the v3 templates. `eslint` stays on 9.x: `eslint-plugin-import`, pulled in by `eslint-config-webpack`, does not declare support for eslint 10 yet. `@types/node` stays on 24.x: 25 and 26 change the `lstatSync` and `readFileSync` overloads and break `lint:types`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K1wTTg6qPS3sGF9K9987am
prettier 3.9 formats short unions on a single line instead of breaking them with leading `|`, so the generated types no longer matched what `lint:special` produces. Regenerated with `npm run fix:special`; whitespace only, no type changes. Claude-Session: https://claude.ai/code/session_01K1wTTg6qPS3sGF9K9987am
f56731d to
0d77410
Compare
|
/easycla Generated by Claude Code |
Merging this PR will improve performance by 15.12%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | realistic-midsize: mixed batch (cold cache) |
18.3 ms | 15.5 ms | +18.66% |
| ⚡ | Memory | node-compare: node require.resolve x 1000 |
85.3 KB | 76.4 KB | +11.68% |
Tip
Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.
Comparing claude/update-deps-release-workflow-gbdbwm (0d77410) with main (70f60e7)
Summary
Updates the dev toolchain to the latest versions the declared ranges allow and, in doing so, repairs the release workflow: the pinned
changesets/action@v2.1.1only supports@changesets/cliv3 and rejects the v1-style inputs (version,publish,commit,title) the workflow still passed, so the release job could not have run as it was. This bumps@changesets/cli2.31.0 → 3.0.2,@changesets/get-github-info0.8.0 → 1.0.1,@codspeed/core5.6.0 → 5.7.1 andchangesets/action→ v2.1.2, renames the workflow inputs to the v2 ones, ports the changelog generator to the renamedgetCommitInfo/getPullRequestInfoAPI and its new return shape, and refreshes the remaining deps in the lockfile (prettier 3.9.6, cspell 10.3.0, webpack 5.110.3, memfs 4.75.0, lint-staged 17.5.1, tinybench 6.2.0, eslint 9.39.5,@types/node24.13.4).The obsolete
GITHUB_TOKEN/NPM_TOKENenv entries are dropped from the release job: the action injectsGITHUB_TOKENinto the version/publish scripts itself (and errors when the env var disagrees with thegithub-tokeninput), and CLI v3 no longer performs the npm auth check the emptyNPM_TOKENworked around..changeset/README.mdand the config$schemafollow the v3 templates, andimport/no-unresolvedis disabled for.changeset/*.mjsbecauseeslint-plugin-import's node resolver cannot follow the nowexports-only ESM package.Three deps are deliberately held back:
tooling(v1.26.4 → v1.28.1) because the release tarball host was unreachable from the environment this was prepared in, so no valid lockfile integrity could be produced;eslint10 becauseeslint-plugin-import, pulled in byeslint-config-webpack, still caps at eslint^9; and@types/node25/26 because both change thelstatSync/readFileSyncoverloads and breaklint:typesagainst theReadFileSync/SyncFileSystemtypedefs inlib/Resolver.js.What kind of change does this PR introduce?
chore — dependency and CI/release tooling updates, no library code touched.
Did you add tests for your changes?
n/a — no library code changed; the existing suite (1522 tests),
lint,lint:special,fmt:check,lint:spellcheckand the browser smoke bundle all pass, and the release path was exercised locally withchangeset status/changeset versionplus a stubbedget-github-infocovering every branch of the changelog generator.Does this PR introduce a breaking change?
No — devDependencies and CI only; the published package and its runtime deps are unchanged.
If relevant, what needs to be documented once your changes are merged or what have you already documented?
n/a
Use of AI
Written with Claude Code: it ran the dependency resolution and upgrade checks, ported the changelog generator, updated the release workflow, and ran the lint/test/release verification described above. All changes were reviewed against the upstream changesets v3 and action v2 sources.
🤖 Generated with Claude Code
https://claude.ai/code/session_01K1wTTg6qPS3sGF9K9987am
Generated by Claude Code