Skip to content

Commit b5afb08

Browse files
stipsancursoragent
andauthored
chore(deps): bump sanity to 6.5.0 and enable unstable_bundledDev (#1589)
* chore(deps): bump sanity to 6.5.0 and enable bundledDev Align @sanity/client (7.23.2) and @sanity/eventsource (5.0.4) so unstable_bundledDev can be enabled without EventSource2 crashes in Structure. * chore(markdown): sync inlined @sanity/client to 7.23.2 * chore(deps): drop client/eventsource overrides after lockfile bump Keep @sanity/client@7.23.2 and @sanity/eventsource@5.0.4 via the lockfile after pnpm dedupe; remove the temporary overrides and markdown changeset. --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent f6172fc commit b5afb08

4 files changed

Lines changed: 363 additions & 523 deletions

File tree

dev/test-studio/sanity.cli.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ export default defineCliConfig({
1616
deployment: {appId, autoUpdates: true},
1717
reactCompiler: {},
1818
typegen: {formatGeneratedCode: false},
19+
// Bundle studio deps in `sanity dev` (required for Structure with client/eventsource alignment).
20+
unstable_bundledDev: true,
1921
vite: {
2022
plugins: [vanillaExtractPlugin(), ...(isViteDevToolsEnabled ? [DevTools()] : [])],
2123
// `devtools: {}` makes `sanity build` emit a Rolldown build session that the DevTools dock can inspect

plugins/sanity-plugin-markdown/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"node": ">=20.19 <22 || >=22.12"
6969
},
7070
"inlinedDependencies": {
71-
"@sanity/client": "7.23.0",
71+
"@sanity/client": "7.23.2",
7272
"rxjs": "7.8.2"
7373
}
7474
}

0 commit comments

Comments
 (0)