From 397b16a1f0f20932d4fce181fcc3b5ee5b03db5c Mon Sep 17 00:00:00 2001 From: YunYouJun Date: Mon, 6 Oct 2025 20:33:15 +0800 Subject: [PATCH] ci: use references for new nuxt --- package.json | 1 + tsconfig.json | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 559cb89..2c623a3 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,5 @@ { + "name": "cook", "type": "module", "version": "2.0.0-beta.1", "private": true, diff --git a/tsconfig.json b/tsconfig.json index 4b34df1..cfa7f72 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,18 @@ { - "extends": "./.nuxt/tsconfig.json" + // https://nuxt.com/docs/guide/concepts/typescript + "references": [ + { + "path": "./.nuxt/tsconfig.app.json" + }, + { + "path": "./.nuxt/tsconfig.server.json" + }, + { + "path": "./.nuxt/tsconfig.shared.json" + }, + { + "path": "./.nuxt/tsconfig.node.json" + } + ], + "files": [] }