- Update sync-presentation-export script to read version from package.json instead of export-version.json. - Change entrypoint from index.js to index.cjs for CommonJS compatibility. - Implement logic to ensure CommonJS entrypoint is created if missing. - Modify ExportTaskService to resolve entrypoint path dynamically. - Remove inline Puppeteer PDF export logic in favor of bundled export package. - Add runtime availability checks and sync script execution in start.js. - Introduce helper functions for output path normalization and entrypoint resolution.
15 lines
493 B
JSON
15 lines
493 B
JSON
{
|
|
"name": "presenton",
|
|
"version": "1.0.0",
|
|
"presentationExportVersion": "v0.2.0",
|
|
"type": "module",
|
|
"description": "Open-source AI presentation generator",
|
|
"scripts": {
|
|
"sync:presentation-export": "node scripts/sync-presentation-export.cjs",
|
|
"sync:presentation-export:force": "node scripts/sync-presentation-export.cjs --force",
|
|
"check:presentation-export": "node scripts/sync-presentation-export.cjs --check-only"
|
|
},
|
|
"dependencies": {
|
|
"sharp": "^0.34.5"
|
|
}
|
|
}
|