Fix TypeGen workflow failure by pinning @sanity/vanilla-extract-vite-plugin to 0.1.1#1616
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@sanity/vanilla-extract-vite-plugin to 0.1.1
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Pull request overview
Restores CI TypeGen stability by rolling back the workspace catalog version of @sanity/vanilla-extract-vite-plugin (and the lockfile resolution) after pnpm typegen / schema extraction started failing with module is not defined on 0.2.x.
Changes:
- Reverted the workspace catalog entry for
@sanity/vanilla-extract-vite-pluginfrom^0.2.0to^0.1.1. - Regenerated
pnpm-lock.yamlso the resolved plugin version is0.1.1and the dependency graph is updated accordingly.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pnpm-workspace.yaml | Rolls back the catalog range for @sanity/vanilla-extract-vite-plugin to avoid 0.2.x. |
| pnpm-lock.yaml | Updates the lockfile to resolve @sanity/vanilla-extract-vite-plugin to 0.1.1 and refreshes transitive resolution metadata. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| vitest: | ||
| specifier: ^4.1.10 | ||
| version: 4.1.10 | ||
| peer: | ||
| react: | ||
| specifier: ^19.2 | ||
| version: 19.2.7 | ||
|
|
||
| overrides: |
The
TypeGenworkflow started failing in therunjob duringpnpm typegen, specifically at schema extraction withError: module is not defined. The regression aligns with the dependency bump that moved@sanity/vanilla-extract-vite-pluginfrom^0.1.1to^0.2.0.Root cause containment
@sanity/vanilla-extract-vite-plugininpnpm-workspace.yamlfrom^0.2.0back to^0.1.1.Dependency graph update
pnpm-lock.yamlto resolve@sanity/vanilla-extract-vite-pluginto0.1.1across affected importers and snapshots.Scope
Note
Low Risk
Dependency pin and lockfile-only change to fix CI TypeGen; main tradeoff is staying on an older Vite vanilla-extract plugin until 0.2.x is safe for schema extract.
Overview
Restores TypeGen stability by rolling the workspace catalog entry for
@sanity/vanilla-extract-vite-pluginfrom ^0.2.0 back to ^0.1.1, afterpnpm typegen/sanity schema extractbegan failing withmodule is not definedon the newer plugin.pnpm-lock.yamlis refreshed so importers resolve 0.1.1 everywhere; the lockfile also reflects the older plugin’s dependency wiring (e.g.@vanilla-extract/integrationinstead of the 0.2.x integration package) and assorted transitivesupports-colorvariant updates. No plugin or studio source changes.Reviewed by Cursor Bugbot for commit 499e93d. Bugbot is set up for automated code reviews on this repo. Configure here.