Upgrade to Node 20

pull/11226/head
LB Johnston 2023-10-27 16:45:09 +10:00 zatwierdzone przez LB (Ben Johnston)
rodzic 9349e2ad9f
commit 570b9a410c
7 zmienionych plików z 7 dodań i 5 usunięć

Wyświetl plik

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

2
.nvmrc
Wyświetl plik

@ -1 +1 @@
18
20

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

@ -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 wygenerowano
Wyświetl plik

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

Wyświetl plik

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