108 Commits

Author SHA1 Message Date
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
400fe64dbd Migrate converter schemas and generator builds to Vite 2026-03-20 18:44:57 +09:00
hand-dot
11169c6692 Migrate generator and pdf-lib tests to Vitest 2026-03-20 15:48:05 +09:00
ryoppippi
38eeecb3ed chore: replace npm-run-all with npm-run-all2 (#1288)
* chore: replace npm-run-all with npm-run-all2

* chore: replace npm-run-all with npm-run-all2 and use run-p shorthand
2025-12-05 09:42:53 +09:00
Devin AI
85025868d1 fix: replace file: references with wildcard (*) to fix pnpm compatibility (fixes #843)
Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-03-12 13:03:20 +00:00
Kyohei Fukuda
9ecd6346a6 Update package dependencies to use local paths for common and converter packages 2025-03-06 10:17:31 +09:00
devin-ai-integration[bot]
ac9c20717c Remove unused atob dependency from generator package (#801)
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 15:22:12 +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
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
Zin Kyaw Kyaw (AJ)
445d014e70 add sparate build for node in generator, common and schema packages (#722) 2025-02-20 12:18:47 +09:00
Kyohei Fukuda
23443bbe20 Improve test (#720)
* use image snapshot

* remove

* Add new feature for user profile customization

* Implement user profile customization feature

* Update snapshots to reflect changes in button class names
2025-02-16 14:48:40 +09:00
Kyohei Fukuda
2c0749f560 adjust schema positions based on bounding box dimensions (#689)
* adjust schema positions based on bounding box dimensions

* FIx for build

* update snapshot
2025-01-30 10:53:59 +09:00
Kyohei Fukuda
24a48b2e24 fix: remove pdf support from image schema to decouple schemas from converter 2025-01-24 14:40:36 +09:00
Zin Kyaw Kyaw (AJ)
abf0e360a3 [630]: Bug fix on basePdf as array buffer (#659)
* [630]: Bug fix on basePdf as array buffer

* Minor fix

* Fix handling of customPdf in getB64BasePdf to ensure proper conversion to Uint8Array

* TMP

* Fix test

---------

Co-authored-by: hand-dot <kyouhei.fukuda0729@gmail.com>
2024-12-14 15:44:42 +09:00
Kyohei Fukuda
e1c6ed13fc Fix date schema (#610)
* Refactor language property to lang in schema and generator modules

* TMP

* Fix bug

* Refactor package.json and cssTransform.js files
2024-10-13 00:26:48 +09:00
Kyohei Fukuda
915447863b [WIP] Add Schema Date input (#606)
* TMP

* IMPL

* remove console

* add remove button

* TMP

* TMP

* add select schema

* Minor fix

* fix ut

* Update package.json to include date-fns/locale.cjs module mapping
2024-10-07 15:09:39 +09:00
Kyohei Fukuda
e794eabd91 Preparing to release V5 (#600) 2024-09-25 10:39:52 +09:00
Kyohei Fukuda
700a088527 Add ReadOnly Schemas (#386)
* TMP

* IMPL

* Remove console.log statement in imageSize function

* TMP add test

* Update @pdfme/pdf-lib

* Update package-lock.json

* Update snapshot
2023-12-23 17:21:35 +09:00
Kyohei Fukuda
e1ce94c4ec Add SVG Schema (#384)
* TMP

* Impl SVG schema in the schemas package

* Update @pdfme/pdf-lib to version 1.18.1

* Change image schema

* Update devBuild:watch script in package.json
2023-12-22 00:12:12 +09:00
Kyohei Fukuda
6d823cf007 Fix error (#339) 2023-11-27 09:37:25 +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
Staffan Enberg
815cbd84b4 Add types to package exports (#316)
Co-authored-by: Staffan Enberg <staffa.enberg@gmail.com>
2023-11-13 20:42:54 +09:00
Kyohei Fukuda
ec7ab807e9 Set type:module for all package, and Update pdfjs-dist at ui 2023-11-10 12:03:49 +09:00
Kyohei Fukuda
f539e06879 Split generate test file 2023-11-07 11:11:40 +09:00
Kyohei Fukuda
45d18a5f1f npm run build command to parallel 2023-11-07 10:52:55 +09:00
Kyohei Fukuda
1fe8a2e008 Change package.json's version 2023-11-03 18:19:06 +09:00
Kyohei Fukuda
7d6434b4c7 Remove beta from package version 2023-11-03 17:33:26 +09:00
Kyohei Fukuda
ce5a667c14 Minor fix 2023-10-30 10:38:05 +09:00
Kyohei Fukuda
9b4d1173f8 Update version to 3.0.0-beta.2 2023-10-29 16:43:27 +09:00
Kyohei Fukuda
c9c3afbc70 Update version to 3.0.0-beta.1 2023-10-29 16:26:13 +09:00
Kyohei Fukuda
a596f3b2bb Update website doc 2023-10-29 16:21:41 +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
30a0ce2eda Update version to 2.2.1 2023-09-23 17:12:09 +09:00
Kyohei Fukuda
8d4b9f00f2 Move createBarCode to common 2023-09-12 10:59:40 +09:00
Kyohei Fukuda
f2d81fd538 Update version to 2.2.0 2023-08-27 16:12:07 +09:00
Kyohei Fukuda
4576b243ea Update version to 2.1.0 2023-08-19 15:35:12 +09:00
Kyohei Fukuda
b5c176b498 Update version to 2.0.2 2023-08-04 10:57:55 +09:00
Kyohei Fukuda
a9f723bbcf Fix @pdfme/generator v2.0.1 install error #214 2023-08-04 10:57:20 +09:00
Kyohei Fukuda
f2db4481a1 Update version to 2.0.1 2023-07-31 09:37:53 +09:00
Kyohei Fukuda
0e1ea6b589 Update version to 2.0.0 2023-07-31 09:13:13 +09:00
Kyohei Fukuda
aa6e6ba678 Update dependencies on common in generator and ui 2023-07-28 10:51:57 +09:00
Kyohei Fukuda
60cee52efc Update version to 1.2.6 2023-06-28 22:14:11 +09:00
Kyohei Fukuda
cd3aad2676 Update version to 1.2.5 2023-06-28 22:09:57 +09:00
Kyohei Fukuda
a675222f00 Update version to 1.2.4 2023-06-24 12:04:28 +09:00
Kyohei Fukuda
2dfc8aeb23 Fix missing setting for gs1datamatrix 2023-06-24 11:54:15 +09:00
Kyohei Fukuda
3dcfe19bbe Update version to 1.2.3 2023-06-10 17:42:55 +09:00
Kyohei Fukuda
15fe2b07c7 Update version to 1.2.2 2023-06-04 17:56:36 +09:00
Kyohei Fukuda
1b686d40b1 Update version to 1.2.1 2023-06-04 17:16:26 +09:00