From 721c8e90762d16f14cfb295696166cba5f362b99 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 4 Oct 2024 11:48:25 +0100 Subject: [PATCH] man idek what im doing anymore i just want this shit to work --- apps/frontend/tsconfig.json | 50 ++++++++++++------------------------- apps/frontend/turbo.json | 8 ++++++ 2 files changed, 24 insertions(+), 34 deletions(-) create mode 100644 apps/frontend/turbo.json diff --git a/apps/frontend/tsconfig.json b/apps/frontend/tsconfig.json index 454b257..ba19dc3 100644 --- a/apps/frontend/tsconfig.json +++ b/apps/frontend/tsconfig.json @@ -1,46 +1,28 @@ { "compilerOptions": { - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["DOM", "DOM.Iterable", "ES2022"], + "isolatedModules": true, + "esModuleInterop": true, + "jsx": "react-jsx", + "module": "ESNext", + "moduleResolution": "Bundler", + "resolveJsonModule": true, + "target": "ES2022", + "strict": true, "allowJs": true, "skipLibCheck": true, - "strict": true, - "noEmit": true, - "esModuleInterop": true, - "module": "esnext", - "moduleResolution": "NodeNext", - "resolveJsonModule": true, - "isolatedModules": true, - "moduleDetection": "force", - "jsx": "preserve", - "incremental": true, - "declaration": true, - "declarationMap": true, + "forceConsistentCasingInFileNames": true, "plugins": [ { "name": "next" } ], + "outDir": "dist", + "baseUrl": ".", "paths": { - "@/*": [ - "./src/*" - ] - }, - "target": "ES2022", - "rootDir": "./src/", - "outDir": "./out/" + "@/*": ["./src/*"] + } }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - "tailwind.config.ts" - ], - "exclude": [ - "node_modules" - ] + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "tailwind.config.ts"], + "exclude": ["node_modules"] } diff --git a/apps/frontend/turbo.json b/apps/frontend/turbo.json new file mode 100644 index 0000000..ff1fc3a --- /dev/null +++ b/apps/frontend/turbo.json @@ -0,0 +1,8 @@ +{ + "extends": ["//"], + "tasks": { + "build": { + "outputs": [".next/**", "!.next/cache/**"] + } + } +}