Skip to content

fix(deps): sync lockfile with the ajv@8 peer of @hookform/resolvers - #32

Merged
awindsr merged 1 commit into
mainfrom
consolidate-monorepo
Sep 3, 2026
Merged

awindsr merged 1 commit into
mainfrom
consolidate-monorepo

Conversation

@awindsr

@awindsr awindsr commented Sep 3, 2026

Copy link
Copy Markdown
Member

npm ci failed with EUSAGE: package.json and package-lock.json were out of sync ("lock file's ajv@6.15.0 does not satisfy ajv@8.20.0").

@hookform/resolvers is declared as ^5.2.2 and resolves to 5.9.1, which declares an optional peer dependency on ajv@^8.12.0. optional means npm will not error when the peer cannot be installed; it does not mean npm skips it. So the correct tree hoists ajv@8.20.0 to the root and nests eslint's ajv@6.15.0 under eslint/ and @eslint/eslintrc/.

The committed lockfile carried only ajv@6.15.0 at the root and no ajv@8 at all. It was last regenerated in 77d24fe, when the monorepo was collapsed, and never accounted for that peer.

Regenerated with npm install. package.json is unchanged. The diff is 12 additions and no removals; the two apparent version changes are hoisting moves, so eslint still resolves the same ajv@6.15.0 it did before.

npm ci failed with EUSAGE: package.json and package-lock.json were out of
sync ("lock file's ajv@6.15.0 does not satisfy ajv@8.20.0").

@hookform/resolvers is declared as ^5.2.2 and resolves to 5.9.1, which
declares an optional peer dependency on ajv@^8.12.0. optional means npm
will not error when the peer cannot be installed; it does not mean npm
skips it. So the correct tree hoists ajv@8.20.0 to the root and nests
eslint's ajv@6.15.0 under eslint/ and @eslint/eslintrc/.

The committed lockfile carried only ajv@6.15.0 at the root and no ajv@8
at all. It was last regenerated in 77d24fe, when the monorepo was
collapsed, and never accounted for that peer.

Regenerated with npm install. package.json is unchanged. The diff is 12
additions and no removals; the two apparent version changes are hoisting
moves, so eslint still resolves the same ajv@6.15.0 it did before.
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
debrief Error Error Sep 3, 2026 10:00am UTC
debrief-game Error Error Sep 3, 2026 10:00am UTC

@awindsr
awindsr merged commit 2462fd9 into main Sep 3, 2026
3 of 5 checks passed

This branch had an error being deployed

2 failed deployments
Preview – debrief — e6f0f21f Deployed Sep 3, 2026 by vercel[bot]
Preview – debrief-game — e6f0f21f Deployed Sep 3, 2026 by vercel[bot]
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