pdfn 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +16 -6
package/README.md CHANGED
@@ -2,7 +2,13 @@
2
2
 
3
3
  CLI and PDF server for pdfn. Dev server with live preview, production server for PDF generation.
4
4
 
5
- > Requires headless Chromium (Puppeteer/Playwright compatible). For serverless, use [@sparticuz/chromium](https://github.com/Sparticuz/chromium) or a hosted browser service.
5
+ > Requires headless Chromium. For serverless, use [@sparticuz/chromium](https://github.com/Sparticuz/chromium) or a hosted browser service.
6
+
7
+ ## See It in Action
8
+
9
+ **[pdfn.dev](https://pdfn.dev/#demo)** — Live demo with example templates.
10
+
11
+ Or run locally: `npx pdfn dev --open`
6
12
 
7
13
  ## Installation
8
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdfn",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Dev server and PDF generation for print-ready PDFs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,7 +26,10 @@
26
26
  "cli",
27
27
  "puppeteer",
28
28
  "print",
29
- "document"
29
+ "document",
30
+ "react",
31
+ "server",
32
+ "generation"
30
33
  ],
31
34
  "repository": {
32
35
  "type": "git",
@@ -34,6 +37,13 @@
34
37
  "directory": "packages/cli"
35
38
  },
36
39
  "homepage": "https://pdfn.dev",
40
+ "author": "gokulsiva (https://github.com/gokulsiva)",
41
+ "bugs": {
42
+ "url": "https://github.com/pdfnjs/pdfn/issues"
43
+ },
44
+ "engines": {
45
+ "node": ">=18.0.0"
46
+ },
37
47
  "dependencies": {
38
48
  "chalk": "^5.6.2",
39
49
  "chokidar": "^5.0.0",
@@ -45,8 +55,8 @@
45
55
  "puppeteer": "^24.33.0",
46
56
  "vite": "^7.3.0",
47
57
  "ws": "^8.18.3",
48
- "@pdfn/react": "0.1.0",
49
- "@pdfn/vite": "0.2.0"
58
+ "@pdfn/react": "0.1.1",
59
+ "@pdfn/vite": "0.3.0"
50
60
  },
51
61
  "devDependencies": {
52
62
  "@types/express": "^5.0.6",
@@ -56,8 +66,8 @@
56
66
  "tsup": "^8.5.1",
57
67
  "typescript": "^5.9.3",
58
68
  "vitest": "^4.0.16",
59
- "@pdfn/eslint-config": "0.0.0",
60
- "@pdfn/typescript-config": "0.0.0"
69
+ "@pdfn/typescript-config": "0.0.0",
70
+ "@pdfn/eslint-config": "0.0.0"
61
71
  },
62
72
  "scripts": {
63
73
  "build": "tsup",