chore: refresh npm lockfile within existing ranges - #4
Draft
shaboooooozy1 wants to merge 1 commit into
Draft
Conversation
Regenerate package-lock.json with npm update, keeping all package.json version ranges untouched. 42 direct dependencies move to their latest in-range releases (notably next 16.1.6 -> 16.2.11, @primer/react 38.13.0 -> 38.33.0, vitest 4.0.18 -> 4.1.10, eslint 9.39.3 -> 9.39.5), plus transitive refreshes. Two packages are deliberately held at their current lockfile versions: @primer/css stays at 21.3.1 because 21.5.x declares a peer on @primer/primitives 9.x||10.x that conflicts with the root's ^11 range under strict resolution, and prettier stays at 3.8.1 because 3.9.x changes formatting decisions and fails npm run lint against the checked-in source. Verified: install completes, strict npm install --package-lock-only leaves the lockfile stable (package-lock-lint parity), npm run tsc and npm run lint pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HLNXGDL9moA6d5M4d72jxb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why:
Closes: N/A — recurring conservative dependency maintenance. Regenerates
package-lock.jsonwithin the existingpackage.jsonversion ranges (no manifest edits) so the site picks up in-range patch/minor releases.What's being changed (if available, include any code snippets, screenshots, or gifs):
package-lock.jsononly, regenerated withnpm update. 42 direct dependencies moved to their latest in-range release (149 packages changed in total, 44 added, 36 removed — all transitive refreshes chosen by the resolver within declared ranges).Direct dependency bumps:
Deliberately held back (still within range, unchanged from the previous lockfile):
@primer/primitives@9.x || 10.x, which conflicts with the root's^11.3.1range under strict resolution (the repo'spackage-lock-lintCI would reject a--legacy-peer-depslockfile).npm run lintreported 59prettier/prettiererrors against the checked-in source. Reformatting source files is out of scope for a lockfile refresh, so prettier is held at the version the codebase is formatted with.Verification run in this environment (Node v22, npm 10.9.7 — engines want
^24, npm emitted an EBADENGINE warning but installs fine):npm update/ full install completed successfully (scripts enabled)npm install --package-lock-only --ignore-scripts --include=optional(same command as thepackage-lock-lintworkflow) leaves the lockfile unchanged — strict peer resolution accepts itnpm run tsc(tsc --noEmit): passes clean, ~24snpm run lint(eslint over all ts/tsx): passes clean, ~40sDeferred to CI: the full
next buildand the vitest suite (CI builds the site before running tests; a vitest smoke run here failed only on the missing.nextproduction build, which is environmental, not dependency-related). Playwright/browser tests also deferred to CI.Check off the following:
🤖 Generated with Claude Code
https://claude.ai/code/session_01HLNXGDL9moA6d5M4d72jxb
Generated by Claude Code