Skip to content

lockfile out of sync with package.json — breaks npm ci in trivy Security Scan #1624

Description

@cursor

Problem

The trivy Security Scan job on main never reaches a vulnerability scan because docker build dies at:

RUN npm ci --workspace=apps/web --production --legacy-peer-deps

The lockfile integrity check fails because:

package package.json requires lockfile pinned
@ai-sdk/gateway ^4.0.55 4.0.23
postcss (apps/web nested) ^8.5.26 8.5.21

This has blocked Security Scan on PRs #1609, #1612, and #1621 and on main itself.

Fix

Regenerate package-lock.json with npm install --package-lock-only so the lockfile satisfies the manifests. No application code changes.

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions