fix(lockfile): regenerate to restore strict npm ci#20
Merged
Conversation
@types/[email protected] and [email protected] were already referenced via the dep graph but missing from package-lock.json, causing strict npm ci to fail on every run once CI landed (ben-vargas#19). 21-line targeted lockfile addition via `npm install --package-lock-only` to bring the lockfile into sync without churning unrelated entries. Keeps CI strict.
4bd56e3 to
e0b9b71
Compare
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.
Problem
The CI workflow added in #19 fails on every push to `ai-sdk-v5` because `package-lock.json` is out-of-sync with `package.json`:
```
npm error Missing: @types/[email protected] from lock file
npm error Missing: [email protected] from lock file
```
Failing run on the #19 merge commit: https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/actions/runs/24408770528
The drift was present before CI landed - it just wasn't visible without CI.
Fix
Targeted lockfile update via `npm install --package-lock-only` to add the two missing transitive entries. 21-line addition, no other churn.
Chose this over loosening CI to `npm install` because:
Test plan