chore: update dependencies and improve package configurations
- Upgraded '@vitejs/plugin-react' from 3.1.0 to 5.1.2 - Updated 'eslint' from 8.57.0 to 8.57.1 - Removed unused dependency '@module/template' from apps/web - Added 'eslint' as a devDependency in packages/typescript-config - Updated various Babel packages to their latest versions - Updated 'react-refresh' from 0.14.2 to 0.18.0 - Updated 'browserslist' from 4.24.4 to 4.28.1 and related dependencies - Removed deprecated 'globals' package and updated its version - Cleaned up package structure and ensured compatibility with newer Node versions
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
"lint": "eslint \"src/**/*.ts\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@module/template": "workspace:*",
|
||||
"@repo/ui": "workspace:*",
|
||||
"@tailwindcss/vite": "^4.1.18",
|
||||
"react": "^19.2.3",
|
||||
@@ -23,8 +22,8 @@
|
||||
"@repo/typescript-config": "workspace:*",
|
||||
"@types/react": "^19.2.7",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^3.1.0",
|
||||
"eslint": "^8.57.0",
|
||||
"@vitejs/plugin-react": "^5.1.2",
|
||||
"eslint": "^8.57.1",
|
||||
"typescript": "5.5.4",
|
||||
"vite": "^5.1.4"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { lazy, Suspense } from 'react';
|
||||
import { BrowserRouter, Navigate, Route, Routes } from 'react-router-dom';
|
||||
import { Counter } from '@repo/ui';
|
||||
|
||||
const AuthModule = lazy(() => import('./auth'));
|
||||
const AppModule = lazy(() => import('./modules'));
|
||||
@@ -7,6 +8,8 @@ const AppModule = lazy(() => import('./modules'));
|
||||
export default function App() {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<div className="bg-green-400"> test tailwind on web</div>
|
||||
<Counter />
|
||||
<Suspense fallback={<div>Loading...</div>}>
|
||||
<Routes>
|
||||
<Route path="/auth/*" element={<AuthModule />} />
|
||||
|
||||
Reference in New Issue
Block a user