Commit Graph

28 Commits

Author SHA1 Message Date
hand-dot
3d87f977d6 use vp 2026-03-21 09:24:02 +09:00
hand-dot
fc7567b879 Finish Phase 1 cleanup and verification 2026-03-20 22:58:47 +09:00
hand-dot
6c4900f00e Complete pdf-lib and ui Vite build migration 2026-03-20 19:04:44 +09:00
hand-dot
2dec270bc4 Migrate common and manipulator builds to Vite 2026-03-20 18:29:50 +09:00
hand-dot
58a8c712cb Add TypeScript project references 2026-03-20 15:10:39 +09:00
hand-dot
b941bc9038 Update TypeScript configuration to use ESNext module and bundler resolution 2025-03-05 10:05:52 +09:00
Kyohei Fukuda
96a8eddf54 Add @types/jest dependency and refactor ArrayBuffer handling in img2pdf and useUIPreProcessor 2025-03-04 10:17:32 +09:00
Kyohei Fukuda
b0b7789bae Add @types/node dependency and refactor useUIPreProcessor for improved performance 2025-03-04 09:14:57 +09:00
Kyohei Fukuda
102ca8cc62 Fix eslint (#780)
* Refactor ESLint configuration: remove legacy .eslintrc.cjs files and replace with new .mjs configurations

* Remove unnecessary TypeScript ignore comments and simplify async calls in barcode tests

* Refactor date helper: remove TypeScript ignore comments and simplify AirDatepicker usage

* Enhance date helper: add AirDatepickerDate type and improve type annotations for onSelect callback

* Update TypeScript and ESLint configurations: change module to NodeNext, refine file patterns, and enhance lint command

* Refactor ESLint configuration: remove unnecessary language options for TypeScript files
2025-03-03 10:20:36 +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
devin-ai-integration[bot]
97d61f223d Fix failing tests in Dependabot PRs (#758)
* Update @typescript-eslint packages to support eslint 9.x.x and add lucide-react mock for tests

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

* Add script to fix all failing Dependabot PRs

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

* Remove fix_all_dependabot_prs.sh as requested

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

* Update snapshots for Dependabot PR #746 and add lucide-react mock for tests

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

* Fix syntax error in UI package tsconfig.json and update snapshots

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

* Fix syntax errors in CtlBar.tsx and utils.ts

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

* Fix syntax errors in CtlBar.tsx by using direct imports with mock

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-02-28 17:08:35 +09:00
Kyohei Fukuda
3aacf2a9b1 Manipulator package (#712)
* TMP

* Implement PDF manipulation functions: merge, split, remove, insert, extract, rotate, and organize with initial test structure

* feat(manipulator): implement merge and split functions (#714)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* feat(manipulator): implement remove and insert functions (#715)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* feat(manipulator): implement extract and rotate functions (#716)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* feat(manipulator): implement organize function (#717)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* feat(manipulator): add clean and build scripts for manipulator package

* feat: update .gitignore to exclude repomix-output.txt files

* fix(manipulator): update import paths and improve code consistency

* Minor fix

* add tests

* test(manipulator): add visual snapshot testing to E2E tests

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

* fix(manipulator): update pdfToImages function to return Buffer array and add getPDFPageCount utility

---------

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-02-16 13:34:26 +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
69f662ee01 change ui bundler vite to esbuild 2023-11-16 15:00:24 +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
c2fd0a8fae Add schemas package (#278)
* Add schemas package

* TMP

* TMP

* Fix text pdfRender bug

* move render props type to schema

* update type

* TMP

* remove webpack

* Fix build error

* Add comment

* TMP

* bugfix

* TMP

* Bug fix for dynamicFontSize

* Minor fix

* TMP

* Minor fix

* Fix build error

* Add generics

* add comment

* Minor fix

* Move Plugin type to common from schemas

* TMP Move some pdfme/common functions to pdfme/schemas

* Fix test

* Fix build bug

* Fix build error

* Refactoring

* remove any type

* Fix fail test

* Fix build error

* Minor fix

* Refactoring

* Fix format
2023-10-18 17:29:49 +09:00
Kyohei Fukuda
2dfc8aeb23 Fix missing setting for gs1datamatrix 2023-06-24 11:54:15 +09:00
Kyohei Fukuda
1b686d40b1 Update version to 1.2.1 2023-06-04 17:16:26 +09:00
Kyohei Fukuda
7fd97abe62 Remove '@pdfme/pdf-lib' in common package #178 and Optimize 2023-06-04 15:42:22 +09:00
Kyohei Fukuda
a0dff703b5 Refactoring for dynamic font 2023-06-04 00:33:56 +09:00
Kyohei Fukuda
035879d6da Update version to 1.1.5 2023-01-16 16:04:50 +09:00
Kyohei Fukuda
20ae05e87e [TMP] Remove umd, Add cjs, esm. 2023-01-03 12:32:59 +09:00
hand-dot
58f20f61b2 Remove yarn #20 2022-02-12 16:39:12 +09:00
hand-dot
5fc9653c36 fixing for build 2022-02-04 00:21:30 +09:00
hand-dot
a65cfe702a fix test 2022-02-01 13:38:22 +09:00
hand-dot
0bee8dde06 tmp 2022-01-31 19:15:06 +09:00