No description
- TypeScript 54%
- Shell 25.1%
- CSS 15.1%
- Dockerfile 3.4%
- HTML 2.4%
| .forgejo/workflows | ||
| public | ||
| scripts | ||
| src | ||
| .gitignore | ||
| CHANGELOG.md | ||
| Containerfile | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
dm2-web-editor
Browser editor for Dungeon Master II save files, built on the
dm2-tools npm package
(WASM). Files are parsed and edited entirely client-side.
Reference deployment
Development
npm ci
npm run dev # local dev server
npm run build # static site in dist/
Deployment
CI publishes a container image (nginx serving dist/, linux/arm64 only)
to the Forgejo registry at git.lordran.net/jqueuniet/dm2-web-editor.
Tags:
mainandsha-<short>(immutable), on everymainpushlatest,<version>andsha-<short>, onvX.Y.Ztags
To redeploy:
podman run -d -p 8080:80 git.lordran.net/jqueuniet/dm2-web-editor:main
Releasing
- In one commit, move
CHANGELOG.md's[Unreleased]entries under## [X.Y.Z] - <date>and runnpm version X.Y.Z --no-git-tag-version. - Once merged, tag
mainwithgit tag -s vX.Y.Z -m vX.Y.Zand push the tag.
CI rejects a tag that differs from package.json's version, then publishes
the images and a Forgejo release using that changelog section as notes.