feat: add city/state/country to complex, new settings page with sidebar, and Biome linting
- Added city, state, and country optional fields to Complex model - Updated onboarding to include optional location fields - Created new settings page with sidebar navigation (Datos del Complejo, Canchas) - Replaced ESLint with Biome for frontend and backend linting - Added parallel dev script with concurrently - Migrated register-routes to use direct app.route() pattern
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { TanStackRouterVite } from '@tanstack/router-plugin/vite'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
import path from 'node:path'
|
||||
import path from 'node:path';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import { TanStackRouterVite } from '@tanstack/router-plugin/vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
@@ -17,29 +17,26 @@ export default defineConfig({
|
||||
output: {
|
||||
manualChunks(id) {
|
||||
if (id.includes('node_modules/react') || id.includes('node_modules/react-dom')) {
|
||||
return 'react-vendor'
|
||||
return 'react-vendor';
|
||||
}
|
||||
if (id.includes('node_modules/@tanstack/react-router')) {
|
||||
return 'router-vendor'
|
||||
return 'router-vendor';
|
||||
}
|
||||
if (id.includes('node_modules/@supabase/supabase-js')) {
|
||||
return 'supabase-vendor'
|
||||
return 'supabase-vendor';
|
||||
}
|
||||
if (
|
||||
id.includes('node_modules/radix-ui') ||
|
||||
id.includes('node_modules/lucide-react')
|
||||
) {
|
||||
return 'ui-vendor'
|
||||
if (id.includes('node_modules/radix-ui') || id.includes('node_modules/lucide-react')) {
|
||||
return 'ui-vendor';
|
||||
}
|
||||
if (
|
||||
id.includes('node_modules/react-hook-form') ||
|
||||
id.includes('node_modules/@hookform/resolvers') ||
|
||||
id.includes('node_modules/zod')
|
||||
) {
|
||||
return 'form-vendor'
|
||||
return 'form-vendor';
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user