From db954c0f262e0af76785b748ab029cac0106c54b Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Wed, 8 Jul 2026 19:49:11 -0700 Subject: [PATCH] Bump some deps --- .github/workflows/all-quality.yml | 2 +- Dockerfile | 4 ++-- scripts/quality/docker_ci.sh | 4 ++-- scripts/setup/install_service.sh | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/all-quality.yml b/.github/workflows/all-quality.yml index c98cebe..2bb4ff8 100644 --- a/.github/workflows/all-quality.yml +++ b/.github/workflows/all-quality.yml @@ -52,7 +52,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: "22" + node-version: "24" cache: npm cache-dependency-path: frontend/package-lock.json diff --git a/Dockerfile b/Dockerfile index 4fee0b2..47d6127 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build frontend -FROM node:20-slim AS frontend-builder +FROM node:24-slim AS frontend-builder ARG COMMIT_HASH=unknown @@ -13,7 +13,7 @@ RUN VITE_COMMIT_HASH=${COMMIT_HASH} npm run build # Stage 2: Python runtime -FROM python:3.13-slim +FROM python:3.14-slim ARG COMMIT_HASH=unknown diff --git a/scripts/quality/docker_ci.sh b/scripts/quality/docker_ci.sh index 877ff3e..ef4054a 100755 --- a/scripts/quality/docker_ci.sh +++ b/scripts/quality/docker_ci.sh @@ -9,13 +9,13 @@ NC='\033[0m' REPO_ROOT="$(cd "$(dirname "$0")/../.." && pwd)" +# vite 8 requires Node >= 20.19 (older Node lacks the global CustomEvent its CLI +# uses), so Node 18 is intentionally no longer exercised. NODE_VERSIONS=("20" "22" "24") # Use explicit npm patch versions so resolver regressions are caught. NPM_VERSIONS=("9.1.1" "9.9.4" "10.9.5" "11.6.2") EXTRA_CASES=( - "18|9.1.1" "20|8.19.4" - "18|8.19.4" "24|11.12.0" "25|11.6.2" "25|11.12.0" diff --git a/scripts/setup/install_service.sh b/scripts/setup/install_service.sh index 009a258..75bb37b 100755 --- a/scripts/setup/install_service.sh +++ b/scripts/setup/install_service.sh @@ -230,12 +230,12 @@ echo if [ "$FRONTEND_MODE" = "build" ]; then if ! command -v node &>/dev/null; then echo -e "${RED}Error: node is required for a local frontend build but was not found.${NC}" - echo -e "${YELLOW}Tip:${NC} Re-run the installer and choose the prebuilt frontend option, or install Node.js 18+ and npm 9+." + echo -e "${YELLOW}Tip:${NC} Re-run the installer and choose the prebuilt frontend option, or install Node.js 20+ and npm 9+." exit 1 fi if ! command -v npm &>/dev/null; then echo -e "${RED}Error: npm is required for a local frontend build but was not found.${NC}" - echo -e "${YELLOW}Tip:${NC} Re-run the installer and choose the prebuilt frontend option, or install Node.js 18+ and npm 9+." + echo -e "${YELLOW}Tip:${NC} Re-run the installer and choose the prebuilt frontend option, or install Node.js 20+ and npm 9+." exit 1 fi