fix(deps): regenerate lockfile so npm ci works on node:20 - #50
Merged
Conversation
The image builds on node:20-alpine, whose npm 10 rejected the lock with "Missing: @swc/helpers@0.5.23". Root cause is unrelated to any recent feature work: next-intl pulls @swc/core, which requires @swc/helpers >=0.5.17, but the tree hoisted next's 0.5.15 to the top and no nested copy was recorded. npm 11 (local) flags that as `invalid` yet installs anyway, so it never surfaced — and no image had been built from main since 2026-07-04, so CI never caught it either. Regenerated from scratch: the lock now carries both node_modules/@swc/helpers@0.5.15 (next) and node_modules/next-intl/node_modules/@swc/helpers@0.5.23 (@swc/core), and `npm ls @swc/helpers` reports no invalid resolutions. next-intl moved 4.13.0 → 4.13.4 within its existing semver range. tsc and next build are clean. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
npm cion node:20-alpine (npm 10) rejected the lock: next-intl's @swc/core needs @swc/helpers >=0.5.17 but only next's hoisted 0.5.15 was recorded. Pre-existing on main — npm 11 tolerates it asinvalid, and no image had been built from main since 07-04. Regenerated; both copies now recorded. tsc + build clean. 🤖 Generated with Claude Code