Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update node and package versions #58

Merged
merged 5 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
NODE_VERSION: 18.17.1
NODE_VERSION: 20.9.0

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
contents: read

env:
NODE_VERSION: 18.17.1
NODE_VERSION: 20.9.0

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.17.1
v20.9.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.17.1-alpine
FROM node:20.9.0-alpine
ENV NODE_ENV=production

ARG IMAGE_VERSION
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
nativeBuildInputs = [ pkgs.bashInteractive ];
buildInputs = with pkgs; [
doppler
nodejs-18_x
nodejs_20

# See https://github.com/prisma/prisma/issues/3026#issuecomment-927258138 for all the details about running Prisma
nodePackages.prisma
Expand Down
3,770 changes: 1,923 additions & 1,847 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Graphql api for sharing newspaper quizzes between friends, including results and statistics",
"main": "index.js",
"engines": {
"node": "v18.17.1"
"node": "v20.9.0"
},
"scripts": {
"build": "tsc",
Expand Down Expand Up @@ -31,7 +31,7 @@
"@aws-sdk/client-sqs": "^3.118.0",
"@aws-sdk/s3-request-presigner": "^3.118.0",
"@aws-sdk/util-create-request": "^3.341.0",
"@prisma/client": "^5.2.0",
"@prisma/client": "^5.4.1",
"@sentry/node": "^7.71.0",
"@sentry/profiling-node": "^1.2.1",
"axios": "^1.2.6",
Expand All @@ -47,9 +47,9 @@
"uuid": "^9.0.0"
},
"devDependencies": {
"@dtdot/eslint-config": "^0.0.8",
"@dtdot/eslint-config": "^0.0.9",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@tsconfig/node18": "^18.2.2",
"@tsconfig/node20": "^20.1.2",
"@types/chai": "^4.3.1",
"@types/cors": "^2.8.13",
"@types/mocha": "^10.0.1",
Expand All @@ -63,7 +63,7 @@
"eslint-plugin-prettier": "^5.0.0",
"nodemon": "^3.0.1",
"prettier": "^3.0.3",
"prisma": "^5.2.0",
"prisma": "^5.4.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.8.1",
"typescript": "^5.0.4"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node18/tsconfig.json",
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"sourceMap": true,
Expand Down