14 Commits

Author SHA1 Message Date
6abfa41ef1 Update image references in justfile and docker-compose for frontend deployment
- Changed the image reference in justfile and docker-compose.yml to point to the 'advdoors-front' image, aligning with the new frontend deployment strategy.
2026-04-03 02:43:31 +03:00
d8ef285f15 Update justfile and docker-compose for improved production workflow
- Added image reference for the app in docker-compose.yml.
- Modified justfile to include new push and prod-pull commands for building and deploying the app image.
- Updated prod-up command to pull the latest image before starting containers, enhancing deployment efficiency.
2026-04-03 02:32:47 +03:00
63e619eab6 Refactor .dockerignore and Dockerfile for optimized build context and caching
- Updated .dockerignore to ignore everything by default while allowing necessary files and directories for the Docker build.
- Enhanced Dockerfile to utilize caching for pnpm installation and Turbo build process, improving build performance and efficiency.
2026-04-03 00:44:24 +03:00
3b3c88ed64 Integrate @next/eslint-plugin-next for enhanced linting support
- Added @next/eslint-plugin-next as a dependency in package.json.
- Updated eslint-config to include recommended rules and core web vitals from the Next.js plugin.
- Modified pnpm-lock.yaml to reflect new dependencies and their resolutions.
2026-04-03 00:23:02 +03:00
d58bb29316 Add dynamic export to sitemap for improved rendering behavior 2026-04-03 00:10:44 +03:00
4245a6c939 Enhance Dockerfile to set up PNPM environment variables for improved package management 2026-04-02 22:57:38 +03:00
54e54e4277 Remove unnecessary entries from .dockerignore to streamline Docker context 2026-04-02 22:39:44 +03:00
1c5cb18d30 Refactor product page and improve type safety in Footer and Header components
- Updated the product page to filter size options, ensuring only string types are included.
- Modified Footer and Header components to allow nullable types for phone, email, whatsapp, and footerText properties.
- Enhanced Dockerfile to optimize dependency installation and build process using Turbo for improved performance.
2026-04-02 22:39:37 +03:00
07685f5409 Add .dockerignore file to exclude unnecessary files from Docker context
- Created a new .dockerignore file to prevent inclusion of node_modules, build artifacts, and logs in the Docker context.
- Specified additional directories and files related to the apps and backups to streamline the Docker build process.
2026-04-02 22:38:09 +03:00
f9cbc8b9a6 Refactor justfile and package configurations for improved development workflow
- Updated `justfile` to simplify dev server commands and clean up node_modules.
- Added Turbo as a dev dependency in `package.json` for enhanced build performance.
- Modified `apps/scraper/package.json` and `apps/web/package.json` to include clean scripts.
- Adjusted `apps/web/src/payload-types.ts` to make `orderNumber` optional.
- Refactored `apps/web/src/collections/Orders.ts` to change hook from `beforeChange` to `beforeValidate` for better data handling during order creation.
- Added type checking and cleaning scripts to `packages/shared/package.json` for consistency across packages.
2026-04-02 22:37:54 +03:00
45588fd30d Set draft to false when creating orders in submit-order API 2026-04-02 22:27:35 +03:00
8a8cfcd0f1 Add scraper functionality and enhance product data extraction
- Updated `.gitignore` to exclude scraper intermediate data.
- Enhanced `justfile` with new scrape commands for raw data and LLM processing.
- Added OpenAI dependency in `scraper/package.json`.
- Modified `config.ts` to include OpenRouter API key and model.
- Expanded `extract.ts` to capture additional product details such as discount percentage, frost resistance, and size options.
- Updated `import.ts` to handle new product attributes during import.
- Enhanced `index.ts` to support raw scraping mode and improved product extraction logic.
- Updated `payload-types.ts` and `Products.ts` to include new product fields.
- Enhanced frontend components to display new product attributes and filters for availability and frost resistance.
- Improved error handling and logging in scraper functions.
- Added new features for managing product variants and specifications in the admin interface.
2026-04-02 13:34:27 +03:00
Снесарев Максим
a240d523e1 init 2026-04-01 22:34:50 +03:00
Снесарев Максим
e3464ca776 first commit 2026-04-01 19:51:25 +03:00