mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 18:18:42 -05:00
[PR #1546] [MERGED] fix(socratiq): bump vite-plugin-singlefile to ^2.3.0 (unblocks Bundle Drift) #8255
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1546
Author: @profvjreddi
Created: 4/26/2026
Status: ✅ Merged
Merged: 4/26/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/socratiq-vite-plugin-peer-dep📝 Commits (1)
64c9941fix(socratiq): bump vite-plugin-singlefile to ^2.3.0 to satisfy vite 8 peer dep📊 Changes
4 files changed (+7323 additions, -7280 deletions)
View changed files
📝
book/quarto/tools/scripts/socratiQ/assets/style.css(+2 -1)📝
book/quarto/tools/scripts/socratiQ/bundle.js(+7309 -6843)📝
socratiq/package-lock.json(+11 -435)📝
socratiq/package.json(+1 -1)📄 Description
Summary
vite-plugin-singlefile@2.0.2declares peer depvite ^5.4.11 || ^6.0.0, butsocratiq/pinsvite ^8.0.10.npm cirefused to resolve the tree, so the🔒 SocratiQ Bundle Driftworkflow has been failing on every PR that touchessocratiq/package*.json— including unrelated dependabot bumps (#1538, #1539).vite-plugin-singlefile@2.3.0+supports vite 5/6/7/8 (per its peerDeps in npm), so a one-line bump unblocksnpm ciand lets the drift check actually run.Test plan
npm installinsocratiq/resolves cleanly (noERESOLVE)npm run build:viteproduces a fresh bundle (verified locally — 7,068 kB / 2,143 kB gzipped)book/quarto/tools/scripts/socratiQ/bundle.js+assets/style.cssso the drift workflow'sgit diff --exit-codepassessocratiq/src_shadow/**— only the dep bump and rebuild artifactsKnock-on effect
Once this merges, dependabot will rebase #1538 (
markdown-it 14.1.0 → 14.1.1) and #1539 (solid-js 1.9.3 → 1.9.12) automatically and they should go green.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.