feat(package): add tsconfig pkg to share across packages in monorepo (#380)

* add tsconfig pkg to share across packages in monorepo

* fixed docs build

* acknowledged PR comments
This commit is contained in:
Waleed Latif
2025-05-19 16:58:51 -07:00
committed by GitHub
parent 2a4590e649
commit f5cbcfb514
13 changed files with 89 additions and 38 deletions

View File

@@ -4,7 +4,7 @@
"private": true,
"license": "Apache-2.0",
"scripts": {
"dev": "next dev --port 3001",
"dev": "next dev --turbo --port 3001",
"build": "next build",
"start": "next start",
"postinstall": "fumadocs-mdx"

View File

@@ -34,4 +34,4 @@
"content/docs/connections/index.mdx"
],
"exclude": ["node_modules"]
}
}

View File

@@ -4,6 +4,7 @@
"private": true,
"license": "Apache-2.0",
"type": "module",
"packageManager": "bun@1.2.12",
"engines": {
"bun": ">=1.2.13",
"node": ">=20.0.0"
@@ -134,7 +135,8 @@
"tailwindcss": "^3.4.1",
"typescript": "^5.7.3",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.0.8"
"vitest": "^3.0.8",
"@simstudio/tsconfig": "workspace:*"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,scss,md}": [

View File

@@ -1,13 +1,6 @@
{
"extends": "@simstudio/tsconfig/nextjs.json",
"compilerOptions": {
"target": "es2020",
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["es2020", "dom", "dom.iterable"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
"@/*": ["./*"],
@@ -28,19 +21,7 @@
"@/db/*": ["./db/*"],
"@/executor": ["./executor"],
"@/executor/*": ["./executor/*"]
},
"allowJs": true,
"noEmit": true,
"incremental": true,
"resolveJsonModule": true,
"isolatedModules": true,
"allowImportingTsExtensions": true,
"jsx": "preserve",
"plugins": [
{
"name": "next"
}
]
}
},
"include": [
"**/*.ts",