13 Commits

Author SHA1 Message Date
hand-dot
b5f4f31997 Add @pdfme/cli package 2026-03-21 17:42:42 +09:00
hand-dot
c759a120d7 feat: update test script to run workspace tests and refactor schema imports
- Changed the test script in package.json to run workspace tests using a new script.
- Updated imports in generator and helper files to point to specific schema paths.
- Added new builtins and tables exports in schemas package.json and created corresponding files.
- Enhanced error handling in multiVariableText propPanel for JSON parsing.
- Refactored UI components to use React 18 and updated dependencies accordingly.
- Improved snapshot tests to ensure cleaner output by removing empty text nodes.
- Updated documentation to reflect changes in package usage and requirements.
2026-03-21 16:10:48 +09:00
hand-dot
400fe64dbd Migrate converter schemas and generator builds to Vite 2026-03-20 18:44:57 +09:00
hand-dot
58a8c712cb Add TypeScript project references 2026-03-20 15:10:39 +09:00
devin-ai-integration[bot]
1a58874c32 Update TypeScript to version 5.8.2 (#802)
* Update TypeScript to version 5.8.2 and fix type compatibility issues

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

* Update package-lock.json for TypeScript 5.8.2

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

* Fix TypeScript errors in generator package

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

* Update moduleResolution to esnext in all tsconfig.esm.json files and fix type errors in generator package

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

* Update moduleResolution to bundler in all tsconfig.esm.json files

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

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-03-04 18:15:28 +09:00
hand-dot
b1af5c2c8f Revert "Offscreen Canvas rendering for web workers (#704)"
This reverts commit c76f3cae5e.
2025-03-01 17:11:13 +09:00
Thomas Schühly
c76f3cae5e Offscreen Canvas rendering for web workers (#704)
* Offscreen Canvas rendering

* fix build issues
2025-03-01 16:23:54 +09:00
Kyohei Fukuda
8d824db3f5 Fix TS2835 (#762)
* tmp

* chore: update TypeScript configuration to use ESNext module and resolution

* fix: update remaining imports with .js extensions and tsconfig files with nodenext

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

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-02-28 20:49:17 +09:00
Yasuyuki Komatsubara
f95d798a18 use Intl.Segmenter for line breaking and support alignment (#686)
* use Intl.Segmenter for line breaking and support  alignment

* fix no justify for single line texts

* remove locale from text schema

* remove unused locale related codes and minor bug fixes

* Update generator snapshot

* prevent overflow if text is longer than box width

* take into account character spacing when splitting lines

* update some assert pdfs

* Fix  bugs on text segmentation in edge cases

* use const, add containsJapanese

---------

Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
2025-02-09 22:13:54 +09:00
Kyohei Fukuda
e794eabd91 Preparing to release V5 (#600) 2024-09-25 10:39:52 +09:00
Kyohei Fukuda
c1e24761d2 [WIP] Enhancing the development experience (#327)
* TMP

* TMP

* Fix failing test

* Update ESLint configuration

* Update ESLint configuration
2023-11-22 00:09:00 +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
Kyohei Fukuda
20ae05e87e [TMP] Remove umd, Add cjs, esm. 2023-01-03 12:32:59 +09:00