From 5f39dc27272947174e9bfb0d8789c23734beae1c Mon Sep 17 00:00:00 2001 From: Jon Vivian <2586037+4leite@users.noreply.github.com> Date: Tue, 2 Jul 2024 22:30:15 +1200 Subject: [PATCH] use new baseconfig in tsconfig (#204) --- packages/create-oberon-app/tsconfig.json | 3 +-- packages/oberoncms/core/tsconfig.json | 1 - packages/oberoncms/sqlite/tsconfig.json | 1 - packages/plugins/development/tsconfig.json | 1 - packages/plugins/flydrive/tsconfig.json | 1 - packages/plugins/pgsql/tsconfig.json | 1 - packages/plugins/turso/tsconfig.json | 1 - packages/plugins/uploadthing/tsconfig.json | 1 - packages/plugins/vercel-postgres/tsconfig.json | 1 - packages/tohuhono/dev/base.ts.config.json | 2 +- packages/tohuhono/dev/tsconfig.json | 3 +-- packages/tohuhono/puck-blocks/tsconfig.json | 1 - packages/tohuhono/puck-rich-text/tsconfig.json | 1 - packages/tohuhono/ui/tsconfig.json | 1 - packages/tohuhono/utils/tsconfig.json | 1 - 15 files changed, 3 insertions(+), 17 deletions(-) diff --git a/packages/create-oberon-app/tsconfig.json b/packages/create-oberon-app/tsconfig.json index 2a82b7d7..1c397807 100644 --- a/packages/create-oberon-app/tsconfig.json +++ b/packages/create-oberon-app/tsconfig.json @@ -1,8 +1,7 @@ { "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { - "rootDir": "./src", - "outDir": "./dist" + "rootDir": "./src" }, "include": ["src"], "exclude": ["node_modules", "dist", "**/*.spec.ts", "**/*.spec.tsx"] diff --git a/packages/oberoncms/core/tsconfig.json b/packages/oberoncms/core/tsconfig.json index 09506fdd..213ed52c 100644 --- a/packages/oberoncms/core/tsconfig.json +++ b/packages/oberoncms/core/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx" }, "include": ["src"], diff --git a/packages/oberoncms/sqlite/tsconfig.json b/packages/oberoncms/sqlite/tsconfig.json index 09506fdd..213ed52c 100644 --- a/packages/oberoncms/sqlite/tsconfig.json +++ b/packages/oberoncms/sqlite/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx" }, "include": ["src"], diff --git a/packages/plugins/development/tsconfig.json b/packages/plugins/development/tsconfig.json index 09506fdd..213ed52c 100644 --- a/packages/plugins/development/tsconfig.json +++ b/packages/plugins/development/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx" }, "include": ["src"], diff --git a/packages/plugins/flydrive/tsconfig.json b/packages/plugins/flydrive/tsconfig.json index 4f339de4..fc17d579 100644 --- a/packages/plugins/flydrive/tsconfig.json +++ b/packages/plugins/flydrive/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx", "plugins": [ { diff --git a/packages/plugins/pgsql/tsconfig.json b/packages/plugins/pgsql/tsconfig.json index 09506fdd..213ed52c 100644 --- a/packages/plugins/pgsql/tsconfig.json +++ b/packages/plugins/pgsql/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx" }, "include": ["src"], diff --git a/packages/plugins/turso/tsconfig.json b/packages/plugins/turso/tsconfig.json index 09506fdd..213ed52c 100644 --- a/packages/plugins/turso/tsconfig.json +++ b/packages/plugins/turso/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx" }, "include": ["src"], diff --git a/packages/plugins/uploadthing/tsconfig.json b/packages/plugins/uploadthing/tsconfig.json index 4f339de4..fc17d579 100644 --- a/packages/plugins/uploadthing/tsconfig.json +++ b/packages/plugins/uploadthing/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx", "plugins": [ { diff --git a/packages/plugins/vercel-postgres/tsconfig.json b/packages/plugins/vercel-postgres/tsconfig.json index 70a77465..c555347c 100644 --- a/packages/plugins/vercel-postgres/tsconfig.json +++ b/packages/plugins/vercel-postgres/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx" }, "include": ["src", "scripts"], diff --git a/packages/tohuhono/dev/base.ts.config.json b/packages/tohuhono/dev/base.ts.config.json index 56438a9e..c92714f0 100644 --- a/packages/tohuhono/dev/base.ts.config.json +++ b/packages/tohuhono/dev/base.ts.config.json @@ -5,7 +5,7 @@ "compileOnSave": false, "compilerOptions": { "rootDir": ".", - "outDir": "./dist", + "outDir": "${configDir}/dist", "esModuleInterop": true, "isolatedModules": true, "jsx": "preserve", diff --git a/packages/tohuhono/dev/tsconfig.json b/packages/tohuhono/dev/tsconfig.json index 7c1ee87b..351f57b4 100644 --- a/packages/tohuhono/dev/tsconfig.json +++ b/packages/tohuhono/dev/tsconfig.json @@ -1,8 +1,7 @@ { "extends": "./base.ts.config.json", "compilerOptions": { - "rootDir": "./src", - "outDir": "./dist" + "rootDir": "./src" }, "include": ["src", "eslint"], "exclude": ["node_modules", "dist", "**/*.spec.ts", "**/*.spec.tsx"] diff --git a/packages/tohuhono/puck-blocks/tsconfig.json b/packages/tohuhono/puck-blocks/tsconfig.json index 4f339de4..fc17d579 100644 --- a/packages/tohuhono/puck-blocks/tsconfig.json +++ b/packages/tohuhono/puck-blocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx", "plugins": [ { diff --git a/packages/tohuhono/puck-rich-text/tsconfig.json b/packages/tohuhono/puck-rich-text/tsconfig.json index 4f339de4..fc17d579 100644 --- a/packages/tohuhono/puck-rich-text/tsconfig.json +++ b/packages/tohuhono/puck-rich-text/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx", "plugins": [ { diff --git a/packages/tohuhono/ui/tsconfig.json b/packages/tohuhono/ui/tsconfig.json index 09506fdd..213ed52c 100644 --- a/packages/tohuhono/ui/tsconfig.json +++ b/packages/tohuhono/ui/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx" }, "include": ["src"], diff --git a/packages/tohuhono/utils/tsconfig.json b/packages/tohuhono/utils/tsconfig.json index 09506fdd..213ed52c 100644 --- a/packages/tohuhono/utils/tsconfig.json +++ b/packages/tohuhono/utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "@tohuhono/dev/base.ts.config.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist", "jsx": "react-jsx" }, "include": ["src"],