Skip to content

fix: sync package-lock.json engines.node with package.json - #413

Merged
epeicher merged 1 commit into
trunkfrom
fix/package-lock-engines-drift
Jul 24, 2026
Merged

fix: sync package-lock.json engines.node with package.json#413
epeicher merged 1 commit into
trunkfrom
fix/package-lock-engines-drift

Conversation

@epeicher

@epeicher epeicher commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • package-lock.json's root engines.node was stale (>=24.0.0), out of sync with package.json's >=24.0.0 <25.0.0. Running npm install against a stale lockfile can silently leave older dependency versions in place (this is how @wordpress/env ended up pinned at 10.39.0 locally instead of the ^11.7.0 the repo requires).

Test plan

  • npm install regenerates the lockfile with no further diff
  • WP_ENV_PORT=8894 npm run env:start succeeds
Open WordPress Playground Preview

Lockfile still had the pre-Node-25-pin engines range, which caused
older npm installs to silently keep a stale @wordpress/env and other
mismatched deps around.
@epeicher
epeicher enabled auto-merge (squash) July 24, 2026 10:06
@epeicher
epeicher merged commit 77fc6e6 into trunk Jul 24, 2026
5 checks passed
@epeicher
epeicher deleted the fix/package-lock-engines-drift branch July 24, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant