refactor: update node to 22

This commit is contained in:
2024-06-03 12:35:38 +02:00
parent 851a7460aa
commit 0a99aa4bde
6 changed files with 13 additions and 13 deletions

View File

@@ -1,3 +1,3 @@
nodejs 18.19.1
nodejs 22.2.0
pnpm 8.15.4
python 3.11.5
python 3.11.5

12
flake.lock generated
View File

@@ -5,11 +5,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1709126324,
"narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "d465f4819400de7c8d874d50b982301f28a84605",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1709747860,
"narHash": "sha256-RT4zuBy579m+l8VyIQFOR66WXfcs4g1jntZUHjh6eoI=",
"lastModified": 1717112898,
"narHash": "sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "58ae79ea707579c40102ddf62d84b902a987c58b",
"rev": "6132b0f6e344ce2fe34fc051b72fb46e34f668e0",
"type": "github"
},
"original": {

View File

@@ -43,7 +43,7 @@
hash = "sha256-9o0nprGcJhudS1LNm+T7Vf0Dwd1RBauYKI+w1FBQ3ZM=";
};
});
nodejs = prev.nodejs_18;
nodejs = prev.nodejs_22;
})
];
config = {

View File

@@ -1,4 +1,4 @@
FROM node:18-alpine3.18
FROM node:22-alpine
RUN apk update && apk add git curl jq && mkdir -p /opt

View File

@@ -1,4 +1,4 @@
FROM node:18-alpine3.18
FROM node:22-alpine
RUN apk update && apk add git jq curl python3 build-base

View File

@@ -2,8 +2,8 @@
"name": "@openstapps/openstapps",
"private": true,
"engines": {
"node": ">=18.16",
"pnpm": ">=8"
"node": "^22.2.0",
"pnpm": "^8.15.4"
},
"scripts": {
"build": "dotenv -c -- turbo run build",