From 2eaef7b677d69f503d2169bb8ef5950cd6727598 Mon Sep 17 00:00:00 2001 From: Padreug Date: Mon, 8 Jun 2026 23:01:39 +0200 Subject: [PATCH] chore(shadcn): silence TS 6 baseUrl deprecation in tsconfigs The previous commit added baseUrl so the shadcn-vue CLI's resolvedPaths validator passes. TypeScript 6 emits a deprecation error for baseUrl (slated for removal in TS 7); vue-tsc treats it as a hard build failure. Per the upstream guidance ('Specify compilerOption "ignoreDeprecations": "6.0" to silence this error'), suppress the deprecation in both tsconfig.json and tsconfig.app.json. Revisit when shadcn-vue's CLI migrates off baseUrl. Co-Authored-By: Claude Opus 4.7 (1M context) --- tsconfig.app.json | 3 ++- tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tsconfig.app.json b/tsconfig.app.json index 6e90efc..6a5ce4a 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -7,6 +7,7 @@ "baseUrl": ".", "paths": { "@/*": ["./src/*"] - } + }, + "ignoreDeprecations": "6.0" } } diff --git a/tsconfig.json b/tsconfig.json index d3bc091..5055806 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,7 @@ "baseUrl": ".", "paths": { "@/*": ["./src/*"] - } + }, + "ignoreDeprecations": "6.0" } }