Complete TASK-016 dark theme and persistent testtask candidate

This commit is contained in:
rob
2026-11-11 13:17:24 +00:00
parent 922d1f6bd7
commit 0cf051560b
17 changed files with 618 additions and 102 deletions
+6 -3
View File
@@ -2,10 +2,12 @@
set -Eeuo pipefail
case "${1:-}" in
validate)
command -v node >/dev/null
node -e 'const [a,b]=process.versions.node.split(".").map(Number); if(a<20 || (a===20 && b<19)) process.exit(1)'
source "$ROBORTO_PROJECT_ROOT/scripts/testtask-node.sh"
command -v python3 >/dev/null
[[ -f "$ROBORTO_PROJECT_ROOT/node_modules/vite/bin/vite.js" ]]
[[ -f "$ROBORTO_PROJECT_ROOT/node_modules/vite/bin/vite.js" ]] || {
echo "testtask: missing local dependencies; run npm ci in $ROBORTO_PROJECT_ROOT" >&2
exit 1
}
;;
prepare)
python3 "$ROBORTO_PROJECT_ROOT/scripts/testtask_snapshot.py"
@@ -15,6 +17,7 @@ case "${1:-}" in
exec tail -f /dev/null
;;
start-frontend)
source "$ROBORTO_PROJECT_ROOT/scripts/testtask-node.sh"
cd "$ROBORTO_WORKTREE"
exec node node_modules/vite/bin/vite.js --host 127.0.0.1 --port 5187 --strictPort
;;