From 80a19f96a3c655f82fe02f9ba04d537f165ad422 Mon Sep 17 00:00:00 2001 From: emallson Date: Mon, 31 Aug 2026 14:52:53 -0400 Subject: [PATCH 1/2] add m+ count fields to the fights API response --- src/route/wcl/fights.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/route/wcl/fights.ts b/src/route/wcl/fights.ts index 13e8a67..cec858f 100644 --- a/src/route/wcl/fights.ts +++ b/src/route/wcl/fights.ts @@ -103,6 +103,10 @@ const fightQuery = gql` id startTime } + + countReached + countRequired + npcCountMap } phases { From 52353b2010ccf26a52b8d6fd0b9e2776ef1b68a0 Mon Sep 17 00:00:00 2001 From: emallson Date: Mon, 31 Aug 2026 15:06:24 -0400 Subject: [PATCH 2/2] fix dockerfile for pnpm changes --- Dockerfile | 8 ++++++-- pnpm-workspace.yaml | 8 ++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 pnpm-workspace.yaml diff --git a/Dockerfile b/Dockerfile index d930afc..851b78c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,12 +3,16 @@ FROM node:21-alpine as build RUN apk add gcompat # Install PNPM -RUN wget -qO /bin/pnpm "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" && chmod +x /bin/pnpm +RUN wget -qO /bin/pnpm.tar.gz "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linux-x64-musl.tar.gz" \ + && cd /bin \ + && tar -xf /bin/pnpm.tar.gz \ + && chmod +x /bin/pnpm \ + && rm /bin/pnpm.tar.gz WORKDIR /usr/src/app/ # By doing this separate we allow Docker to cache this -COPY package.json pnpm-lock.yaml /usr/src/app/ +COPY package.json pnpm-lock.yaml pnpm-workspace.yaml /usr/src/app/ RUN pnpm install USER node diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..ed7911b --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,8 @@ +allowBuilds: + es5-ext: true + esbuild: true + sodium-native: true +onlyBuiltDependencies: + - es5-ext + - esbuild + - sodium-native