4 Commits

Author SHA1 Message Date
b3d1457aa2 Refactor PDF handling and update Linux packaging
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Removed @napi-rs/canvas and pdf-to-img dependencies from package.json and bun.lock to streamline the project.
- Added PDF.js data directory configuration in the Linux service file and build scripts.
- Introduced a new pdfToImg module for rendering PDF pages to images, enhancing PDF conversion capabilities.
- Updated pdfUtils to utilize the new pdfToImg function, improving efficiency and modularity.
2026-07-28 23:01:22 +01:00
56628cbbe5 Refactor PDF conversion utilities and update Linux build script
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Removed unnecessary external dependencies from the Linux binary build script to streamline the build process.
- Simplified the import mechanism for the `pdf-to-img` and `sharp` modules in the PDF conversion utilities, enhancing module loading efficiency.
2026-07-28 22:50:31 +01:00
bb538fe454 Refactor Linux binary build script for improved exit code handling
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Updated the exit code handling in the Linux binary build script to use the `exited` property from the compile result.
- Simplified the process of exiting the script on failure, enhancing clarity and reliability.
2026-07-28 22:18:27 +01:00
8453e7c7cf Switch package manager and runtime from Node/pnpm to Bun.
Update build scripts, entry points, and packaged-path detection for the new toolchain.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 22:03:20 +01:00