From 612514dc2541be91118949d1204967746797a324 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 29 Aug 2025 15:57:28 +0200 Subject: [PATCH] chore: update tsconfig to use references --- package.json | 2 +- tsconfig.json | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 20f670e..2454d6e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "generate": "nuxt generate", "preview": "nuxt preview", "postinstall": "nuxt prepare && simple-git-hooks", - "test:types": "vue-tsc --noEmit", + "test:types": "vue-tsc -b --noEmit", "test:unit": "vitest --project unit", "test:nuxt": "vitest --project nuxt", "test:browser": "playwright test test/browser", diff --git a/tsconfig.json b/tsconfig.json index a746f2a..307b213 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,18 @@ { // 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" + } + ] } -- 2.51.2