Skip to content

ci: verify package-lock.json stays in sync and prune unused deps #195

Description

@samjay8

Problem

Dependabot bumps frequently and lockfiles drift. A lockfile out of sync with package.json silently breaks npm ci in CI and for contributors, and unused dependencies have crept in (e.g. the removed Lobstr signer-extension-api).

Scope

  • Add a CI check that runs npm install --package-lock-only and fails if the lockfile changes.
  • Audit package.json for unused deps (run npm ls, check imports) and remove them in the same PR.

Stop

  • Don't upgrade major versions — sync/prune only.

Definition of Done

  • CI fails on lockfile drift; npm ls reports no extraneous packages; build passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciCI workflows and checksinfraCI, deployment, repo toolingtrivialLeast-effort fix — typos, one-line bugs, simple docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions