Moving it out of the build left it with no way in. Settings can only install from the community catalogue, so a first-party extension that isn't bundled has a working update channel and no first copy for anyone to update — the mechanism was all there and the front door was missing. So it goes back beside screenshot, aegis and pdf-editor: seeded into every profile by the build, listed under "Built into Theseus", and kept current between releases by the operator-signed channel at theseus.x/extensions/docx-editor/. That is the arrangement docs/ADDON-UPDATES.md describes, and the one the signing script was written for. About 400 KB compressed in the installer, most of it the vendored editor libraries — next to the ~4 MB of pdf.js that pdf-editor already ships, the weight argument for keeping it out didn't survive contact with the numbers. The end-to-end driver goes back to checking that a fresh profile seeds it, which is the property that actually matters now.
30 lines
932 B
JSON
30 lines
932 B
JSON
{
|
|
"name": "docx-editor-vendor-build",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"description": "Build-time only: bundles mammoth + ProseMirror + docx into bundled-addons/docx-editor/vendor/, and rasterises the icon.",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "node build.mjs",
|
|
"icons": "node make-icons.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"docx": "^9.5.1",
|
|
"esbuild": "^0.28.2",
|
|
"jsdom": "^29.1.1",
|
|
"jszip": "^3.10.1",
|
|
"mammoth": "^1.12.3",
|
|
"prosemirror-commands": "^1.7.1",
|
|
"prosemirror-dropcursor": "^1.8.2",
|
|
"prosemirror-gapcursor": "^1.3.2",
|
|
"prosemirror-history": "^1.4.1",
|
|
"prosemirror-inputrules": "^1.5.0",
|
|
"prosemirror-keymap": "^1.2.3",
|
|
"prosemirror-model": "^1.25.0",
|
|
"prosemirror-schema-basic": "^1.2.4",
|
|
"prosemirror-schema-list": "^1.5.1",
|
|
"prosemirror-state": "^1.4.3",
|
|
"prosemirror-tables": "^1.7.1",
|
|
"prosemirror-view": "^1.40.0"
|
|
}
|
|
}
|