-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
803 additions
and
867 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,85 @@ | ||
{ | ||
"name": "pdfeasy", | ||
"version": "1.2.2", | ||
"description": "Client/Server Side PDF-Creator based in PDFKit", | ||
"author": "Novout <novout@hotmail.com>", | ||
"license": "MIT", | ||
"repository": "https://github.com/betterwrite/pdfeasy", | ||
"bugs": { | ||
"url": "https://github.com/betterwrite/pdfeasy/issues" | ||
}, | ||
"keywords": [ | ||
"pdfkit", | ||
"pdf", | ||
"typescript", | ||
"javascript", | ||
"printing", | ||
"layout" | ||
], | ||
"browser": { | ||
"path": "path-browserify", | ||
"crypto": "crypto-browserify", | ||
"stream": "stream-browserify" | ||
}, | ||
"exports": { | ||
".": { | ||
"import": "./dist/client.esm.js", | ||
"require": "./dist/client.cjs.js", | ||
"node": "./dist/node.esm.js", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"main": "./dist/client.cjs.js", | ||
"module": "./dist/client.esm.js", | ||
"node": "./dist/node.esm.js", | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"format": "prettier src/**/*.ts scripts/**/*.js --write", | ||
"build": "rimraf dist && cross-env NODE_ENV=development node scripts/build.js && pnpm run normalizeDts", | ||
"build:prod": "rimraf dist && cross-env NODE_ENV=production node scripts/build.js && pnpm run normalizeDts", | ||
"normalizeDts": "tsup ./src/index.ts --dts && rimraf dist/index.js", | ||
"test": "pnpm build:prod && vitest run --coverage", | ||
"node:script": "node -r esm ./scripts/generate/run-node.js", | ||
"demo": "vite --port 3000" | ||
}, | ||
"files": [ | ||
"dist/**/*", | ||
"LICENSE", | ||
"README.md" | ||
], | ||
"engines": { | ||
"node": ">=14.0" | ||
}, | ||
"dependencies": { | ||
"blob-stream": "0.1.3", | ||
"file-saver": "2.0.5", | ||
"fontkit-next": "1.8.3", | ||
"mitt": "3.0.0", | ||
"ohmyfetch": "0.4.21", | ||
"pdfkit": "0.13.0", | ||
"pdfkit-table": "^0.1.99" | ||
}, | ||
"devDependencies": { | ||
"@types/blob-stream": "0.1.30", | ||
"@types/file-saver": "2.0.5", | ||
"@types/node": "20.1.2", | ||
"@types/pdfkit": "0.12.9", | ||
"@vitest/coverage-c8": "0.31.0", | ||
"cross-env": "7.0.3", | ||
"esbuild": "0.17.18", | ||
"esbuild-plugin-alias": "0.2.1", | ||
"esbuild-plugin-fileloc": "0.0.6", | ||
"esbuild-plugin-replace": "1.3.0", | ||
"esbuild-plugin-resolve": "1.0.3", | ||
"esm": "3.2.25", | ||
"node-stdlib-browser": "1.2.0", | ||
"prettier": "2.8.8", | ||
"rimraf": "5.0.0", | ||
"tsup": "6.7.0", | ||
"typescript": "5.0.4", | ||
"vite": "4.3.5", | ||
"vitest": "0.31.0" | ||
} | ||
} | ||
{ | ||
"name": "pdfeasy", | ||
"version": "1.2.2", | ||
"description": "Client/Server Side PDF-Creator based in PDFKit", | ||
"author": "Novout <novout@hotmail.com>", | ||
"license": "MIT", | ||
"repository": "https://github.com/betterwrite/pdfeasy", | ||
"bugs": { | ||
"url": "https://github.com/betterwrite/pdfeasy/issues" | ||
}, | ||
"keywords": [ | ||
"pdfkit", | ||
"pdf", | ||
"typescript", | ||
"javascript", | ||
"printing", | ||
"layout" | ||
], | ||
"browser": { | ||
"path": "path-browserify", | ||
"crypto": "crypto-browserify", | ||
"stream": "stream-browserify" | ||
}, | ||
"exports": { | ||
".": { | ||
"import": "./dist/client.esm.js", | ||
"require": "./dist/client.cjs.js", | ||
"node": "./dist/node.esm.js", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"main": "./dist/client.cjs.js", | ||
"module": "./dist/client.esm.js", | ||
"node": "./dist/node.esm.js", | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"format": "prettier src/**/*.ts scripts/**/*.js --write", | ||
"build": "rimraf dist && cross-env NODE_ENV=development node scripts/build.js && pnpm run normalizeDts", | ||
"build:prod": "rimraf dist && cross-env NODE_ENV=production node scripts/build.js && pnpm run normalizeDts", | ||
"normalizeDts": "tsup ./src/index.ts --dts && rimraf dist/index.js", | ||
"test": "pnpm build:prod && vitest run --coverage", | ||
"node:script": "node -r esm ./scripts/generate/run-node.js", | ||
"demo": "vite --port 3000" | ||
}, | ||
"files": [ | ||
"dist/**/*", | ||
"LICENSE", | ||
"README.md" | ||
], | ||
"engines": { | ||
"node": ">=14.0" | ||
}, | ||
"dependencies": { | ||
"blob-stream": "0.1.3", | ||
"defu": "6.1.2", | ||
"file-saver": "2.0.5", | ||
"fontkit-next": "1.8.3", | ||
"mitt": "3.0.0", | ||
"ohmyfetch": "0.4.21", | ||
"pdfkit": "0.13.0", | ||
"pdfkit-table": "^0.1.99" | ||
}, | ||
"devDependencies": { | ||
"@types/blob-stream": "0.1.30", | ||
"@types/file-saver": "2.0.5", | ||
"@types/node": "20.1.2", | ||
"@types/pdfkit": "0.12.9", | ||
"@vitest/coverage-c8": "0.31.0", | ||
"cross-env": "7.0.3", | ||
"esbuild": "0.17.18", | ||
"esbuild-plugin-alias": "0.2.1", | ||
"esbuild-plugin-fileloc": "0.0.6", | ||
"esbuild-plugin-replace": "1.3.0", | ||
"esbuild-plugin-resolve": "1.0.3", | ||
"esm": "3.2.25", | ||
"happy-dom": "9.20.3", | ||
"node-stdlib-browser": "1.2.0", | ||
"prettier": "2.8.8", | ||
"rimraf": "5.0.0", | ||
"tsup": "6.7.0", | ||
"typescript": "5.0.4", | ||
"vite": "4.3.5", | ||
"vitest": "0.31.0" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/pdfeasy/src/pipe/emitter.ts → packages/pdfeasy/src/events.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
import { PDFEasy } from './runner/pdfeasy' | ||
import { PDFEasy } from './runner' | ||
|
||
export default new PDFEasy() | ||
export * from './runner/pdfeasy' | ||
export * from './runner' | ||
|
||
export * as Utils from './utils' | ||
export * as Types from './types' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.