fix: add missing Makefile targets and test timeout
All checks were successful
Check / check (pull_request) Successful in 4s

- Add docker target (runs docker build .)
- Add hooks target (installs pre-commit hook running make check)
- Add 30-second timeout to test target (-timeout 30s)
- Update README to document all Makefile targets
- Run make fmt to fix JS formatting (prettier)
This commit is contained in:
clawbot
2026-03-06 03:38:42 -08:00
parent 1cd433b069
commit 16f2fa50a5
7 changed files with 558 additions and 504 deletions

View File

@@ -5,17 +5,18 @@
*/
document.addEventListener("alpine:init", () => {
Alpine.data("dashboard", () => ({
init() {
// Update relative times every minute
setInterval(() => {
this.$el.querySelectorAll("[data-time]").forEach((el) => {
const time = el.getAttribute("data-time");
if (time) {
el.textContent = Alpine.store("utils").formatRelativeTime(time);
}
});
}, 60000);
},
}));
Alpine.data("dashboard", () => ({
init() {
// Update relative times every minute
setInterval(() => {
this.$el.querySelectorAll("[data-time]").forEach((el) => {
const time = el.getAttribute("data-time");
if (time) {
el.textContent =
Alpine.store("utils").formatRelativeTime(time);
}
});
}, 60000);
},
}));
});