Update node version to 22.16
All checks were successful
ci / build-image (push) Successful in 2m52s

This commit is contained in:
Jonathan Cremin 2025-06-12 16:07:15 +01:00
parent b9351831bd
commit 58d41d492a
3 changed files with 271 additions and 1283 deletions

View file

@ -1,4 +1,4 @@
FROM node:16.13.1 FROM node:22.16
WORKDIR /app WORKDIR /app

View file

@ -5,14 +5,14 @@
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"engines": { "engines": {
"node": ">=11.0.0" "node": ">=22.0.0"
}, },
"scripts": { "scripts": {
"build": "yarn run build-js && yarn run build-sass", "build": "yarn run build-js && yarn run build-sass",
"build-js": "webpack --progress -p -c webpack.config.js", "build-js": "NODE_OPTIONS=--openssl-legacy-provider webpack --progress -p -c webpack.config.js",
"build-sass": "node-sass --include-path ./node_modules/ -r -o web/public/styles/ web/public/styles/", "build-sass": "sass --load-path=./node_modules/ web/public/styles/",
"heroku-postbuild": "yarn run build", "heroku-postbuild": "yarn run build",
"init": "babel-node -e \"require('./lib/storage').default();\"", "init": "node -e \"require('./lib/storage').default();\"",
"initdb": "node -r babel-register test/initdb.js", "initdb": "node -r babel-register test/initdb.js",
"lint": "eslint .", "lint": "eslint .",
"start": "node -r babel-register app.js", "start": "node -r babel-register app.js",
@ -21,7 +21,7 @@
"watch": "concurrently -k -n watch-js,watch-sass \"yarn run watch-js\" \"yarn run watch-sass\"", "watch": "concurrently -k -n watch-js,watch-sass \"yarn run watch-js\" \"yarn run watch-sass\"",
"watch-js": "webpack -w --mode=development --progress -c webpack.config.js", "watch-js": "webpack -w --mode=development --progress -c webpack.config.js",
"watch-server": "nodemon -r babel-register -i web/public", "watch-server": "nodemon -r babel-register -i web/public",
"watch-sass": "node-sass --include-path ./node_modules/ -w -r -o web/public/styles/ web/public/styles/" "watch-sass": "sass --load-path=./node_modules/ -w web/public/styles/"
}, },
"dependencies": { "dependencies": {
"@sendgrid/mail": "^7.1.1", "@sendgrid/mail": "^7.1.1",
@ -75,11 +75,12 @@
"moment": "^2.24.0", "moment": "^2.24.0",
"mz": "^2.7.0", "mz": "^2.7.0",
"node-fetch": "^2.3.0", "node-fetch": "^2.3.0",
"node-sass": "^7.0.0",
"node-uuid": "^1.4.8", "node-uuid": "^1.4.8",
"nodemon": "^3.1.10",
"passwords": "^1.3.1", "passwords": "^1.3.1",
"pg": "^8.0.3", "pg": "^8.0.3",
"redis": "^3.0.2", "redis": "^3.0.2",
"sass": "^1.89.2",
"sequelize": "^5.21.11", "sequelize": "^5.21.11",
"smooth-scroll": "https://github.com/cferdinandi/smooth-scroll#5.3.7", "smooth-scroll": "https://github.com/cferdinandi/smooth-scroll#5.3.7",
"statsy": "~0.2.0", "statsy": "~0.2.0",
@ -95,7 +96,6 @@
"eslint-config-airbnb": "^18.1.0", "eslint-config-airbnb": "^18.1.0",
"eslint-plugin-import": "^2.20.2", "eslint-plugin-import": "^2.20.2",
"mocha": "^8.0.0", "mocha": "^8.0.0",
"nodemon": "^2.0.2",
"supertest": "^4.0.2", "supertest": "^4.0.2",
"tmp": "0.2.1" "tmp": "0.2.1"
} }

1538
yarn.lock

File diff suppressed because it is too large Load diff