4 Commits
Author SHA1 Message Date
adminandClaude Opus 5.5 2ed0ea63e6 CI: build on Gitea instead of deploying to GitHub Pages
CI / build (push) Successful in 2m54s
The Pages workflow can never run again (the GitHub account is suspended).
CI now checks that the app and the embeddable bundle build from a clean
install on Node 22; once main is green, the kaskada repo bumps Galena's
ReaderJS pin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:39:24 +01:00
adminandClaude Opus 4.8 982a85151f refactor: unify on npm dependencies, drop all git submodules
One library-fetching method: everything is an npm dependency, no git
submodules. 'npm install' alone yields a working build.

- foliate-js (e-books) and dejaview (DjVu) aren't published to npm, so they
  are pinned to a commit as git dependencies in package.json (were submodules).
  Imports updated: epub-renderer -> 'foliate-js/view.js'; djvu-renderer worker
  -> node_modules/dejaview.
- vite: optimizeDeps.exclude foliate-js — its stubbed/unused pdf.js uses
  top-level await, which fails esbuild's es2020 prebundle; served as source it
  goes through the existing stubFoliatePdf plugin.
- Removed the 5 reference-only submodules (pdf.js, docx, WebODF, rtf.js,
  marked) — never imported; the runtime uses the npm packages.
- Dropped .gitmodules, submodules/, the monthly update-submodules workflow, the
  deploy checkout's 'submodules: recursive', and the submodules:init script.
  JSDoc's docToText.js stays (already committed under public/jsdoc).
- README: removed the Submodules table; clone no longer needs --recurse-submodules.

Verified: npm ci (fresh-clone sim) + build green; DjVu renders via the
node_modules dejaview worker (dev + build); app boots with foliate loaded.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 16:36:50 +02:00
admin 948c6c0c79 refactor: rename PreviewJS to ReaderJS across all files and repo 2026-06-24 18:44:20 +02:00
adminandClaude Sonnet 4.6 013ebe15e9 feat: add DOC/RTF renderers, GitHub Pages CI/CD, README and MIT license
- Replace mammoth.js .doc handler with JSDoc (Alpaq92/JSDoc submodule)
- Fix RTF.js rendering via jQuery append instead of appendChild
- Use import.meta.env.BASE_URL for asset paths to support /PreviewJS/ base
- Add GitHub Actions: deploy.yml (push-triggered Pages deploy) and
  update-submodules.yml (monthly cron with release creation)
- Add .gitignore, README.md with Credits, MIT LICENSE

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-20 18:27:23 +02:00