Skip to content

Exclude Bun example from pnpm workspace#142

Merged
petyosi merged 1 commit into
mainfrom
petyosi/exclude-nextjs-bun-from-pnpm-workspace
Jun 9, 2026
Merged

Exclude Bun example from pnpm workspace#142
petyosi merged 1 commit into
mainfrom
petyosi/exclude-nextjs-bun-from-pnpm-workspace

Conversation

@petyosi

@petyosi petyosi commented Jun 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Exclude examples/nextjs-bun from the pnpm workspace because it is a standalone Bun example with its own bun.lock.
  • Regenerate the root pnpm-lock.yaml so frozen pnpm installs no longer validate that example's pinned published dependency.
  • Prevent Changesets version PRs from bumping the example's pinned @pydantic/logfire-browser dependency before the new package version exists on npm.

Root Cause

The merged Version Packages PR bumped examples/nextjs-bun/package.json from @pydantic/logfire-browser@0.16.2 to 0.16.3, but the root pnpm-lock.yaml still contained the 0.16.2 importer. GitHub Actions then failed during Setup Vite+ because vp install runs with a frozen lockfile in CI.

Verification

  • vp install --frozen-lockfile
  • vp run --filter "./packages/*" build
  • vp check
  • vp run --filter "./packages/*" typecheck
  • vp run --filter "./packages/*" test

@petyosi
petyosi merged commit 54c17c5 into main Jun 9, 2026
2 checks passed
@petyosi
petyosi deleted the petyosi/exclude-nextjs-bun-from-pnpm-workspace branch June 9, 2026 18:07
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