feat: Update project dependencies and configuration
This commit updates the project's dependencies, including React, Recharts, and Lucide React, to their latest stable versions. It also introduces a `server.js` file to handle static file serving with Express for better production deployment. Additionally, TypeScript and Vite configurations have been refined for improved build performance and type safety.
This commit is contained in:
27
index.html
27
index.html
@@ -1,3 +1,4 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-BR">
|
||||
<head>
|
||||
@@ -15,7 +16,7 @@
|
||||
font-family: 'Akzidenz Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
background-color: #F8FAFC; /* Slate 50 */
|
||||
}
|
||||
/* Custom scrollbar for a cleaner look */
|
||||
/* Custom scrollbar */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
@@ -45,11 +46,11 @@
|
||||
200: '#fed7aa',
|
||||
300: '#fdba74',
|
||||
400: '#fb923c',
|
||||
500: '#f97316', // Orange-500 main accent
|
||||
500: '#f97316',
|
||||
600: '#ea580c',
|
||||
},
|
||||
secondary: {
|
||||
900: '#0f172a', // Dark slate for text
|
||||
900: '#0f172a',
|
||||
800: '#1e293b',
|
||||
}
|
||||
},
|
||||
@@ -65,17 +66,23 @@
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"react-dom/": "https://esm.sh/react-dom@^19.2.3/",
|
||||
"lucide-react": "https://esm.sh/lucide-react@^0.562.0",
|
||||
"react/": "https://esm.sh/react@^19.2.3/",
|
||||
"react": "https://esm.sh/react@^19.2.3",
|
||||
"recharts": "https://esm.sh/recharts@^3.6.0",
|
||||
"@google/genai": "https://esm.sh/@google/genai@^1.39.0"
|
||||
"vite": "https://esm.sh/vite@^7.3.1",
|
||||
"@google/genai": "https://esm.sh/@google/genai@^1.40.0",
|
||||
"recharts": "https://esm.sh/recharts@^3.7.0",
|
||||
"path": "https://esm.sh/path@^0.12.7",
|
||||
"react/": "https://esm.sh/react@^19.2.4/",
|
||||
"react": "https://esm.sh/react@^19.2.4",
|
||||
"express": "https://esm.sh/express@^5.2.1",
|
||||
"react-dom/": "https://esm.sh/react-dom@^19.2.4/",
|
||||
"url": "https://esm.sh/url@^0.11.4",
|
||||
"@vitejs/plugin-react": "https://esm.sh/@vitejs/plugin-react@^5.1.3",
|
||||
"lucide-react": "https://esm.sh/lucide-react@^0.563.0"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/index.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user