Files
evidencija-rezija/CHANGELOG.md
Knee Cola 57dcebd640 refactor: convert repository to monorepo with npm workspaces
Restructured the repository into a monorepo to better organize application code
and maintenance scripts.

## Workspace Structure
- web-app: Next.js application (all app code moved from root)
- housekeeping: Database backup and maintenance scripts

## Key Changes
- Moved all application code to web-app/ using git mv
- Moved database scripts to housekeeping/ workspace
- Updated Dockerfile for monorepo build process
- Updated docker-compose files (volume paths: ./web-app/etc/hosts/)
- Updated .gitignore for workspace-level node_modules
- Updated documentation (README.md, CLAUDE.md, CHANGELOG.md)

## Migration Impact
- Root package.json now manages workspaces
- Build commands delegate to web-app workspace
- All file history preserved via git mv
- Docker build process updated for workspace structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-25 12:13:04 +01:00

50 lines
2.2 KiB
Markdown

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Changed
- **Monorepo Architecture**: Converted repository to monorepo structure with npm workspaces
- `web-app/` - Main Next.js application (formerly root directory)
- `housekeeping/` - Database backup and maintenance scripts
- **Docker Configuration**: Updated Dockerfile and docker-compose files for monorepo build process
- **Build Process**: Updated to use workspace-aware npm commands
- **Documentation**: Updated README.md and CLAUDE.md to reflect new structure
### Migration Notes
- All application code moved to `web-app/` workspace using `git mv` to preserve history
- All database backup scripts moved to `housekeeping/` workspace
- Docker builds now install dependencies at root level and build from `web-app/` workspace
- Volume mounts in docker-compose updated to reference `web-app/etc/hosts/`
- `.gitignore` updated to handle `node_modules` at any workspace level
- Root `package.json` now manages workspaces and delegates commands to appropriate workspace
## [2.17.0] - 2025-12-21
### Changed
- **PDF417 Barcode Generation**: Reverted from zxing-wasm library to pure JavaScript implementation due to barcode scanner compatibility issues. The barcodes generated by the zxing-wasm library were unreadable by scanners at "Tisak" kiosks in Croatia. The legacy custom PDF417 generator now ensures better compatibility with retail payment scanning infrastructure.
### Technical Details
- Restored `app/lib/pdf/pdf417.ts` - Custom PDF417 generator library
- Restored `app/lib/pdf/renderBarcode.ts` - Canvas-based barcode renderer
- Restored `app/ui/Pdf417Barcode.tsx` - React component using custom generator
- Updated all components to use legacy `Pdf417Barcode` instead of `Pdf417BarcodeWasm`
## [2.16.1] - 2025-12-20
### Fixed
- Minor bug fixes and improvements
## [2.16.0] - 2025-12-20
### Added
- Initial zxing-wasm integration for PDF417 barcode generation
---
For older versions, please refer to git commit history.