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) <noreply@anthropic.com>
This commit is contained in:
parent
063ece498e
commit
2eaef7b677
2 changed files with 4 additions and 2 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"]
|
||||||
}
|
},
|
||||||
|
"ignoreDeprecations": "6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"]
|
||||||
}
|
},
|
||||||
|
"ignoreDeprecations": "6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue