mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-04 13:46:34 +08:00
chore: update nodejs to 20.19.4 (@fehmer) (#6805)
This commit is contained in:
parent
926b369402
commit
aa94a8afed
12 changed files with 15 additions and 15 deletions
2
.github/workflows/monkey-ci.yml
vendored
2
.github/workflows/monkey-ci.yml
vendored
|
@ -2,7 +2,7 @@ name: Monkey CI
|
|||
|
||||
env:
|
||||
PNPM_VERSION: "9.6.0"
|
||||
NODE_VERSION: "20.16.0"
|
||||
NODE_VERSION: "20.19.4"
|
||||
RECAPTCHA_SITE_KEY: "6Lc-V8McAAAAAJ7s6LGNe7MBZnRiwbsbiWts87aj"
|
||||
|
||||
permissions:
|
||||
|
|
2
.github/workflows/pretty-check.yml
vendored
2
.github/workflows/pretty-check.yml
vendored
|
@ -2,7 +2,7 @@ name: Prettier Check
|
|||
|
||||
env:
|
||||
PNPM_VERSION: "9.6.0"
|
||||
NODE_VERSION: "20.16.0"
|
||||
NODE_VERSION: "20.19.4"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
|
2
.github/workflows/pretty-fix.yml
vendored
2
.github/workflows/pretty-fix.yml
vendored
|
@ -2,7 +2,7 @@ name: Prettier Fix
|
|||
|
||||
env:
|
||||
PNPM_VERSION: "9.6.0"
|
||||
NODE_VERSION: "20.16.0"
|
||||
NODE_VERSION: "20.19.4"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
2
.nvmrc
2
.nvmrc
|
@ -1 +1 @@
|
|||
20.16.0
|
||||
20.19.4
|
|
@ -23,7 +23,7 @@ services:
|
|||
container_name: monkeytype-api-server
|
||||
build:
|
||||
dockerfile_inline: |
|
||||
FROM node:20.16.0
|
||||
FROM node:20.19.4
|
||||
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
|
||||
|
|
|
@ -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": "20.16.0"
|
||||
"node": "20.19.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@date-fns/utc": "1.2.0",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:20.16.0-alpine3.19 AS builder
|
||||
FROM node:20.19.4-alpine3.19 AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
@ -18,7 +18,7 @@ RUN pnpm deploy --filter backend --prod /prod/backend
|
|||
#---------------------------------
|
||||
|
||||
## target image
|
||||
FROM node:20.16.0-alpine3.19
|
||||
FROM node:20.19.4-alpine3.19
|
||||
|
||||
## get server_version from build-arg, default to UNKNOWN
|
||||
ARG server_version=UNKNOWN
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:20.16.0-alpine3.19 AS builder
|
||||
FROM node:20.19.4-alpine3.19 AS builder
|
||||
WORKDIR /app
|
||||
|
||||
#ENV
|
||||
|
|
|
@ -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 20.16.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 20.19.4. 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 `20.16.0 LTS`.
|
||||
Currently, the project is using version `20.19.4 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 20.16.0` then `nvm use 20.16.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 20.19.4` then `nvm use 20.19.4`) 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.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ services:
|
|||
container_name: monkeytype-frontend
|
||||
build:
|
||||
dockerfile_inline: |
|
||||
FROM node:20.16.0
|
||||
FROM node:20.19.4
|
||||
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
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"docker": "docker compose -f docker/compose.dev.yml up"
|
||||
},
|
||||
"engines": {
|
||||
"node": "20.16.0"
|
||||
"node": "20.19.4"
|
||||
},
|
||||
"browserslist": [
|
||||
"defaults",
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
"pr-check-other-json": "cd frontend && npx gulp pr-check-other-json && turbo test -- constants/layouts constants/themes constants/fonts"
|
||||
},
|
||||
"engines": {
|
||||
"node": "20.16.0"
|
||||
"node": "20.19.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "17.7.1",
|
||||
|
|
Loading…
Add table
Reference in a new issue