mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-10-04 02:33:47 +10:00
The web preview, downloads, template gallery, server export and public PDF render through Forme. react-pdf, react-pdf-html, the react-pdf hyphenation package, the Phosphor react-pdf icons and the four patches are gone. Hyphenation now follows the page language for every language Forme has patterns for. Semantic CSS keeps its language; declarations Forme can't draw raise an ENGINE_UNSUPPORTED warning in the editor. The page map rebuilds blocks Forme leaves out of its layout when they break across pages, and a render that misplaces a box is repeated with nested rows kept whole. Tests move to a small shim with the react-pdf calls they were written against; tests of react-pdf internals are dropped. Forme limits are recorded as expected failures (RTL line order, characters above U+FFFF).
52 lines
1.8 KiB
JSON
52 lines
1.8 KiB
JSON
{
|
|
"name": "@reactive-resume/pdf",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"exports": {
|
|
"./browser": "./src/browser.tsx",
|
|
"./document": "./src/document.tsx",
|
|
"./page-map": "./src/page-map.ts",
|
|
"./semantic": "./src/semantic/index.ts",
|
|
"./semantic-legacy": "./src/semantic/legacy-converter.ts",
|
|
"./semantic-tree": "./src/semantic/tree.ts",
|
|
"./section-title": "./src/section-title.ts",
|
|
"./server": "./src/server.tsx",
|
|
"./primitives": "./src/forme/primitives.tsx"
|
|
},
|
|
"imports": {
|
|
"#react-pdf-renderer": "./src/forme/primitives.tsx"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsgo --noEmit",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"test:ci": "vitest run --coverage --reporter=default --reporter=github-actions --reporter=json --reporter=junit --outputFile.json=reports/vitest-results.json --outputFile.junit=reports/vitest-junit.xml --passWithNoTests",
|
|
"test:agent": "vitest run --reporter=agent --reporter=json --outputFile.json=reports/vitest-results.json --passWithNoTests"
|
|
},
|
|
"dependencies": {
|
|
"@formepdf/core": "0.25.0",
|
|
"@formepdf/react": "0.25.0",
|
|
"@reactive-resume/fonts": "workspace:*",
|
|
"@reactive-resume/resume": "workspace:*",
|
|
"@reactive-resume/schema": "workspace:*",
|
|
"@reactive-resume/utils": "workspace:*",
|
|
"cjk-regex": "^3.5.0",
|
|
"fast-png": "^8.0.0",
|
|
"fflate": "^0.8.3",
|
|
"node-html-parser": "^9.0.4",
|
|
"react": "^19.3.0",
|
|
"react-reconciler": "0.34.0"
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/canvas": "1.0.9",
|
|
"@reactive-resume/config": "workspace:*",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-reconciler": "^0.33.0",
|
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
"pdfjs-dist": "6.3.289",
|
|
"pixelmatch": "^7.2.0",
|
|
"typescript": "^7.0.2"
|
|
}
|
|
}
|