feat: migrate from Node.js/npm to Bun with Vite bundler#1
Closed
MiltonTulli wants to merge 4 commits intomainfrom
Closed
feat: migrate from Node.js/npm to Bun with Vite bundler#1MiltonTulli wants to merge 4 commits intomainfrom
MiltonTulli wants to merge 4 commits intomainfrom
Conversation
Prevent false subdomain detection on openscan.eth.link and openscan.eth.limo which was causing unwanted redirects to the base domain (eth.link/eth.limo).
Switch from conditional BrowserRouter/HashRouter to HashRouter everywhere. This fixes the refresh issue on IPFS gateways where deep URLs would fail to resolve since IPFS cannot handle client-side routing paths.
- Replace npm with Bun as package manager and runtime - Replace Webpack with Vite as bundler - Update all scripts to use Bun commands - Update GitHub Actions workflows to use oven-sh/setup-bun - Update documentation (README.md, CLAUDE.md) - Change dev server port from 3030 to 3000 - Replace jsdom with happy-dom for Vitest (ESM compatibility) - Remove eslintConfig (using Biome instead)
27b7a34 to
fde76ed
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
oven-sh/setup-bunChanges
package.jsonpackageManager, update scripts, remove eslintConfigbunfig.tomlvite.config.tsindex.htmlvitest.config.tsplaywright.config.tsscripts/*.sh.github/workflows/*.ymlREADME.md,CLAUDE.mdRemoved
.nvmrc- No longer neededpackage-lock.json- Replaced bybun.lockwebpack.config.js- Replaced by ViteeslintConfigin package.json - Using BiomeTest plan
bun install- Installs dependencies correctlybun start- Dev server runs on port 3000bun run build- Production build succeedsbun run test:run- All 65 tests passbun run typecheck- No TypeScript errorsbun run format && bun run lint- No issues🤖 Generated with Claude Code
Note
Adopts Bun for package management/runtime and Vite for builds, with corresponding CI/CD and documentation updates.
bun+vite; dev server now on port3000oven-sh/setup-bun@v2andbun install/runindeploy-gh-pages.yml,deploy-pr-preview.yml,e2e.yml, andhash-deploy-build.yml; Playwright installed viabunxREADME.md,CLAUDE.md) to Bun/Vite commands; remove.nvmrcWritten by Cursor Bugbot for commit fde76ed. This will update automatically on new commits. Configure here.