Skip to content

Pin npm dependency versions - #801

Merged
amyu merged 3 commits into
mainfrom
codex/pin-dependency-versions
Jul 28, 2026
Merged

Pin npm dependency versions#801
amyu merged 3 commits into
mainfrom
codex/pin-dependency-versions

Conversation

@amyu

@amyu amyu commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Pin all npm dependencies and dev dependencies to the exact versions currently resolved in pnpm-lock.yaml.
  • Configure Renovate's npm manager to keep dependency versions pinned.
  • Update Biome to 2.5.5 and keep its package version, lockfile entry, and schema version aligned.
  • Regenerate the bundled source maps after the pnpm peer-resolution paths changed.

Why

The existing caret ranges allowed Renovate to update Biome's schema and lockfile entry without changing package.json. Exact versions make the selected toolchain and runtime dependency versions visible in the manifest and ensure future Renovate pull requests update the manifest and lockfile together.

The lockfile update also changed pnpm virtual-store paths embedded in the Rollup source maps. The generated maps were not updated in #800, causing check-dist to fail. This pull request includes the regenerated maps and supersedes #800.

Impact

Future npm dependency updates will be explicit in package.json, and generated artifacts will match the pinned dependency graph.

Validation

  • corepack pnpm install --frozen-lockfile
  • corepack pnpm run all
    • TypeScript build
    • Biome lint
    • Rollup packaging
  • git diff --check

@amyu
amyu marked this pull request as ready for review July 28, 2026 15:36
@amyu
amyu merged commit 2d8a4aa into main Jul 28, 2026
40 checks passed
@amyu
amyu deleted the codex/pin-dependency-versions branch July 28, 2026 16:26
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