32 Commits

Author SHA1 Message Date
hand-dot
524fc14c36 fix(ci): remove lifecycle script dependencies 2026-04-02 11:50:12 +09:00
hand-dot
cd3db68070 improve scripts 2026-03-21 10:20:23 +09:00
hand-dot
3d87f977d6 use vp 2026-03-21 09:24:02 +09:00
hand-dot
6b06c606f7 Clean up playground deps and update converter docs 2026-03-20 23:16:12 +09:00
hand-dot
fc7567b879 Finish Phase 1 cleanup and verification 2026-03-20 22:58:47 +09:00
hand-dot
fc60395cac fix for playground test 2026-03-20 21:55:19 +09:00
hand-dot
f497bae137 Fix pdfjs worker and migrate playground tests to Vitest 2026-03-20 20:31:35 +09:00
hand-dot
0d0f89f12b Prepare ESM migration groundwork 2026-03-20 14:49:50 +09:00
Kyohei Fukuda
4fdf04262a Update dependencies to version 9.6.0 and adjust ESLint command in package.json 2025-03-18 09:40:57 +09:00
Kyohei Fukuda
9ce080ad58 feat: integrate Sentry Vite plugin and remove unused SentryTest component 2025-03-13 17:40:18 +09:00
Devin AI
8cb1528907 Add Sentry integration for error tracking
Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-03-13 08:19:45 +00:00
Kyohei Fukuda
5c3a15cdf7 Refactor application structure by moving main component to App.tsx and updating linting configuration 2025-03-07 09:20:15 +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
hand-dot
3f5f2fdf80 feat: enhance GitHub Actions workflow to support /retest command and update dependencies 2025-02-28 16:33:30 +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
669cbf2f2b feat: add PDF generation and merging functionality in node-playground 2025-02-18 10:39:31 +09:00
Kyohei Fukuda
b97ab98334 Update website (#701)
* TMP

* Remove unused components and styles; add new images for UI

* Minor fix

* TMP
2025-02-11 19:22:59 +09:00
Kyohei Fukuda
863ebe5817 Add template contribution guide (#687)
* TMP

* docs: Enhance template contribution guide with detailed steps and community encouragement
2025-01-27 11:12: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
Kyohei Fukuda
beeb598448 Update website and Playground (#667)
* Update docusaurus and remove remove blog

* Refactor DemoAppFooter component and remove unused dependencies

* Remove @mui/icons-material

* Refactor codebase by removing unused components and dependencies, and update package scripts

* add tailwindcss to playground

* Update playground

* add utm param to website and playground
2025-01-03 20:06:42 +09:00
Kyohei Fukuda
2880736884 Fix routing error in playground 2024-09-11 10:36:57 +09:00
Sebastian Moßburger
da7f7cfb0b fix(common): Move typing dependencies to peer (#477)
* fix(dep): Remove antd as direct dependency of common

* Move form-render to peer as well

* update esbuild

---------

Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2024-06-01 09:11:50 +09:00
Kyohei Fukuda
40cc703f2c Minor fix for Upgrade to V4 2024-04-11 09:57:35 +09:00
Kyohei Fukuda
a3a2b0bdc6 [WIP] V4 (#427)
* Reconsider the internal data types and the template types (#389)

* Change SchemaForUI's data and readOnlyValue to content

* Fix bug

* Remove sampledata and instead always use content. & Use content regardless of readOnly or not. & Eliminate defaultValue and replace it with always using content.

* Change website template

* Fix placeholder bug

* Change generator test template

* Change content to optional

* Move getInputFromTemplate to common

* Remove columns

* Fix test

* move dynamictable.excalidraw

* remove idea dir

* New basePdf type and Support adding new pages to template (#394)

* Minor fix

* IMPL Support adding new pages to template #111

* Fix test

* Minor fix

* IMPL padding behavior

* Update snapshot

* Minor fix

* Update snapshot

* add i18n

* remove option from BlankPdf.padding

* Minor fix

* Minor fix

* format

* Add changeSchemas unit test (#403)

* Minor fix

* Add a version number to pdfme template from V4 onwards (#404)

* Impl

* Minor fix

* Padding move width (#407)

* Refactor position and size handling in helper.ts

* Fix bug

* Add DynamicTable Schema #332 (#408)

* [tmp] add some comment

* Update snapshot

* Add deploy-table script to package.json

* add new template for playground

* bug fix for form

* fix cell editing bug

* Fix Adding rows doesn't change the overall height of the table

* fix padding problem

* Fix build error

* Fix bug

* Minor fix

* Fix New lines not reflecting correctly

* minor fix

* Minor fix

* Change tableStyles def

* add i18n

* small bugfix

* FIx some TODO

* Remove japanese comment

* Minor fix

* Fix infinity loom for form

* fix save inputs bug

* fix window resize bug

* add skip for failing test and update snapshot

* Minor fix

* add presets for playground

* Minor fix

* Reconsider the internal data types and the template types (#389)

* Change SchemaForUI's data and readOnlyValue to content

* Fix bug

* Remove sampledata and instead always use content. & Use content regardless of readOnly or not. & Eliminate defaultValue and replace it with always using content.

* Change website template

* Fix placeholder bug

* Change generator test template

* Change content to optional

* Move getInputFromTemplate to common

* Remove columns

* Fix test

* move dynamictable.excalidraw

* remove idea dir

* New basePdf type and Support adding new pages to template (#394)

* Minor fix

* IMPL Support adding new pages to template #111

* Fix test

* Minor fix

* IMPL padding behavior

* Update snapshot

* Minor fix

* Update snapshot

* add i18n

* remove option from BlankPdf.padding

* Minor fix

* Minor fix

* format

* Add changeSchemas unit test (#403)

* Minor fix

* Add a version number to pdfme template from V4 onwards (#404)

* Impl

* Minor fix

* Padding move width (#407)

* Refactor position and size handling in helper.ts

* Fix bug

* Add DynamicTable Schema #332 (#408)

* [tmp] add some comment

* Update snapshot

* Add deploy-table script to package.json

* add new template for playground

* bug fix for form

* fix cell editing bug

* Fix Adding rows doesn't change the overall height of the table

* fix padding problem

* Fix build error

* Fix bug

* Minor fix

* Fix New lines not reflecting correctly

* minor fix

* Minor fix

* Change tableStyles def

* add i18n

* small bugfix

* FIx some TODO

* Remove japanese comment

* Minor fix

* Fix infinity loom for form

* fix save inputs bug

* fix window resize bug

* add skip for failing test and update snapshot

* Minor fix

* add presets for playground

* Minor fix

* Minor fix

* Update imports and fix font rendering

* Add a Left Sidebar for Placing Schemas #400 (#452)

* Remove original 'Add new field' Button

* add icon

* FIx drag position bug

* Minor fix

* Fix sidebar position

* Update snapshot

* Minor fix

* Update packages/ui/src/components/Designer/index.tsx

Co-authored-by: Peter Ward <pete@pennyblack.io>

---------

Co-authored-by: Peter Ward <pete@pennyblack.io>

* Fix test

* Improve left sidebar icon drop placement accuracy (#454)

* Fix Spanish translations for v4 (#463)

* Fix #431

* V4 (#467)

* feat: add french language

* feat: relecture

* feat: add french language

---------

Co-authored-by: regis <regis>

* Add French language option to playground

* rename table export name to tableBeta

---------

Co-authored-by: Peter Ward <pete@pennyblack.io>
Co-authored-by: Iker Diez <32014358+ikerd@users.noreply.github.com>
Co-authored-by: Régis <regis.charnace@leandco.fr>
2024-04-11 09:43:36 +09:00
Daniel Kastl
5849e5d873 Fix/reviews development instructions (#346)
* Fixes syntax and command

Signed-off-by: Daniel Kastl <daniel@georepublic.de>

* Prevents esbuild install error

Signed-off-by: Daniel Kastl <daniel@georepublic.de>

---------

Signed-off-by: Daniel Kastl <daniel@georepublic.de>
2023-12-02 09:18:48 +09:00
Kyohei Fukuda
6d823cf007 Fix error (#339) 2023-11-27 09:37:25 +09:00
Kyohei Fukuda
c6c3a12675 Update website setting 2023-11-09 10:18:10 +09:00
Kyohei Fukuda
2a231c67ce Change build tool from webpack to vite to improve slow pdfme/ui build times (#314)
* TMP

* Minor fix

* remove incremental build option

* stop using npm-run-all to test
2023-11-08 17:39:21 +09:00