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`.
This commit is contained in:
Adolfo R. Brandes
2026-01-13 17:14:42 -03:00
committed by Adolfo R. Brandes
parent e53c4997bb
commit 45535ee055
2 changed files with 7 additions and 1 deletions

5
package-lock.json generated
View File

@@ -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",

View File

@@ -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"