chore: bump node version

This commit is contained in:
Miodec 2025-10-31 14:15:12 +01:00
parent 586a19ad3e
commit c0191da004
12 changed files with 15 additions and 15 deletions

View file

@ -2,7 +2,7 @@ name: Monkey CI
env:
PNPM_VERSION: "9.6.0"
NODE_VERSION: "24.10.0"
NODE_VERSION: "24.11.0"
RECAPTCHA_SITE_KEY: "6Lc-V8McAAAAAJ7s6LGNe7MBZnRiwbsbiWts87aj"
permissions:

View file

@ -2,7 +2,7 @@ name: Prettier Check
env:
PNPM_VERSION: "9.6.0"
NODE_VERSION: "24.10.0"
NODE_VERSION: "24.11.0"
on:
pull_request:

View file

@ -2,7 +2,7 @@ name: Prettier Fix
env:
PNPM_VERSION: "9.6.0"
NODE_VERSION: "24.10.0"
NODE_VERSION: "24.11.0"
permissions:
contents: write

2
.nvmrc
View file

@ -1 +1 @@
24.10.0
24.11.0

View file

@ -23,7 +23,7 @@ services:
container_name: monkeytype-api-server
build:
dockerfile_inline: |
FROM node:24.10.0
FROM node:24.11.0
RUN npm i -g pnpm@9.6.0
RUN mkdir /pnpm-store && chown -R 1000:1000 /pnpm-store
user: "node" ##this works as long as your local user has uid=1000

View file

@ -21,7 +21,7 @@
"gen-docs": "tsx scripts/openapi.ts dist/static/api/openapi.json && redocly build-docs -o dist/static/api/internal.html internal@v2 && redocly bundle -o dist/static/api/public.json public-filter && redocly build-docs -o dist/static/api/public.html public@v2"
},
"engines": {
"node": "24.10.0"
"node": "24.11.0"
},
"dependencies": {
"@date-fns/utc": "1.2.0",

View file

@ -1,4 +1,4 @@
FROM node:24.10.0-alpine3.22 AS builder
FROM node:24.11.0-alpine3.22 AS builder
WORKDIR /app
@ -18,7 +18,7 @@ RUN pnpm deploy --filter backend --prod /prod/backend
#---------------------------------
## target image
FROM node:24.10.0-alpine3.22
FROM node:24.11.0-alpine3.22
## get server_version from build-arg, default to UNKNOWN
ARG server_version=UNKNOWN

View file

@ -1,4 +1,4 @@
FROM node:24.10.0-alpine3.22 AS builder
FROM node:24.11.0-alpine3.22 AS builder
WORKDIR /app
#ENV

View file

@ -21,7 +21,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 24.10.0. 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 24.11.0. 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
@ -33,9 +33,9 @@ Git is optional but we recommend you utilize it. Monkeytype uses the Git source
### NodeJS and PNPM
Currently, the project is using version `24.10.0 LTS`.
Currently, the project is using version `24.11.0 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 24.10.0` then `nvm use 24.10.0`) 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 24.11.0` then `nvm use 24.11.0`) 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

@ -4,7 +4,7 @@ services:
container_name: monkeytype-frontend
build:
dockerfile_inline: |
FROM node:24.10.0
FROM node:24.11.0
RUN npm i -g pnpm@9.6.0
RUN mkdir /pnpm-store && chown -R 1000:1000 /pnpm-store
user: "node" ##this works as long as your local user has uid=1000

View file

@ -24,7 +24,7 @@
"docker": "docker compose -f docker/compose.dev.yml up"
},
"engines": {
"node": "24.10.0"
"node": "24.11.0"
},
"browserslist": [
"defaults",

View file

@ -61,7 +61,7 @@
"knip": "knip"
},
"engines": {
"node": "24.10.0"
"node": "24.11.0"
},
"devDependencies": {
"@commitlint/cli": "17.7.1",