chore: migrate to nuxt v4 (#2660)

* nuxt 4

* fix auto import
This commit is contained in:
Bernd Storath
2026-06-19 15:55:38 +02:00
committed by GitHub
parent e158d073c2
commit 042dce50b5
5 changed files with 684 additions and 561 deletions
+1 -4
View File
@@ -2,10 +2,7 @@ import { fileURLToPath } from 'node:url';
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
future: {
compatibilityVersion: 4,
},
compatibilityDate: '2026-02-06',
compatibilityDate: '2026-06-19',
devtools: { enabled: true },
modules: [
'@nuxtjs/i18n',
+1 -1
View File
@@ -42,7 +42,7 @@
"is-cidr": "^7.0.0",
"is-ip": "^5.0.1",
"js-sha256": "^0.11.1",
"nuxt": "^3.21.8",
"nuxt": "^4.4.8",
"obug": "^2.1.3",
"openid-client": "^6.8.4",
"otpauth": "^9.5.1",
+673 -555
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -1,3 +1,5 @@
import { createError } from 'h3';
import type { ClientType } from '#db/repositories/client/types';
import type { UserType } from '#db/repositories/user/types';
+7 -1
View File
@@ -1,4 +1,10 @@
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json"
"files": [],
"references": [
{ "path": "./.nuxt/tsconfig.app.json" },
{ "path": "./.nuxt/tsconfig.server.json" },
{ "path": "./.nuxt/tsconfig.shared.json" },
{ "path": "./.nuxt/tsconfig.node.json" }
]
}