Skip to content

fix(ci): regenerate lockfile for npm 11 compatibility#770

Merged
jesseturner21 merged 1 commit intomainfrom
fix/lockfile-npm11-compat
Apr 2, 2026
Merged

fix(ci): regenerate lockfile for npm 11 compatibility#770
jesseturner21 merged 1 commit intomainfrom
fix/lockfile-npm11-compat

Conversation

@jesseturner21
Copy link
Copy Markdown
Contributor

Summary

  • Regenerated package-lock.json with npm 11 to include all 26 @esbuild/* platform optional dependency entries
  • Fixes npm ci failure on the Node 24.x CI matrix entry (which ships npm 11)
  • npm 10 only records platform-matching optional deps; npm 11 requires all entries present

Test plan

  • CI build passes on all matrix entries (Node 20.x, 22.x, 24.x)
  • npm ci succeeds with both npm 10 and npm 11

🤖 Generated with Claude Code

npm 11 (shipped with Node 24.x) requires all optional dependency
entries in the lock file, even for non-matching platforms. The lock
file was generated with npm 10, which only records the current
platform's optional deps (@esbuild/linux-x64). This caused npm ci
to fail on the Node 24.x CI matrix entry with "Missing: @esbuild/*
from lock file" errors.

Regenerated with npm 11 to include all 26 @esbuild/* platform entries.

Constraint: Lock file must be compatible with npm 10 (Node 20/22) and npm 11 (Node 24)
Rejected: Pin CI to npm 10 | would mask the issue and delay migration
Confidence: high
Scope-risk: narrow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jesseturner21 jesseturner21 requested a review from a team April 2, 2026 21:37
@github-actions github-actions bot added the size/xs PR size: XS label Apr 2, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Package Tarball

aws-agentcore-0.5.1.tgz

How to install

npm install https://github.com/aws/agentcore-cli/releases/download/pr-770-tarball/aws-agentcore-0.5.1.tgz

@jesseturner21 jesseturner21 merged commit ee7aea2 into main Apr 2, 2026
21 checks passed
@jesseturner21 jesseturner21 deleted the fix/lockfile-npm11-compat branch April 2, 2026 21:42
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 45.36% 6742 / 14862
🔵 Statements 44.95% 7158 / 15923
🔵 Functions 44.46% 1201 / 2701
🔵 Branches 45.49% 4482 / 9852
Generated in workflow #1594 for commit 2d1c0dc by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants