Skip to content

feat(bolt-vite-react-ts): modernize toolchain and remove eslint - #120

Merged
sheepsteak merged 5 commits into
mainfrom
delm/feat/upgrade-bolt-vite-react-ts
Aug 4, 2026
Merged

feat(bolt-vite-react-ts): modernize toolchain and remove eslint#120
sheepsteak merged 5 commits into
mainfrom
delm/feat/upgrade-bolt-vite-react-ts

Conversation

@d3lm

@d3lm d3lm commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Rebuild the template on the current create-vite baseline which is Vite 8, React 19, Tailwind 4 and TypeScript 6. Tailwind v4 is configured in CSS, so tailwind.config.js, postcss.config.js and the postcss and autoprefixer deps are gone and .bolt/prompt now explains the @theme model so generated apps do not recreate a JS config.

I also dropped ESLint entirely, which cuts the install from 181 to 59 packages and meaningfully speeds up npm install in WebContainer.

TypeScript 7 theoretically works but I decided to stay on 6 for now.

I also fixed removeFileHash in the test utils. Vite content hashes are base64url and may contain -, which the previous regex mis-stripped.

Intention behind this is that our base starter template has a clean audit report with 0 vulnerabilities.

image

Closes BOAI-983

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Comment thread bolt-vite-react-ts/package.json Outdated
"typescript-eslint": "^8.3.0",
"vite": "^5.4.2"
"@tailwindcss/vite": "^4.3.3",
"@types/node": "^24.13.3",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably make this 22 to match webcontainer:

Suggested change
"@types/node": "^24.13.3",
"@types/node": "~22.20.1",

Comment thread bolt-vite-react-ts/package.json Outdated
@@ -6,30 +6,23 @@
"scripts": {
"dev": "vite",
"build": "vite build",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: New Vite projects usually typecheck here

Comment thread bolt-vite-react-ts/vite.config.ts Outdated
Comment thread bolt-vite-react-ts/src/vite-env.d.ts Outdated
@sheepsteak
sheepsteak merged commit 9e5405c into main Aug 4, 2026
3 checks passed
@sheepsteak
sheepsteak deleted the delm/feat/upgrade-bolt-vite-react-ts branch August 4, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants