Monorepo stuff

Signed-off-by: James Zuccon <zuccon@gmail.com>
This commit is contained in:
James Zuccon
2024-09-02 20:05:35 +10:00
parent f2210e631a
commit 2ac7af4069
62 changed files with 13227 additions and 149 deletions
+15 -29
View File
@@ -1,38 +1,24 @@
{
"compilerOptions": {
// Target esnext (rollup step will transpile to CJS and EJS)
"target": "esnext",
// Use node as module resolution strategy for best compatibility with dependencies
"moduleResolution": "node",
"module": "esnext",
// Set the root directory and output directory
"rootDir": "./src",
"outDir": "./build/lib",
// Allow ES modules to be used
"esModuleInterop": true,
// Allow importing .json files in project
"resolveJsonModule": true,
// Generate declarations, declaration maps and sourcemaps
"moduleResolution": "node",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
// Use strict Typescript rules
"outDir": "./dist",
"rootDir": "src",
"strict": true,
"strictPropertyInitialization": true,
// Allow use of ES2017 and DOM features/libraries
"lib": ["es2017", "dom"]
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"paths": {
"*": [
"src/*"
]
}
},
// Exclude these directories from the Typescript transpile
"exclude": ["node_modules/**", "dist/**", "public/**"],
// Do not compile upon save - this feature requires tsc-w(atch)
"compileOnSave": true
"exclude": [
"node_modules",
"dist"
]
}