Commit Graph

93 Commits

Author SHA1 Message Date
dependabot[bot]
994adcbc68 Bump @types/node from 22.13.13 to 22.13.14 (#892)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.13 to 22.13.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 10:19:16 +09:00
dependabot[bot]
132ed17dd0 Bump eslint-config-prettier from 10.0.2 to 10.1.1
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.0.2 to 10.1.1.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.0.2...v10.1.1)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-11 00:05:07 +00:00
Kyohei Fukuda
272cc10feb Merge pull request #834 from pdfme/dependabot/npm_and_yarn/types/node-22.13.10
Bump @types/node from 22.13.9 to 22.13.10
2025-03-11 09:02:02 +09:00
dependabot[bot]
294f34223a Bump @types/node from 22.13.9 to 22.13.10
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.9 to 22.13.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-10 16:32:29 +00:00
dependabot[bot]
952a077a7a Bump eslint from 9.21.0 to 9.22.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.21.0 to 9.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.21.0...v9.22.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-10 16:31:51 +00: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
dependabot[bot]
a11926703b Bump eslint-plugin-prettier from 4.2.1 to 5.2.3 (#795)
* Bump eslint-plugin-prettier from 4.2.1 to 5.2.3

Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 4.2.1 to 5.2.3.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v4.2.1...v5.2.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update prettier to ^3.5.0 to fix peer dependency with eslint-plugin-prettier

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.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 10:59:00 +09:00
Kyohei Fukuda
b0b7789bae Add @types/node dependency and refactor useUIPreProcessor for improved performance 2025-03-04 09:14:57 +09:00
dependabot[bot]
76d2add0cb Bump babel-loader from 8.4.1 to 10.0.0 (#786)
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.4.1 to 10.0.0.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.4.1...v10.0.0)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-04 06:41:27 +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
dependabot[bot]
fd9cd52260 Bump eslint from 8.57.1 to 9.21.0 (#744)
* Bump eslint from 8.57.1 to 9.21.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.1...v9.21.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix eslint 9.21.0 Dependency Conflicts (#764)

* Add playground tests to publish-commit and publish-release workflows (#760)

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

* test: enhance createSvgStr tests for SVG output and custom attributes

* Update @typescript-eslint packages to be compatible with eslint 9.21.0

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

---------

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-02-28 21:16:41 +09:00
dependabot[bot]
27ec22a4bf Bump @typescript-eslint/eslint-plugin from 5.62.0 to 8.25.0 (#735)
* Bump @typescript-eslint/eslint-plugin from 5.62.0 to 8.25.0

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.62.0 to 8.25.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.25.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix @typescript-eslint/eslint-plugin 8.25.0 Dependency Conflicts (#765)

* Add playground tests to publish-commit and publish-release workflows (#760)

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

* test: enhance createSvgStr tests for SVG output and custom attributes

* Update @typescript-eslint/parser to 8.25.0 to match @typescript-eslint/eslint-plugin

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

---------

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>
2025-02-28 20:50:53 +09:00
dependabot[bot]
f554726539 Bump eslint-config-prettier from 8.10.0 to 10.0.2 (#759)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.10.0 to 10.0.2.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.10.0...v10.0.2)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-28 17:14: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
dependabot[bot]
df7f050617 Bump rimraf from 3.0.2 to 6.0.1 (#739)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.2 to 6.0.1.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v3.0.2...v6.0.1)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-28 16:57:21 +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
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
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
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
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
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
8f82b1a4d8 Uninstall unused devDependencies 2023-11-09 09:20:29 +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
45d18a5f1f npm run build command to parallel 2023-11-07 10:52:55 +09:00
Kyohei Fukuda
5662357537 Organize files 2023-11-03 18:36:51 +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
fa1a00c983 Add npm link script 2023-06-10 17:39:34 +09:00
James Halsall
9863894ce2 Revert "Change name to @pdfme in root package.json"
This reverts commit 00a15cd6ad.
2023-05-23 09:28:56 +01:00
James Halsall
00a15cd6ad Change name to @pdfme in root package.json 2023-03-29 19:04:34 +01:00
Kyohei Fukuda
035879d6da Update version to 1.1.5 2023-01-16 16:04:50 +09:00
Kyohei Fukuda
329ffc9f84 Fix test config 2023-01-13 14:23:24 +09:00
Kyohei Fukuda
20ae05e87e [TMP] Remove umd, Add cjs, esm. 2023-01-03 12:32:59 +09:00
hand-dot
1979649a61 node 14 support #71 2022-06-24 18:01:21 +09:00
hand-dot
4efeacb708 add keyword in package.json 2022-03-18 15:13:29 +09:00
hand-dot
c60af14116 Remove Beta 2022-03-07 13:38:54 +09:00
hand-dot
908a9c625a Version up to 1.0.0-beta.11 2022-03-03 18:29:24 +09:00
hand-dot
6b9e0eba48 Version up to 1.0.0-beta.10 2022-02-28 18:02:53 +09:00
hand-dot
73e8a63b63 Update&Publish website's pdfme lib version #43 2022-02-22 15:51:14 +09:00
hand-dot
8c98b4654c Update pdfme dependencies 2022-02-21 18:26:10 +09:00
hand-dot
0d012f886f Add group layout function #24 2022-02-17 17:21:03 +09:00
hand-dot
58f20f61b2 Remove yarn #20 2022-02-12 16:39:12 +09:00
hand-dot
810ee62eae fix packagejson repository field 2022-02-09 14:06:04 +09:00
hand-dot
f19c434392 tmp build setting change 2022-02-04 17:42:02 +09:00
hand-dot
5fc9653c36 fixing for build 2022-02-04 00:21:30 +09:00
hand-dot
a2b968d236 v1.0.0-beta.3 2022-02-03 17:43:13 +09:00
hand-dot
9190d8e42f minor fix for npm publish 2022-02-03 14:01:01 +09:00
hand-dot
e56983688a change github repo url 2022-02-02 16:07:18 +09:00
hand-dot
6203448665 chenge version 2022-02-02 15:49:17 +09:00
hand-dot
54387f78d5 chenge github actions 2022-02-02 11:36:07 +09:00
hand-dot
221715c481 fix common b64toUint8Array 2022-02-02 00:25:09 +09:00