Skip to content

chore: update dependencies and adopt React/Vue eslint presets#17

Merged
thetutlage merged 1 commit into
mainfrom
chore/update-deps-and-eslint-presets
May 29, 2026
Merged

chore: update dependencies and adopt React/Vue eslint presets#17
thetutlage merged 1 commit into
mainfrom
chore/update-deps-and-eslint-presets

Conversation

@thetutlage

Copy link
Copy Markdown
Member

Summary

  • Bumps deps across all five kits to latest stable: @adonisjs/core 7.3.3, @adonisjs/eslint-config 3.1, eslint 10.4, typescript 6.0.3, @vinejs/vine 4.4, better-sqlite3 12.10, prettier 3.8.3, @types/node 25.9, plus framework-specific ones (@inertiajs/{react,vue3} 2.3.24, @vitejs/plugin-vue 6.0.7, vue 3.5.35, vue-tsc 3.3.2, react/react-dom 19.2.6, alpinejs 3.15.12, edge.js 6.5.1, turbo 2.9.16).
  • Held back from majors that aren't ready: vite stays on 7 (@adonisjs/vite@5.1.1 doesn't accept vite 8 yet — only a 6.0.0-next.1 exists), @vitejs/plugin-react stays on 5 (v6 needs vite 8), @inertiajs/{react,vue3} stay on 2.3 (per maintainer preference).
  • Wires the new React and Vue presets from adonisjs/eslint-config#15 into the inertia kits via configApp(...react) / configApp(...vue) and adds the required eslint plugins (eslint-plugin-react, eslint-plugin-react-hooks, eslint-plugin-vue).
  • inertia-vue turns off vue/component-api-style for inertia/**/*.ts only — the rule false-positives on the render: key inside createApp({ render: () => h(...) }) in inertia/app.ts. SFCs still get it enforced.
  • inertia-react adds npm overrides + pnpm.overrides to relax eslint-plugin-react@7.37.5's eslint peer range (still pinned to ≤9, blocks ERESOLVE on install with eslint 10). Can be removed once the plugin ships an eslint-10-compatible release.
  • Drops the deprecated baseUrl: "." from inertia/tsconfig.json in both inertia kits (TS6 deprecation).
  • Applies eslint --fix cleanups surfaced by the new presets: type-only imports, rel="noreferrer" on target=_blank links, v-slot longhand, attribute ordering, and a couple of small refactors (shadowed page rename in ssr.tsx, hoisting usePage().url out of a useEffect deps array).

Test plan

  • npm install clean in all five kits (api, api-monorepo, hypermedia, inertia-react, inertia-vue)
  • npm run lint passes
  • npm run typecheck passes
  • npm run build produces a build
  • node bin/server.js from each kit's build directory returns HTTP 200 on /
  • api-monorepo: turbo lint, turbo typecheck, turbo build all green

Bumps all kits to the latest @adonisjs/core, @adonisjs/eslint-config (3.1),
eslint (10.4), typescript (6.0.3) and related deps. Vite stays on 7 because
@adonisjs/vite hasn't shipped a stable release for vite 8 yet, and
@inertiajs/{react,vue3} stay on the 2.3 line.

Wires the new @adonisjs/eslint-config/react and /vue presets in the inertia
kits and pulls in their required eslint plugins. Inertia-vue turns off
vue/component-api-style for inertia/**/*.ts (it false-positives on the
render function inside createApp()). Inertia-react adds npm + pnpm overrides
to relax eslint-plugin-react's outdated eslint peer range.

Also drops the deprecated baseUrl from inertia/tsconfig.json in both kits
and applies the lint --fix cleanups (type-only imports, rel=noreferrer,
v-slot longhand, attribute ordering) that the new presets surfaced.
@thetutlage thetutlage merged commit 632059e into main May 29, 2026
5 checks passed
@thetutlage thetutlage deleted the chore/update-deps-and-eslint-presets branch May 29, 2026 07:37
filipebraida added a commit to filipebraida/alumni-v2 that referenced this pull request May 30, 2026
…slint

Bump das libs sobrepostas ao kit inertia-react do PR
adonisjs/starter-kits#17 (mantém @inertiajs/react em 2.3.24, sem major):
@adonisjs/core 7.3.3, @vinejs/vine 4.4, better-sqlite3 12.10,
typescript 6.0.3, vite 7.3.3, react/react-dom 19.2.6, entre outras.

Adota o preset React do @adonisjs/eslint-config
(configApp(...react)) com eslint-plugin-react +
eslint-plugin-react-hooks e adiciona o `overrides` npm pra relaxar o
peer de eslint-plugin-react com eslint 10. O `pnpm.overrides` do kit
foi descartado: pnpm v11 ignora e só avisa.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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