mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-19 07:01:35 +00:00
2b225a1e4f
- Added a new Vite application (`apps/vite`) to serve as a standalone SPA for the Dokploy dashboard, leveraging TanStack Router for routing. - Implemented server-side handling with a custom Node.js server to manage API requests and serve static files. - Integrated existing components and utilities from the Dokploy monorepo, ensuring no duplication of code. - Updated `.dockerignore` and `.gitignore` to include new build artifacts and environment files. - Enhanced `pnpm-lock.yaml` with new dependencies for the Vite application. - Created configuration files for Vite, TypeScript, and ESBuild to support the new application structure.
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"target": "es2022",
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"moduleDetection": "force",
|
|
"isolatedModules": true,
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"lib": ["dom", "dom.iterable", "ES2022"],
|
|
"noEmit": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"jsx": "react-jsx",
|
|
"types": ["vite/client", "node"],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"~/*": ["./src/*"],
|
|
"@/utils/api": ["./src/utils/api.ts"],
|
|
"next/link": ["./src/shims/next-link.tsx"],
|
|
"next/router": ["./src/shims/next-router.ts"],
|
|
"next/navigation": ["./src/shims/next-navigation.ts"],
|
|
"next/head": ["./src/shims/next-head.tsx"],
|
|
"next/dynamic": ["./src/shims/next-dynamic.tsx"],
|
|
"next/script": ["./src/shims/next-script.tsx"],
|
|
"nextjs-toploader": ["./src/shims/toploader.tsx"],
|
|
"@/*": ["../dokploy/*"],
|
|
"@dokploy/server": ["../../packages/server/src/index.ts"],
|
|
"@dokploy/server/*": ["../../packages/server/src/*"]
|
|
}
|
|
},
|
|
"include": ["src", "server", "vite.config.ts"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|