Skip to content

chore(deps): resolve @sanity/tsconfig to 2.2.1 in the doc examples lockfile entry - #3586

Merged
christianhg merged 1 commit into
mainfrom
chore/lockfile-doc-examples-tsconfig
Nov 4, 2026
Merged

christianhg merged 1 commit into
mainfrom
chore/lockfile-doc-examples-tsconfig

Conversation

@christianhg

@christianhg christianhg commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

pnpm install fails on main with ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY: Broken lockfile: no entry for '@sanity/tsconfig@2.1.0', so every CI job that installs dependencies is red.

The apps/doc-examples importer in pnpm-lock.yaml still resolves @sanity/tsconfig to v2.1.0. The tooling catalog asks for ^2.2.1, every other importer resolves v2.2.1, and the lockfile only has a v2.2.1 package entry. The importer was added on a branch that predates the catalog bump, and the stale resolution survived the rebase.

This regenerates the lockfile with pnpm install --lockfile-only --fix-lockfile on pnpm v10.25.0. The diff is that one resolution plus a doubled blank line after the importer. Every non-link importer resolution now has a matching package and snapshot entry.


Note

Low Risk
Lockfile-only alignment with the existing catalog version; no product logic or dependency upgrades beyond fixing a stale resolution.

Overview
Repairs a broken pnpm-lock.yaml so pnpm install and CI can succeed again. The doc-examples importer still pinned @sanity/tsconfig to 2.1.0 while the tooling catalog and the rest of the lockfile use 2.2.1, which triggered ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY because no package entry exists for 2.1.0.

The change updates that importer’s resolved version to 2.2.1 and drops an extra blank line between importers—no application or runtime code changes.

Reviewed by Cursor Bugbot for commit a58caa4. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
portable-text-example-basic Ready Ready Preview Nov 4, 2026 1:54pm UTC
2 Skipped Deployments
Project Deployment Actions Updated
portable-text-editor-documentation Skipped Skipped Nov 4, 2026 1:54pm UTC
portable-text-playground Skipped Skipped Nov 4, 2026 1:54pm UTC

Request Review

@vercel
vercel Bot temporarily deployed to Preview – portable-text-playground November 4, 2026 13:53 Inactive
@vercel
vercel Bot temporarily deployed to Preview – portable-text-editor-documentation November 4, 2026 13:53 Inactive
@changeset-bot

changeset-bot Bot commented Nov 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a58caa4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

⏳ Bundle Stats: Calculating bundle sizes for @portabletext/block-tools, @portabletext/editor, @portabletext/html, @portabletext/keyboard-shortcuts, @portabletext/markdown, @portabletext/patches, @portabletext/repair, @portabletext/sanity-bridge, @portabletext/schema, @portabletext/plugin-character-pair-decorator, @portabletext/plugin-decorations, @portabletext/plugin-dnd, @portabletext/plugin-emoji-picker, @portabletext/plugin-input-rule, @portabletext/plugin-list-index, @portabletext/plugin-markdown-shortcuts, @portabletext/plugin-one-line, @portabletext/plugin-paste-link, @portabletext/plugin-sdk-value, @portabletext/plugin-typeahead-picker, @portabletext/plugin-typography, @portabletext/toolbar, @portabletext/plugin-table...

@christianhg
christianhg merged commit f94103c into main Nov 4, 2026
21 of 22 checks passed
@christianhg
christianhg deleted the chore/lockfile-doc-examples-tsconfig branch November 4, 2026 14:17

This branch was successfully deployed

1 active and 2 inactive deployments
Preview – portable-text-example-basic — a58caa41 Deployed Nov 4, 2026 by vercel[bot]
Preview – portable-text-playground — a58caa41 Deployed Nov 4, 2026 by vercel[bot]
Preview – portable-text-editor-documentation — a58caa41 Deployed Nov 4, 2026 by vercel[bot]
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