refactor: moving from nextjs to vite+react

This commit is contained in:
Pihkaal
2024-01-28 12:14:04 +01:00
parent 9bb6ccdd4f
commit 8446ee6c65
52 changed files with 610 additions and 2337 deletions

View File

@@ -4,29 +4,16 @@
"private": true,
"type": "module",
"scripts": {
"build": "next build",
"db:push": "drizzle-kit push:mysql",
"db:studio": "drizzle-kit studio",
"dev": "next dev",
"lint": "next lint --cache --fix",
"start": "next start",
"build": "tsc && vite build",
"dev": "vite",
"lint": "eslint src --cache --fix --max-warnings 0",
"preview": "vite preview",
"format": "prettier --cache --write '**/*.{md,json,css,scss,js,mjs,cjs,ts,tsx}'"
},
"dependencies": {
"@octokit/rest": "^20.0.2",
"@planetscale/database": "^1.11.0",
"@t3-oss/env-nextjs": "^0.7.1",
"@tanstack/react-query": "^4.36.1",
"@trpc/client": "^10.43.6",
"@trpc/next": "^10.43.6",
"@trpc/react-query": "^10.43.6",
"@trpc/server": "^10.43.6",
"axios": "^1.6.7",
"drizzle-orm": "^0.29.3",
"next": "^14.0.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"superjson": "^2.2.1",
"zod": "^3.22.4"
},
"devDependencies": {
@@ -36,17 +23,19 @@
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.14",
"clsx": "^2.1.0",
"drizzle-kit": "^0.20.9",
"eslint": "^8.54.0",
"eslint-config-next": "^14.0.4",
"mysql2": "^3.6.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"postcss": "^8.4.31",
"prettier": "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"tailwindcss": "^3.3.5",
"typescript": "^5.1.6"
"typescript": "^5.1.6",
"vite": "^5.0.12"
},
"ct3aMetadata": {
"initVersion": "7.25.1"