A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Chore: upgrade to node v24 (#11747)
shamoon07eb3c476161
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfileindex b0185a029..4aa9d56e7 100644--- a/.devcontainer/Dockerfile+++ b/.devcontainer/Dockerfile@@ -1,6 +1,6 @@# syntax=docker/dockerfile:1-FROM --platform=$BUILDPLATFORM docker.io/node:20-trixie-slim as main-app+FROM --platform=$BUILDPLATFORM docker.io/node:24-trixie-slim as main-appARG DEBIAN_FRONTEND=noninteractivediff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.ymlindex 06dabacf7..907d36abf 100644--- a/.github/workflows/ci-frontend.yml+++ b/.github/workflows/ci-frontend.yml@@ -27,10 +27,10 @@ jobs:uses: pnpm/action-setup@v4with:version: 10- - name: Use Node.js 20+ - name: Use Node.js 24uses: actions/setup-node@v6with:- node-version: 20.x+ node-version: 24.xcache: 'pnpm'cache-dependency-path: 'src-ui/pnpm-lock.yaml'- name: Cache frontend dependencies@@ -54,10 +54,10 @@ jobs:uses: pnpm/action-setup@v4with:version: 10- - name: Use Node.js 20+ - name: Use Node.js 24uses: actions/setup-node@v6with:- node-version: 20.x+ node-version: 24.xcache: 'pnpm'cache-dependency-path: 'src-ui/pnpm-lock.yaml'- name: Cache frontend dependencies@@ -78,7 +78,7 @@ jobs:strategy:fail-fast: falsematrix:- node-version: [20.x]+ node-version: [24.x]shard-index: [1, 2, 3, 4]shard-count: [4]steps:@@ -88,10 +88,10 @@ jobs:uses: pnpm/action-setup@v4with:version: 10- - name: Use Node.js 20+ - name: Use Node.js 24uses: actions/setup-node@v6with:- node-version: 20.x+ node-version: 24.xcache: 'pnpm'cache-dependency-path: 'src-ui/pnpm-lock.yaml'- name: Cache frontend dependencies@@ -128,7 +128,7 @@ jobs:strategy:fail-fast: falsematrix:- node-version: [20.x]+ node-version: [24.x]shard-index: [1, 2]shard-count: [2]steps:@@ -138,10 +138,10 @@ jobs:uses: pnpm/action-setup@v4with:version: 10- - name: Use Node.js 20+ - name: Use Node.js 24uses: actions/setup-node@v6with:- node-version: 20.x+ node-version: 24.xcache: 'pnpm'cache-dependency-path: 'src-ui/pnpm-lock.yaml'- name: Cache frontend dependencies@@ -168,10 +168,10 @@ jobs:uses: pnpm/action-setup@v4with:version: 10- - name: Use Node.js 20+ - name: Use Node.js 24uses: actions/setup-node@v6with:- node-version: 20.x+ node-version: 24.xcache: 'pnpm'cache-dependency-path: 'src-ui/pnpm-lock.yaml'- name: Cache frontend dependenciesdiff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.ymlindex 3f1a58e02..ff05949ad 100644--- a/.github/workflows/ci-release.yml+++ b/.github/workflows/ci-release.yml@@ -34,10 +34,10 @@ jobs:uses: pnpm/action-setup@v4with:version: 10- - name: Use Node.js 20+ - name: Use Node.js 24uses: actions/setup-node@v6with:- node-version: 20.x+ node-version: 24.xcache: 'pnpm'cache-dependency-path: 'src-ui/pnpm-lock.yaml'- name: Install frontend dependenciesdiff --git a/.github/workflows/translate-strings.yml b/.github/workflows/translate-strings.ymlindex c2a2fdf1c..4cf4d2b5b 100644--- a/.github/workflows/translate-strings.yml+++ b/.github/workflows/translate-strings.yml@@ -39,10 +39,10 @@ jobs:uses: pnpm/action-setup@v4with:version: 10- - name: Use Node.js 20+ - name: Use Node.js 24uses: actions/setup-node@v6with:- node-version: 20.x+ node-version: 24.xcache: 'pnpm'cache-dependency-path: 'src-ui/pnpm-lock.yaml'- name: Cache frontend dependenciesdiff --git a/Dockerfile b/Dockerfileindex f43f5fa69..5262ea124 100644--- a/Dockerfile+++ b/Dockerfile@@ -5,7 +5,7 @@# Purpose: Compiles the frontend# Notes:# - Does PNPM stuff with Typescript and such-FROM --platform=$BUILDPLATFORM docker.io/node:20-trixie-slim AS compile-frontend+FROM --platform=$BUILDPLATFORM docker.io/node:24-trixie-slim AS compile-frontendCOPY ./src-ui /src/src-uidiff --git a/docs/development.md b/docs/development.mdindex 71ca4d930..de328e1f8 100644--- a/docs/development.md+++ b/docs/development.md@@ -175,7 +175,7 @@ To add a new development package `uv add --dev <package>`## Front end development-The front end is built using AngularJS. In order to get started, you need Node.js (version 14.15+) and+The front end is built using AngularJS. In order to get started, you need Node.js (version 24+) and`pnpm`.!!! note