Add shared config package and update tsconfig

- Add the @sd/config package with base and app TS config and a
  package.json
- Include a base.tsconfig.json and an app.tsconfig.json for TS projects
- Update the root tsconfig to remove apps/landing and add
  packages/config
This commit is contained in:
Jamie Pine 2025-12-10 20:16:35 -08:00
parent 84d9e8c09b
commit ef6530d246
5 changed files with 45 additions and 3 deletions

View File

@ -0,0 +1,7 @@
{
"extends": "./base.tsconfig.json",
"compilerOptions": {
"noEmit": true,
"emitDeclarationOnly": false
}
}

View File

@ -0,0 +1,20 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Base",
"compilerOptions": {
"strict": true,
"jsx": "preserve",
"esModuleInterop": true,
"skipLibCheck": true,
"preserveWatchOutput": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"composite": true,
"declaration": true,
"emitDeclarationOnly": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"module": "ESNext",
"target": "ESNext"
}
}

View File

@ -0,0 +1,8 @@
{
"name": "@sd/config",
"version": "0.0.0",
"private": true,
"exports": {
"./*": "./*"
}
}

View File

@ -0,0 +1,7 @@
{
"extends": "./base.tsconfig.json",
"compilerOptions": {
"noEmit": true
},
"include": ["."]
}

View File

@ -4,14 +4,14 @@
{
"path": "apps/tauri"
},
{
"path": "apps/landing"
},
{
"path": "apps/api"
},
{
"path": "packages/ui"
},
{
"path": "packages/config"
}
]
}