[PR #1546] [MERGED] fix(socratiq): bump vite-plugin-singlefile to ^2.3.0 (unblocks Bundle Drift) #8255

Closed
opened 2026-04-27 17:36:40 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: fix/socratiq-vite-plugin-peer-dep


📝 Commits (1)

  • 64c9941 fix(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.2 declares peer dep vite ^5.4.11 || ^6.0.0, but socratiq/ pins vite ^8.0.10. npm ci refused to resolve the tree, so the 🔒 SocratiQ Bundle Drift workflow has been failing on every PR that touches socratiq/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 unblocks npm ci and lets the drift check actually run.

Test plan

  • npm install in socratiq/ resolves cleanly (no ERESOLVE)
  • npm run build:vite produces a fresh bundle (verified locally — 7,068 kB / 2,143 kB gzipped)
  • Committed regenerated book/quarto/tools/scripts/socratiQ/bundle.js + assets/style.css so the drift workflow's git diff --exit-code passes
  • No source changes to socratiq/src_shadow/** — only the dep bump and rebuild artifacts

Knock-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.

## 📋 Pull Request Information **Original PR:** https://github.com/harvard-edge/cs249r_book/pull/1546 **Author:** [@profvjreddi](https://github.com/profvjreddi) **Created:** 4/26/2026 **Status:** ✅ Merged **Merged:** 4/26/2026 **Merged by:** [@profvjreddi](https://github.com/profvjreddi) **Base:** `dev` ← **Head:** `fix/socratiq-vite-plugin-peer-dep` --- ### 📝 Commits (1) - [`64c9941`](https://github.com/harvard-edge/cs249r_book/commit/64c99415c1ac6a4f51b087d2d563b1a24cfc7014) fix(socratiq): bump vite-plugin-singlefile to ^2.3.0 to satisfy vite 8 peer dep ### 📊 Changes **4 files changed** (+7323 additions, -7280 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description ## Summary `vite-plugin-singlefile@2.0.2` declares peer dep `vite ^5.4.11 || ^6.0.0`, but `socratiq/` pins `vite ^8.0.10`. `npm ci` refused to resolve the tree, so the `🔒 SocratiQ Bundle Drift` workflow has been failing on every PR that touches `socratiq/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 unblocks `npm ci` and lets the drift check actually run. ## Test plan - [x] `npm install` in `socratiq/` resolves cleanly (no `ERESOLVE`) - [x] `npm run build:vite` produces a fresh bundle (verified locally — 7,068 kB / 2,143 kB gzipped) - [x] Committed regenerated `book/quarto/tools/scripts/socratiQ/bundle.js` + `assets/style.css` so the drift workflow's `git diff --exit-code` passes - [x] No source changes to `socratiq/src_shadow/**` — only the dep bump and rebuild artifacts ## Knock-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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-27 17:36:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#8255