0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-21 18:09:02 +01:00

Upgrade to Node 20

This commit is contained in:
LB Johnston 2023-10-27 16:45:09 +10:00 committed by LB (Ben Johnston)
parent 9349e2ad9f
commit 570b9a410c
7 changed files with 7 additions and 5 deletions

View File

@ -33,7 +33,7 @@ jobs:
frontend:
docker:
- image: cimg/node:18.12
- image: cimg/node:20.9
steps:
- checkout
- restore_cache:

2
.nvmrc
View File

@ -1 +1 @@
18
20

View File

@ -3,7 +3,7 @@ deployments:
dockerimage: python:3.11.4-slim-bullseye
build_steps:
- apt-get update && apt-get install -y libssl-dev libpq-dev git build-essential libfontconfig1 libfontconfig1-dev curl
- RUN bash -c "curl -sL https://deb.nodesource.com/setup_18.x | bash -"
- RUN bash -c "curl -sL https://deb.nodesource.com/setup_20.x | bash -"
- apt install -y nodejs
- pip install setuptools pip --upgrade --force-reinstall
- cd /code

View File

@ -32,6 +32,7 @@ Changelog
* Maintenance: Remove icon font support (Matt Westcott)
* Maintenance: Remove deprecated SVG icons (Matt Westcott)
* Maintenance: Migrate account editing view to a class-based view (Kehinde Bobade)
* Maintenance: Upgrade frontend tooling to use Node 20 (LB (Ben) Johnston)
5.2.1 (xx.xx.xxxx) - IN DEVELOPMENT

View File

@ -51,6 +51,7 @@ depth: 1
* Remove icon font support (Matt Westcott)
* Remove deprecated SVG icons (Matt Westcott)
* Migrate account editing view to a class-based view (Kehinde Bobade)
* Upgrade frontend tooling to use Node 20 (LB (Ben) Johnston)
## Upgrade considerations - changes affecting all projects

2
package-lock.json generated
View File

@ -82,7 +82,7 @@
"webpack-cli": "^4.9.1"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
},
"node_modules/@aashutoshrathi/word-wrap": {

View File

@ -4,7 +4,7 @@
"repository": "https://github.com/wagtail/wagtail",
"private": true,
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
},
"browserslist": [
"Firefox ESR",