pretext-pdf 1.0.2 → 1.0.3
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/CHANGELOG.md +29 -0
- package/README.md +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/fonts.js.map +1 -1
- package/dist/schema.d.ts +1337 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +631 -0
- package/dist/schema.js.map +1 -0
- package/dist/types-public.d.ts +2 -1
- package/dist/types-public.d.ts.map +1 -1
- package/dist/validate.d.ts +3 -2
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +13 -8
- package/dist/validate.js.map +1 -1
- package/package.json +7 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pretext-pdf",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Declarative JSON → PDF generation with professional typography. Built on pretext's precision text layout engine.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pdf",
|
|
@@ -65,13 +65,17 @@
|
|
|
65
65
|
"types": "./dist/plugin-types.d.ts",
|
|
66
66
|
"import": "./dist/plugin-types.js"
|
|
67
67
|
},
|
|
68
|
+
"./schema": {
|
|
69
|
+
"types": "./dist/schema.d.ts",
|
|
70
|
+
"import": "./dist/schema.js"
|
|
71
|
+
},
|
|
68
72
|
"./package.json": "./package.json"
|
|
69
73
|
},
|
|
70
74
|
"scripts": {
|
|
71
75
|
"build": "tsc",
|
|
72
76
|
"api:extract": "api-extractor run --local",
|
|
73
77
|
"api:check": "api-extractor run",
|
|
74
|
-
"test:unit": "tsx --test test/validate.test.ts test/builder.test.ts test/rich-text.test.ts test/layout-contract.test.ts test/hard-text-contract.test.ts test/validate-strict.test.ts",
|
|
78
|
+
"test:unit": "tsx --test test/validate.test.ts test/validate-document.test.ts test/builder.test.ts test/rich-text.test.ts test/layout-contract.test.ts test/hard-text-contract.test.ts test/validate-strict.test.ts",
|
|
75
79
|
"test:validate": "tsx --test test/validate.test.ts test/builder.test.ts",
|
|
76
80
|
"test:e2e": "tsx --test test/e2e.test.ts",
|
|
77
81
|
"test:phase-3": "tsx --test test/signatures-validation.test.ts",
|
|
@@ -133,7 +137,7 @@
|
|
|
133
137
|
"@signpdf/signpdf": "^3.3.0",
|
|
134
138
|
"bwip-js": "^4.0.0",
|
|
135
139
|
"highlight.js": "^11.0.0",
|
|
136
|
-
"marked": "
|
|
140
|
+
"marked": ">=9.0.0",
|
|
137
141
|
"qrcode": "^1.5.0",
|
|
138
142
|
"vega": "^5.0.0 || ^6.0.0",
|
|
139
143
|
"vega-lite": "^5.0.0 || ^6.0.0"
|