Skip to content
Open
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
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM node:20-bookworm
FROM node:22-bookworm-slim

LABEL maintainer="team@semantic.works"

RUN apt-get update && apt-get -y upgrade && apt-get -y install git openssh-client rsync jq
RUN apt-get update && apt-get -y upgrade && apt-get -y install --no-install-recommends ca-certificates git openssh-client rsync jq wget \
&& rm -rf /var/lib/apt/lists/*
ARG TARGETPLATFORM
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
echo "BUILDING FOR AMD64 through $TARGETPLATFORM"; cd /tmp/ && wget https://github.com/watchexec/watchexec/releases/download/v2.3.2/watchexec-2.3.2-x86_64-unknown-linux-gnu.deb && dpkg -i watchexec-2.3.2-x86_64-unknown-linux-gnu.deb; \
Expand Down
2 changes: 1 addition & 1 deletion babel.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
["@babel/preset-env",
{
"targets": {
"node": 18
"node": 22
},
"modules": false
}
Expand Down
5 changes: 2 additions & 3 deletions run-development.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ else
NODE_PID=$!
trap 'kill -s SIGUSR2 $NODE_PID' SIGUSR2 # SIGINT and SIGTERM are not necessary here now

# TODO: Is this ps + while verification step is still necessary? The
# process appeared not to fully exit after `wait`.
while ps -p $NODE_PID > /dev/null
# check if pid is still running
while kill -0 $NODE_PID 2>/dev/null
do
wait $NODE_PID
done
Expand Down
8 changes: 4 additions & 4 deletions tsconfig-base.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node 14",
"display": "Node 22",

"compilerOptions": {
"lib": ["es2020"],
"module": "es2020",
"target": "es2020",
"lib": ["es2022"],
"module": "es2022",
"target": "es2022",
"allowJs": true,
"noEmit": true,

Expand Down