- Updated `capitulos-esquema.md` to reflect the current state of models and integration testing setup. - Added `jest.mariadb.config.js` for MariaDB specific test configurations. - Introduced `mariadb.fixture.mock.ts` to handle isolated MariaDB connections for testing. - Created integration tests for quote chapters in `quoteChapters.mariadb.test.ts` to validate business logic against MariaDB. - Implemented `mariadbSafety.test.ts` to ensure safety checks and error handling during integration tests. - Added `useChapterCollapse.ts` hook for managing chapter collapse animations in the client. - Introduced `empty.tsx` components for consistent empty state UI across the application. - Updated `jest.config.js` to ignore MariaDB test files in the standard test run. - Enhanced `package.json` with a new script for running MariaDB tests. |
||
|---|---|---|
| .vscode | ||
| client | ||
| dist/client | ||
| doc | ||
| e2e | ||
| server | ||
| shared | ||
| .env.e2e.example | ||
| .gitignore | ||
| .prettierrc | ||
| AGENTS.md | ||
| Caddyfile | ||
| docker-compose.e2e.yml | ||
| docker-compose.yml | ||
| Dockerfile.client.bak | ||
| Dockerfile.server | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| stack.env | ||
| tsconfig.json | ||
| yarn.lock | ||
Para publicar en producción
-
Construir el cliente:
cd client pnpm run build
-
Subir al repositorio todo, incluido el cliente generado en /dist/client con las imágenes públicas en /dist/client/img
-
Conectarse por SSH a presupuestos.uecko.com
-
Ejecutar:
cd /opt/presupuestador-uecko/ git pull yarn run docker:rebuild yarn run docker:restart