mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
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:
parent
84d9e8c09b
commit
ef6530d246
7
packages/config/app.tsconfig.json
Normal file
7
packages/config/app.tsconfig.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "./base.tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"noEmit": true,
|
||||||
|
"emitDeclarationOnly": false
|
||||||
|
}
|
||||||
|
}
|
||||||
20
packages/config/base.tsconfig.json
Normal file
20
packages/config/base.tsconfig.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
8
packages/config/package.json
Normal file
8
packages/config/package.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"name": "@sd/config",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"private": true,
|
||||||
|
"exports": {
|
||||||
|
"./*": "./*"
|
||||||
|
}
|
||||||
|
}
|
||||||
7
packages/config/tsconfig.json
Normal file
7
packages/config/tsconfig.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "./base.tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"noEmit": true
|
||||||
|
},
|
||||||
|
"include": ["."]
|
||||||
|
}
|
||||||
@ -4,14 +4,14 @@
|
|||||||
{
|
{
|
||||||
"path": "apps/tauri"
|
"path": "apps/tauri"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"path": "apps/landing"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "apps/api"
|
"path": "apps/api"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "packages/ui"
|
"path": "packages/ui"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "packages/config"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user