- Added @t3-oss/env-nextjs for improved environment variable management. - Updated zod to version 4.1.12 for enhanced validation capabilities. - Upgraded jiti to version 2.6.1 for better module loading. - Refactored environment variable imports from env.mjs to env.ts. - Removed deprecated env.mjs file and replaced it with a new env.ts file using @t3-oss/env-nextjs. - Adjusted various components and API routes to utilize the new environment variable structure. - Updated next.config.js to support the new environment variable management. - Modified Docker configuration to align with new BASE_URL handling.
62 lines
1.2 KiB
JSON
62 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
/* Path Aliases */
|
|
"baseUrl": ".",
|
|
"checkJs": true,
|
|
/* Base Options: */
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"incremental": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
/* Bundled projects */
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"module": "ESNext",
|
|
"moduleDetection": "force",
|
|
"moduleResolution": "Bundler",
|
|
"noEmit": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"paths": {
|
|
"~/*": ["./src/*"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
/* Strictness */
|
|
"strict": true,
|
|
"target": "esnext"
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"out",
|
|
"dist",
|
|
"check-env-vars.js",
|
|
"headers",
|
|
"kyselyRules",
|
|
".kanelrc.js"
|
|
],
|
|
"include": [
|
|
"src",
|
|
"next-env.d.ts",
|
|
"next.config.ts",
|
|
"postcss.config.cjs",
|
|
"reset.d.ts",
|
|
"TypeHelpers.type.ts",
|
|
"public",
|
|
"emails",
|
|
".next/types/**/*.ts",
|
|
"tests"
|
|
],
|
|
"ts-node": {
|
|
// these options are overrides used only by ts-node
|
|
// same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable
|
|
"compilerOptions": {
|
|
"module": "commonjs"
|
|
}
|
|
}
|
|
}
|