diff --git a/package.json b/package.json index 9a7c39a6e..902b4a23a 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "html-entities": "^2.3.3", "i18next": "^21.9.1", "js-file-download": "^0.4.12", - "next": "^13.2.1", + "next": "^13.4.2", "next-i18next": "^11.3.0", "nzbget-api": "^0.0.3", "prismjs": "^1.29.0", diff --git a/tsconfig.json b/tsconfig.json index 4cc7a24b0..922f76b10 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,13 +17,19 @@ "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "incremental": true + "incremental": true, + "plugins": [ + { + "name": "next" + } + ] }, "include": [ "next-env.d.ts", "**/*.ts", "**/*.tsx", - "next.config.js" + "next.config.js", + ".next/types/**/*.ts" ], "exclude": [ "node_modules" diff --git a/yarn.lock b/yarn.lock index abb4f1ff4..d658b79c9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5038,7 +5038,7 @@ __metadata: html-entities: ^2.3.3 i18next: ^21.9.1 js-file-download: ^0.4.12 - next: ^13.2.1 + next: ^13.4.2 next-i18next: ^11.3.0 node-mocks-http: ^1.12.2 nzbget-api: ^0.0.3 @@ -6379,7 +6379,7 @@ __metadata: languageName: node linkType: hard -"next@npm:^13.2.1": +"next@npm:^13.4.2": version: 13.4.2 resolution: "next@npm:13.4.2" dependencies: