chore: update node version to 18.19.1 (#5060)

This commit is contained in:
Christian Fehmer 2024-02-15 21:23:29 +01:00 committed by GitHub
parent 46b336f538
commit 6cf2e4f5f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 26 additions and 23 deletions

View file

@ -1,7 +1,7 @@
name: Monkey CI
env:
NODE_VERSION: "18.17.1"
NODE_VERSION: "18.19.1"
permissions:
contents: read

View file

@ -23,7 +23,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18.17.1"
node-version: "18.19.1"
- name: Install dependencies
run: npm i prettier@2.5.1 --save-dev --save-exact

2
.nvmrc
View file

@ -1 +1 @@
18.17.1
18.19.1

View file

@ -14,7 +14,7 @@
## Prerequisites
This contribution guide is for cases in which you need to test the functionality of your changes, or if you need to take screenshots of your changes. You will need a computer with a stable internet connection, a text editor, Git, and NodeJS with version 18.17.1. There are some additional requirements depending on what you're looking to contribute, such as Firebase for authentication, and Mongo and Docker for the backend. Read the below sections to understand how to set up each of these tools.
This contribution guide is for cases in which you need to test the functionality of your changes, or if you need to take screenshots of your changes. You will need a computer with a stable internet connection, a text editor, Git, and NodeJS with version 18.19.1. There are some additional requirements depending on what you're looking to contribute, such as Firebase for authentication, and Mongo and Docker for the backend. Read the below sections to understand how to set up each of these tools.
### Git
@ -24,9 +24,9 @@ Git is optional but we recommend you utilize it. Monkeytype uses the Git source
### NodeJS and NPM
Currently, the project is using version `18.17.1 LTS`.
Currently, the project is using version `18.19.1 LTS`.
If you use `nvm` (if you use Windows, use [nvm-windows](https://github.com/coreybutler/nvm-windows)) then you can run `nvm install` and `nvm use` (you might need to specify the exact version eg: `nvm install 18.17.1` then `nvm use 18.17.1`) to use the version of Node.js in the `.nvmrc` file.
If you use `nvm` (if you use Windows, use [nvm-windows](https://github.com/coreybutler/nvm-windows)) then you can run `nvm install` and `nvm use` (you might need to specify the exact version eg: `nvm install 18.19.1` then `nvm use 18.19.1`) to use the version of Node.js in the `.nvmrc` file.
Alternatively, you can navigate to the NodeJS [website](https://nodejs.org/en/) to download it from there.

View file

@ -51,7 +51,7 @@
"@types/jest": "27.5.0",
"@types/lodash": "4.14.178",
"@types/mustache": "4.2.2",
"@types/node": "18.17.1",
"@types/node": "18.19.1",
"@types/node-fetch": "2.6.1",
"@types/nodemailer": "6.4.7",
"@types/object-hash": "2.2.1",
@ -70,8 +70,8 @@
"typescript": "5.3.3"
},
"engines": {
"node": "18.17.1",
"npm": "9.6.7"
"node": "18.19.1",
"npm": "10.2.4"
}
},
"node_modules/@ampproject/remapping": {
@ -3341,9 +3341,12 @@
"dev": true
},
"node_modules/@types/node": {
"version": "18.17.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.1.tgz",
"integrity": "sha512-xlR1jahfizdplZYRU59JlUx9uzF1ARa8jbhM11ccpCJya8kvos5jwdm2ZAgxSCwOl0fq21svP18EVwPBXMQudw=="
"version": "18.19.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.1.tgz",
"integrity": "sha512-mZJ9V11gG5Vp0Ox2oERpeFDl+JvCwK24PGy76vVY/UgBtjwJWc5rYBThFxmbnYOm9UPZNm6wEl/sxHt2SU7x9A==",
"dependencies": {
"undici-types": "~5.26.4"
}
},
"node_modules/@types/node-fetch": {
"version": "2.6.1",

View file

@ -13,8 +13,8 @@
"knip": "knip"
},
"engines": {
"node": "18.17.1",
"npm": "9.6.7"
"node": "18.19.1",
"npm": "10.2.4"
},
"dependencies": {
"bcrypt": "5.0.1",
@ -59,7 +59,7 @@
"@types/jest": "27.5.0",
"@types/lodash": "4.14.178",
"@types/mustache": "4.2.2",
"@types/node": "18.17.1",
"@types/node": "18.19.1",
"@types/node-fetch": "2.6.1",
"@types/nodemailer": "6.4.7",
"@types/object-hash": "2.2.1",

View file

@ -90,8 +90,8 @@
"workbox-webpack-plugin": "6.5.4"
},
"engines": {
"node": "18.17.1",
"npm": "9.6.7"
"node": "18.19.1",
"npm": "10.2.4"
}
},
"node_modules/@ampproject/remapping": {

View file

@ -16,8 +16,8 @@
"knip": "knip"
},
"engines": {
"node": "18.17.1",
"npm": "9.6.7"
"node": "18.19.1",
"npm": "10.2.4"
},
"browserslist": [
"defaults"

4
package-lock.json generated
View file

@ -31,8 +31,8 @@
"typescript": "5.3.3"
},
"engines": {
"node": "18.17.1",
"npm": "9.6.7"
"node": "18.19.1",
"npm": "10.2.4"
}
},
"node_modules/@babel/code-frame": {

View file

@ -36,8 +36,8 @@
"pr-check-build-be": "cd backend && npm run build"
},
"engines": {
"node": "18.17.1",
"npm": "9.6.7"
"node": "18.19.1",
"npm": "10.2.4"
},
"devDependencies": {
"@commitlint/cli": "17.7.1",