No description
  • TypeScript 54%
  • Shell 25.1%
  • CSS 15.1%
  • Dockerfile 3.4%
  • HTML 2.4%
Find a file
Johann Queuniet 8ee26eac91
All checks were successful
Deploy / build (push) Successful in 8s
Deploy / publish-image (push) Successful in 22s
Deploy / release (push) Has been skipped
ci: publish Forgejo release from changelog on version tags
2026-10-24 09:14:55 +02:00
.forgejo/workflows ci: publish Forgejo release from changelog on version tags 2026-10-24 09:14:55 +02:00
public chore: initial scaffholding 2026-09-05 13:52:33 +02:00
scripts ci: publish Forgejo release from changelog on version tags 2026-10-24 09:14:55 +02:00
src fix: correct HP range, champion name decoding, and download URL revoke timing 2026-09-17 20:31:52 +02:00
.gitignore chore: ignore local scratch directory 2026-09-17 20:09:22 +02:00
CHANGELOG.md release: v0.1.0 2026-10-24 08:29:04 +02:00
Containerfile feat: add container image definition for the built site 2026-09-20 09:49:12 +02:00
index.html chore: initial scaffholding 2026-09-05 13:52:33 +02:00
nginx.conf feat: add container image definition for the built site 2026-09-20 09:49:12 +02:00
package-lock.json release: v0.1.0 2026-10-24 08:29:04 +02:00
package.json release: v0.1.0 2026-10-24 08:29:04 +02:00
README.md ci: publish Forgejo release from changelog on version tags 2026-10-24 09:14:55 +02:00
tsconfig.json chore: initial scaffholding 2026-09-05 13:52:33 +02:00
vite.config.ts chore: adjust scaffholding to solve build errors 2026-09-06 13:17:09 +02:00

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

https://editor.dm.lordran.net

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:

  • main and sha-<short> (immutable), on every main push
  • latest, <version> and sha-<short>, on vX.Y.Z tags

To redeploy:

podman run -d -p 8080:80 git.lordran.net/jqueuniet/dm2-web-editor:main

Releasing

  1. In one commit, move CHANGELOG.md's [Unreleased] entries under ## [X.Y.Z] - <date> and run npm version X.Y.Z --no-git-tag-version.
  2. Once merged, tag main with git tag -s vX.Y.Z -m vX.Y.Z and 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.