File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -442,12 +442,15 @@ async function main() {
442442 console . log ( 'Generating theme preset CSS from palettes...' ) ;
443443 execSync ( 'bun run scripts/sync-themes.ts' , { stdio : 'inherit' } ) ;
444444
445- console . log ( 'Syncing docs manifest mirror...' ) ;
446- execSync ( 'bun run scripts/sync- manifest.ts' , { stdio : 'inherit' } ) ;
447-
445+ // Bindings BEFORE the mirror: sync-manifest copies the generated bindings into
446+ // apps/docs/ manifest.js, so running it first mirrors the previous build's map
447+ // and the demo Embed tab derives from a stale one until the next build.
448448 console . log ( 'Generating spec-derived endpoint bindings...' ) ;
449449 execSync ( 'bun run scripts/sync-bindings.ts' , { stdio : 'inherit' } ) ;
450450
451+ console . log ( 'Syncing docs manifest mirror...' ) ;
452+ execSync ( 'bun run scripts/sync-manifest.ts' , { stdio : 'inherit' } ) ;
453+
451454 console . log ( 'Generating components catalog (for jsDelivr + the /ui page)...' ) ;
452455 execSync ( 'bun run scripts/sync-catalog.ts' , { stdio : 'inherit' } ) ;
453456
You can’t perform that action at this time.
0 commit comments