From 45535ee0550bae1872a9725f81401d4597b7a2d3 Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Tue, 13 Jan 2026 17:14:42 -0300 Subject: [PATCH] build: Add minimum node version warning An issue was found when using Node version 24.9 with the latest package-lock (see #123), one not reproducible with versions 24.12 and above. Add a warning that will be shown when running `npm ci`. --- package-lock.json | 5 ++++- package.json | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 55c7ceab..869a77d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,8 +41,11 @@ "react-test-renderer": "^18.3.1", "ts-jest": "^29.4.0" }, + "engines": { + "node": "^24.12" + }, "peerDependencies": { - "@openedx/frontend-base": "^1.0.0-alpha.7", + "@openedx/frontend-base": "^1.0.0-alpha.8", "@openedx/paragon": "^23", "react": "^18", "react-dom": "^18", diff --git a/package.json b/package.json index c770f4e0..29a2ce42 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "@openedx/frontend-app-authn", "version": "1.0.0-alpha.4", "description": "Frontend authentication", + "engines": { + "node": "^24.12" + }, "repository": { "type": "git", "url": "git+https://github.com/openedx/frontend-app-authn.git"