Compare commits

...

2 الالتزامات

المؤلف SHA1 الرسالة التاريخ
2f14c0b602 Update Docker configuration for better backend service discovery 2025-10-29 16:10:16 +03:00
8e156fcbd4 Fix TypeScript ESLint errors and update configurations 2025-10-29 15:58:40 +03:00
7 ملفات معدلة مع 94 إضافات و24 حذوفات

98
.gitignore مباع
عرض الملف

@@ -1,24 +1,90 @@
# Dependencies
node_modules/
.bun
# Build outputs
dist/
build/
# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
# OS generated files
Thumbs.db
.DS_Store
# Temporary files
*.tmp
*.temp
# TypeScript build info
*.tsbuildinfo
# Vite
.vite/
# Local development files
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# Coverage
coverage/
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Diagnostic reports
npm-debug.log*
yarn-error.log*
yarn-debug.log*
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# parcel-bundler cache
.cache/
# next.js
.next/
out/
# nuxt.js
.nuxt/
# vuepress
.vuepress/dist/
# serverless
.serverless/
# fuse-box
.fusebox/
# typescript
*.tsbuildinfo

عرض الملف

@@ -7,6 +7,6 @@ RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx.conf /etc/nginx/templates/nginx.conf.template
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["/docker-entrypoint.sh", "nginx", "-g", "daemon off;"]

عرض الملف

@@ -37,7 +37,7 @@ http {
# Proxy API requests to the backend server
location /api/ {
proxy_pass http://backend:3001/;
proxy_pass http://${BACKEND_HOST:-backend}:${BACKEND_PORT:-3001}/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';

عرض الملف

@@ -7,7 +7,7 @@
"dev": "vite",
"build": "tsc -b && vite build",
"build:dev": "vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives",
"preview": "vite preview",
"start": "node server.js"
},

عرض الملف

@@ -21,9 +21,9 @@ const Command = React.forwardRef<
));
Command.displayName = CommandPrimitive.displayName;
interface CommandDialogProps extends DialogProps {}
// Removed empty interface
const CommandDialog = ({ children, ...props }: CommandDialogProps) => {
const CommandDialog = ({ children, ...props }: DialogProps) => {
return (
<Dialog {...props}>
<DialogContent className="overflow-hidden p-0 shadow-lg">

عرض الملف

@@ -2,7 +2,10 @@ import * as React from "react";
import { cn } from "@/lib/utils";
export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}
export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
// Added placeholder to avoid empty interface
placeholder?: string;
}
const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(({ className, ...props }, ref) => {
return (

عرض الملف

@@ -1,4 +1,5 @@
import type { Config } from "tailwindcss";
import tailwindcssAnimate from "tailwindcss-animate";
export default {
darkMode: ["class"],
@@ -87,5 +88,5 @@ export default {
},
},
},
plugins: [require("tailwindcss-animate")],
plugins: [tailwindcssAnimate],
} satisfies Config;