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) <noreply@anthropic.com>
13 lines
341 B
JSON
13 lines
341 B
JSON
{
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
|
"exclude": ["src/**/__tests__/*"],
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
"ignoreDeprecations": "6.0"
|
|
}
|
|
}
|