mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-01-14 20:11:17 +01:00
Redesign tsconfig.json files
This commit is contained in:
parent
8060934ee9
commit
f1f8c52b00
@ -62,9 +62,9 @@
|
||||
"lint": "eslint --max-warnings=0",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"typecheck:core": "tsc --noEmit --project tsconfig.core.json",
|
||||
"typecheck:proprietary": "tsc --noEmit --project tsconfig.proprietary.json",
|
||||
"typecheck": "npm run typecheck:proprietary",
|
||||
"typecheck:core": "tsc --noEmit --project src/core/tsconfig.json",
|
||||
"typecheck:proprietary": "tsc --noEmit --project src/proprietary/tsconfig.json",
|
||||
"typecheck:all": "npm run typecheck:core && npm run typecheck:proprietary",
|
||||
"check": "npm run typecheck && npm run lint && npm run test:run",
|
||||
"generate-licenses": "node scripts/generate-licenses.js",
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
"@app/*": [
|
||||
@ -9,7 +9,7 @@
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"src/proprietary",
|
||||
"../proprietary",
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
"@app/*": [
|
||||
@ -9,5 +9,8 @@
|
||||
"@proprietary/*": ["src/proprietary/*"],
|
||||
"@core/*": ["src/core/*"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
@ -35,8 +35,8 @@
|
||||
"src/proprietary/*",
|
||||
"src/core/*"
|
||||
],
|
||||
"@core/*": ["src/core/*"],
|
||||
"@proprietary/*": ["src/proprietary/*"]
|
||||
"@proprietary/*": ["src/proprietary/*"],
|
||||
"@core/*": ["src/core/*"]
|
||||
},
|
||||
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
||||
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
|
||||
|
||||
@ -10,7 +10,7 @@ export default defineConfig({
|
||||
react(),
|
||||
tsconfigPaths({
|
||||
projects: [
|
||||
isProprietary ? './tsconfig.proprietary.json' : './tsconfig.core.json',
|
||||
isProprietary ? './src/proprietary/tsconfig.json' : './src/core/tsconfig.json',
|
||||
],
|
||||
}),
|
||||
],
|
||||
|
||||
@ -10,7 +10,7 @@ export default defineConfig({
|
||||
react(),
|
||||
tsconfigPaths({
|
||||
projects: [
|
||||
isProprietary ? './tsconfig.proprietary.json' : './tsconfig.core.json',
|
||||
isProprietary ? './src/proprietary/tsconfig.json' : './src/core/tsconfig.json',
|
||||
],
|
||||
}),
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user