4 Commits

Author SHA1 Message Date
aeb5fa4fb7 version bump
All checks were successful
Build / test (push) Successful in 9m33s
Build / release (push) Successful in 1s
Build / build (push) Successful in 18s
2026-03-28 01:44:29 -04:00
9576b847bd adds version to web ui
Some checks failed
Build / build (push) Has been cancelled
Build / release (push) Has been cancelled
Build / test (push) Has been cancelled
2026-03-28 01:44:09 -04:00
7b22b2abf2 adds docker-compose.yml
Some checks failed
Build / build (push) Has been cancelled
Build / release (push) Has been cancelled
Build / test (push) Has been cancelled
2026-03-28 01:40:18 -04:00
7f726c7d73 only push release on tag
All checks were successful
Build / test (push) Successful in 9m28s
Build / build (push) Has been skipped
Build / release (push) Has been skipped
2026-03-28 01:11:54 -04:00
6 changed files with 17 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test needs: test
if: startsWith(gitea.ref, 'refs/tags/v')
steps: steps:
- name: Checkout - name: Checkout

View File

@@ -70,6 +70,8 @@ nav {
.nav-sep { flex: 1; } .nav-sep { flex: 1; }
.nav-divider { color: var(--border2); }
.nav-status { .nav-status {
font-size: 11px; font-size: 11px;
color: var(--text3); color: var(--text3);

6
docker-compose.yml Normal file
View File

@@ -0,0 +1,6 @@
services:
catalyst:
image: ${REGISTRY:-gitea.thewrightserver.net/josh}/catalyst:${TAG:-latest}
restart: unless-stopped
ports:
- "${PORT:-3000}:80"

View File

@@ -18,6 +18,8 @@
<div class="nav-status"> <div class="nav-status">
<div class="pulse"></div> <div class="pulse"></div>
<span id="nav-count">— instances</span> <span id="nav-count">— instances</span>
<span class="nav-divider">·</span>
<span id="nav-version"></span>
</div> </div>
</nav> </nav>

View File

@@ -37,6 +37,11 @@ window.addEventListener('popstate', e => {
// ── Bootstrap ───────────────────────────────────────────────────────────────── // ── Bootstrap ─────────────────────────────────────────────────────────────────
fetch('/package.json')
.then(r => r.json())
.then(pkg => { document.getElementById('nav-version').textContent = `v${pkg.version}`; })
.catch(() => {});
initDB().then(() => { initDB().then(() => {
renderDashboard(); renderDashboard();
handleRoute(); handleRoute();

View File

@@ -1,6 +1,6 @@
{ {
"name": "catalyst", "name": "catalyst",
"version": "1.0.0", "version": "1.0.2",
"type": "module", "type": "module",
"scripts": { "scripts": {
"test": "vitest run", "test": "vitest run",