Updated deps (minor)

This commit is contained in:
2026-01-05 20:35:39 +01:00
parent 5d2eb2e635
commit 42437881c4
3 changed files with 1367 additions and 1027 deletions
+10 -10
View File
@@ -2,20 +2,20 @@
User app for SomniaRooms. User app for SomniaRooms.
## Docker Usage: ## Podman Usage:
### Dev ### Dev
**Build Image:** **Build Image:**
``` ```
docker build -t somniarooms-app:dev --target final-dev . podman build -t somniarooms-app:dev --target final-dev .
``` ```
**Docker Run Image:** **Podman Run Image:**
``` ```
docker run -d -it --rm -v ${PWD}:/app -v /app/node_modules -p 3000:3000 --name somniarooms-app somniarooms-app:dev podman run -d -it --rm -v ${PWD}:/app -v /app/node_modules -p 3000:3000 --name somniarooms-app somniarooms-app:dev
``` ```
Notas: Notas:
@@ -28,24 +28,24 @@ Notas:
**Build Image** **Build Image**
``` ```
docker build -t somniarooms-app:prod --target final-prod . podman build -t somniarooms-app:prod --target final-prod .
``` ```
**Docker Run** **Podman Run**
``` ```
docker run -d -it -p 8080:80 --name somniarooms-app somniarooms-app:prod podman run -d -it -p 8080:80 --name somniarooms-app somniarooms-app:prod
``` ```
**Docker run with env vars:** **Podman run with env vars:**
``` ```
docker run -d -it -p 8080:80 --name somniarooms-app -e SOMNIAROOMS_BACKEND_HOST=https://somniaapi.example.org/ -e SOMNIAROOMS_BACKEND_PORT=443 somniarooms-app:prod podman run -d -it -p 8080:80 --name somniarooms-app -e SOMNIAROOMS_BACKEND_HOST=https://somniaapi.example.org/ -e SOMNIAROOMS_BACKEND_PORT=443 somniarooms-app:prod
``` ```
## Env Vars. ## Env Vars.
As this is distributed as a docker image ready to use, you must set some env variables to configure the app: As this is distributed as a image ready to use, you must set some env variables to configure the app:
| Var | Default Value | Description | | Var | Default Value | Description |
| :------------------------: | :----------------------------: | :------------------------------------------------------------------------------------------: | | :------------------------: | :----------------------------: | :------------------------------------------------------------------------------------------: |
+1318 -978
View File
File diff suppressed because it is too large Load Diff
+38 -38
View File
@@ -11,55 +11,55 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@hookform/resolvers": "^5.1.1", "@hookform/resolvers": "^5.2.2",
"@radix-ui/react-checkbox": "^1.3.2", "@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dropdown-menu": "^2.1.15", "@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.7", "@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.14", "@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-separator": "^1.1.7", "@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.3", "@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-toast": "^1.2.14", "@radix-ui/react-toast": "^1.2.15",
"@radix-ui/react-tooltip": "^1.2.7", "@radix-ui/react-tooltip": "^1.2.8",
"@tailwindcss/vite": "^4.1.8", "@tailwindcss/vite": "^4.1.18",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"date-fns": "^4.1.0", "date-fns": "^4.1.0",
"embla-carousel-react": "^8.6.0", "embla-carousel-react": "^8.6.0",
"lucide-react": "^0.513.0", "lucide-react": "^0.562.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-day-picker": "^9.7.0", "react-day-picker": "^9.13.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-hook-form": "^7.57.0", "react-hook-form": "^7.70.0",
"react-router-dom": "^6.23.0", "react-router-dom": "^6.30.2",
"swr": "^2.3.3", "swr": "^2.3.8",
"tailwind-merge": "^3.3.0", "tailwind-merge": "^3.4.0",
"zod": "^3.25.57", "zod": "^3.25.76",
"zustand": "^5.0.5" "zustand": "^5.0.9"
}, },
"devDependencies": { "devDependencies": {
"@eslint/compat": "^1.2.9", "@eslint/compat": "^2.0.0",
"@eslint/eslintrc": "^3.3.1", "@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.28.0", "@eslint/js": "^9.39.2",
"@iconify-icon/react": "^3.0.0", "@iconify-icon/react": "^3.0.3",
"@tailwindcss/postcss": "^4.1.8", "@tailwindcss/postcss": "^4.1.18",
"@types/node": "^22.15.30", "@types/node": "^22.15.30",
"@types/react": "^18.2.66", "@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22", "@types/react-dom": "^18.2.22",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^8.34.0", "@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.34.0", "@typescript-eslint/parser": "^8.52.0",
"@vitejs/plugin-react-swc": "^3.10.1", "@vitejs/plugin-react-swc": "^4.2.2",
"eslint": "^9.28.0", "eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.5", "eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.20", "eslint-plugin-react-refresh": "^0.4.26",
"globals": "^16.2.0", "globals": "^17.0.0",
"postcss": "^8.5.4", "postcss": "^8.5.6",
"prettier": "^3.5.3", "prettier": "^3.7.4",
"prettier-plugin-tailwindcss": "^0.6.12", "prettier-plugin-tailwindcss": "^0.7.2",
"tailwindcss": "^4.1.8", "tailwindcss": "^4.1.18",
"tw-animate-css": "^1.3.4", "tw-animate-css": "^1.4.0",
"typescript": "^5.8.3", "typescript": "^5.9.3",
"vite": "^6.3.5" "vite": "^6.4.1"
} }
} }