pdfn 0.4.0 → 0.4.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.
- package/README.md +0 -2
- package/dist/cli.js +1499 -28
- package/dist/cli.js.map +1 -1
- package/package.json +7 -6
- package/templates/inline/report.tsx +388 -0
- package/templates/tailwind/report.tsx +279 -0
package/README.md
CHANGED
|
@@ -69,14 +69,12 @@ npx pdfn add contract # Add contract template
|
|
|
69
69
|
npx pdfn add ticket # Add event ticket
|
|
70
70
|
npx pdfn add poster # Add poster template
|
|
71
71
|
npx pdfn add --list # Show all templates
|
|
72
|
-
npx pdfn add invoice --output ./src/templates
|
|
73
72
|
```
|
|
74
73
|
|
|
75
74
|
| Option | Default | Description |
|
|
76
75
|
|--------|---------|-------------|
|
|
77
76
|
| `--inline` | ✓ | Use inline styles (default, no extra dependencies) |
|
|
78
77
|
| `--tailwind` | | Use Tailwind CSS classes (requires `@pdfn/tailwind`) |
|
|
79
|
-
| `--output` | `./pdfn-templates` | Output directory |
|
|
80
78
|
| `--force` | | Overwrite existing files |
|
|
81
79
|
|
|
82
80
|
| Template | Description | Page Size |
|