From 402cf09d9d44ddf172b2a3985b785a1a2d6eb136 Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 15 Aug 2025 08:54:03 -0700 Subject: [PATCH 1/2] Update baseUrl and paths in tsconfig.json With updates to start using `tsgo` we are seeing the following class of errors: ```tsconfig.json:24:5 - error TS5102: Option 'baseUrl' has been removed. Please remove it from your configuration. Use '"paths": {"*": "./*"}' instead. 24 "baseUrl": ".", ~~~~~~~~~ tsconfig.json:27:9 - error TS5090: Non-relative paths are not allowed. Did you forget a leading './'? 27 "src/*" ~~~~~~~ Found 2 errors in the same file, starting at: tsconfig.json:24``` https://www.typescriptlang.org/tsconfig/#baseUrl > As of TypeScript 4.1, baseUrl is no longer required to be set when using paths. --- tsconfig.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 02624ee..4baa496 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,10 +21,9 @@ /* Linting */ "noFallthroughCasesInSwitch": true, "noUncheckedSideEffectImports": true, - "baseUrl": ".", "paths": { "@/*": [ - "src/*" + "./src/*" ] }, }, From 0f370566d83ee98b3839f243cc78afe766db5580 Mon Sep 17 00:00:00 2001 From: "Jason R. Clark" Date: Tue, 26 Aug 2025 11:54:13 -0700 Subject: [PATCH 2/2] Increment templateVersion to 1 for this change --- spark.meta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spark.meta.json b/spark.meta.json index 89b8689..2091f97 100644 --- a/spark.meta.json +++ b/spark.meta.json @@ -1,3 +1,3 @@ { - "templateVersion": 0 + "templateVersion": 1 }