Skip to content

Bump dev dependencies (TypeScript 7, Vite, Vitest, Prettier, Tailwind) - #33

Merged
dpsiderius merged 1 commit into
mainfrom
bump-dev-dependencies
Jul 27, 2026
Merged

Bump dev dependencies (TypeScript 7, Vite, Vitest, Prettier, Tailwind)#33
dpsiderius merged 1 commit into
mainfrom
bump-dev-dependencies

Conversation

@dpsiderius

Copy link
Copy Markdown
Contributor

Takes Dependabot's dev-dependencies group (supersedes #26), rebased onto the React 19 / v1.0.5 main so it applies cleanly.

Bumps

Package From To
typescript 5.5.4 7.0.2
vite 8.0.16 8.1.5
vitest 4.1.9 4.1.10
prettier 3.3.3 3.9.6
@vitejs/plugin-react 6.0.2 6.0.4
tailwindcss / @tailwindcss/vite 4.3.1 4.3.3

Fixes needed for the bump

  • src/vite-env.d.ts (new): TypeScript 7 is strict about side-effect imports of non-code modules and errored on import './index.css' (TS2882). This adds the standard /// <reference types="vite/client" /> shim, which declares *.css (and import.meta.env, etc.). A triple-slash reference is used because tsconfig sets an explicit types allowlist.
  • src/grbl/types.ts: reformatted by Prettier 3.9 (a short union collapsed onto one line) — needed for CI's prettier --check.

Verification

  • npm run typecheck (browser) ✓
  • npm run typecheck:node (gateway) ✓
  • npm test → 53 passing ✓
  • npm run build
  • prettier --check
  • npm audit → 0 vulnerabilities ✓

🤖 Generated with Claude Code

Dependabot dev-dependencies group (supersedes #26, rebased onto the
React 19 / v1.0.5 main).

- typescript 5.5 -> 7.0, vite 8.0 -> 8.1, vitest 4.1.9 -> 4.1.10,
  prettier 3.3 -> 3.9, @vitejs/plugin-react 6.0.2 -> 6.0.4,
  tailwindcss / @tailwindcss/vite 4.3.1 -> 4.3.3.
- Add src/vite-env.d.ts so TypeScript 7 (now strict about side-effect
  imports of non-code modules) resolves the './index.css' import.
- Reformat src/grbl/types.ts under Prettier 3.9.

Verified: typecheck (browser + node), 53 tests, build, prettier --check.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dpsiderius
dpsiderius merged commit f62e828 into main Jul 27, 2026
1 check passed
@dpsiderius
dpsiderius deleted the bump-dev-dependencies branch July 27, 2026 11:34
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.

1 participant