Overview

In the following article, I introduced creating the Mirador 4(3) version of mirador-sync-windows.

This time, I published the repository for this plugin, so this is a personal note.

Repository

It is available at the following link.

https://github.com/nakamura196/mirador-sync-windows

Demo Page

You can try it at the following link.

https://nakamura196.github.io/mirador-sync-windows/

The settings configured for publishing on GitHub Pages are as follows.

webpack

The following file was partially modified.

https://github.com/nakamura196/mirador-sync-windows/blob/main/webpack.config.js

Specifically, for publicPath, I set it to a relative path in the case of development. This addressed the issue caused by basePath.

ret}u;ro}d}dmep]nu,e,eonl,.tfppvhps]vdtunn{cpiauSoot,tergeeoultbetrao:yiwwntehplr:tto:n(f:n:uiv:i/l'scHRiabcetcd:d[:oteg{mplPrr4:ee'nma,eaia:u4m'v.[flc:tcte4[oee/iWthPh{,4/vldgeR'.a:,daoe.bedjtilpmppfeohos-molarmi:ptse/uceont/onsgks.(i'utriPhj_o,r'cnlWs_nc,/sue'dseigb,i.-niprmmdnanoae(cadpx[{kme'.]Pe,j)tl,=s,eu='mg'=]pid,lne"a(mdt)oee,/v:deilpsoatpt'mh)e.,njto"in?(__dirn:ame,','demo/src/index.html')}),

GitHub Actions

For using GitHub Pages with GitHub Actions, I prepared the following yml file.

The tests were not working properly, so that part is commented out, but I would like to fix it in the future.

https://github.com/nakamura196/mirador-sync-windows/blob/main/.github/workflows/node.js.yml

Summary

There are still many incomplete parts, but I hope this serves as a useful reference.