chore(api): migrate to fastify v5 (#57576)

This commit is contained in:
Oliver Eyton-Williams
2025-06-02 04:37:57 +02:00
committed by GitHub
parent 690d05c7b9
commit 89402caa9d
14 changed files with 301 additions and 298 deletions
-4
View File
@@ -15,8 +15,6 @@ COPY --chown=node:node curriculum/ curriculum/
# TODO: AFAIK it's just the intro translations. Those should be folded into the
# curriculum and then we can remove this.
COPY --chown=node:node client/ client/
# TODO: Remove once `@fastify/oauth2` is fixed
COPY --chown=node:node patches/ patches/
RUN pnpm config set dedupe-peer-dependents false
# While we want to ignore scripts generally, we do need to generate the prisma
@@ -43,8 +41,6 @@ COPY --chown=node:node pnpm*.yaml .
COPY --chown=node:node package.json .
COPY --chown=node:node api/ api/
COPY --chown=node:node shared/ shared/
# TODO: Remove once `@fastify/oauth2` is fixed
COPY --chown=node:node patches/ patches/
RUN npm i -g pnpm@10
# Weirdly this config does not seem necessary for the new api (the same number
-2
View File
@@ -11,8 +11,6 @@ COPY --chown=node:node client/ client/
COPY --chown=node:node shared/ shared/
COPY --chown=node:node tools/ tools/
COPY --chown=node:node curriculum/ curriculum/
# TODO: Remove once `@fastify/oauth2` is fixed
COPY --chown=node:node patches/ patches/
ARG HOME_LOCATION
ARG API_LOCATION