15 Commits

Author SHA1 Message Date
Roman Afanasyev
7c20e78aa7 fix(playground): fix Windows path resolution in template scripts (#1232) 2025-11-26 14:13:24 +09:00
TNBO/Eedge
f8f95a2637 feat: Add invoice-ja-simple Template (#1010)
* feat: Add invoice-ja-simple Template

* feat: add Japanese font options for template thumbnails

Add NotoSerifJP and NotoSansJP fonts to support Japanese text in template thumbnails.

---------

Co-authored-by: Kyohei Fukuda
2025-05-16 18:30:11 +09:00
Kyohei Fukuda
a9fd52488f feat: update quotes and invoice templates with new dimensions and add quotes to featured templates 2025-03-13 11:19:17 +09:00
Kyohei Fukuda
afbfa87674 [WIP] Add pdf2img integration for converting PDF to images in e2e tests (#774)
* Add pdf2img integration for converting PDF to images in e2e tests

* Refactor PDF generation tests to convert PDFs to images and validate against snapshots

* Refactor package.json files to remove "type": "module" and update import statements to CommonJS format

* Fix e2e test

* Add new image snapshots for e2e tests and remove obsolete snapshot
2025-03-01 16:24:01 +09:00
Kyohei Fukuda
b0d980c433 Modification to make the library ESM-based. (#770)
* Remove fast-xml-parser dependency and update vite-tsconfig-paths to 5.1.4

* tmp

* Refactor test files and scripts to use ES modules; remove obsolete files

* Enhance tests with new PDF utilities and update Jest configuration for ESM support
2025-03-01 02:23:24 +09:00
Kyohei Fukuda
85fb9c173f Devin/1740448101 add e2e tests (#757)
* Add E2E Testing with Puppeteer and Fix Syntax Errors

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* Update package-lock.json

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* Add playground test job to GitHub Actions workflow

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* refactor: update template-assets by removing and re-adding QR lines and title entries

* test: run E2E tests in headless mode for better performance

* fix: adjust Puppeteer launch settings for local testing and set viewport size

* fix: update Puppeteer launch arguments for improved security and add esModuleInterop in TypeScript config

* TMP

* test: add E2E tests for playground with Puppeteer and update workflow configuration

* refactor: rename workflow jobs and streamline dependency installation for playground tests

* refactor: rename unit testing job to pdfme-test for clarity

* chore: remove obsolete image snapshot for playground E2E tests

* test: update image snapshot comparison threshold for E2E tests

* test: update image snapshot failure threshold for Playground E2E tests

* TMP

* TMP

* test: enable experimental VM modules for Jest execution

* test: enhance E2E tests with error handling and logging

* test: add timeout configuration to PuppeteerRunnerExtension in E2E tests

* test: refactor PuppeteerRunnerExtension instantiation for E2E tests

* test: update E2E tests to use localhost URLs and improve request handling

* test: enable request interception in E2E tests for improved request handling

* TMP

* test: refactor E2E tests to remove sleep calls and improve screenshot handling

* test: enhance E2E tests for better performance and reliability

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-02-28 15:49:10 +09:00
Kyohei Fukuda
0b00eea9ae Integrate Ads script and update featured templates list 2025-02-15 17:39:52 +09:00
Kyohei Fukuda
3c718b4b09 Update .gitignore and package-lock.json; enhance thumbnail generation script with caching 2025-01-31 17:23:50 +09:00
Kyohei Fukuda
7cc5491ca9 Minor fix for playground and website 2025-01-29 10:37:10 +09:00
Kyohei Fukuda
0a4d425b0e add example templates 2025-01-28 11:27:59 +09:00
Kyohei Fukuda
04c705a7b3 Minor fix 2025-01-26 19:41:48 +09:00
Kyohei Fukuda
4f702a9108 Update playground (#685)
* fix: update .gitignore to include thumbnail.png and modify dev script to generate template assets

* feat: add author information to templates and update issue templates

* TMP

* TMP

* feat: update feedback template link to include template name in title
2025-01-26 19:13:32 +09:00
Kyohei Fukuda
82d8019b13 Add converter package (#681)
* TMP

* TMP

* TMP

* Update README.md to provide library description and documentation link

* TMP

* TMP

* TMP

* TMP

* Update package dependencies by adding @pdfme/converter and removing pdfjs-dist

* Remove pdfjs-dist mock and update tests to reflect changes in dependencies

* minor fix and add document for website

* Add documentation for manipulator and optimizer, and organize converter in sidebar

* Refactor package dependencies by removing @pdfme/converter from peerDependencies and reinstating optionalDependencies for canvas in converter package
2025-01-24 11:09:29 +09:00
Kyohei Fukuda
1f53b4c60d rename playground dir 2025-01-06 12:28:17 +09:00
Kyohei Fukuda
07c495bdbc Templates4playground (#669)
* TMP

* TMP

* TMP

* TMP

* TMP

* TMP

* TMP

* Add instructions for adding templates to the README
2025-01-06 11:45:09 +09:00