Skip to content
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ There are some additional urls below to access specific parts of the system.
### Local workflow

#### Prerequisites
- The SvelteKit UI requires: node v20+
- The SvelteKit UI requires: node v26+
- The .NET API requires: dotnet sdk v8+

#### Running the project
Expand Down
8 changes: 3 additions & 5 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# syntax=docker/dockerfile:1
# TODO: can't use vanilla alpine version since python is needed for gql-codegen stuff.
FROM node:20 AS builder-base
FROM node:26 AS builder-base
WORKDIR /app
# Version of corepack distributed with node currently (2025-02-04) has a bug that prevents PNPM installation; latest version has the bugfix
RUN npm install -g corepack@latest
RUN corepack enable && corepack prepare pnpm@10.24.0 --activate
RUN npm install -g pnpm@10.24.0

FROM builder-base AS builder

Expand All @@ -19,7 +17,7 @@ ENV VITE_APP_VERSION=$APP_VERSION

RUN --mount=type=cache,target=/root/.local/share/pnpm/store pnpm run build

FROM node:20-alpine
FROM node:26-alpine
# container would not receive SIGTERM from docker when shutting down so Docker would force kill
# the container after 10s. This will make shutdown faster because the SIGTERM will be handled appropriately.
# https://maximorlov.com/process-signals-inside-docker-containers/
Expand Down
2 changes: 1 addition & 1 deletion frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Requests come into a node app managed by Sveltekit for static, CSR, or SSR. Dat

### Development

Node needs to be installed locally. The `pnpm` package manager should be installed: if you don't already have it, run `corepack enable` and it will be set up.
Node needs to be installed locally. The `pnpm` package manager should be installed: see [pnpm.io/installation](https://pnpm.io/installation).

Once you've installed dependencies with `pnpm install`, start a development server:

Expand Down
2 changes: 0 additions & 2 deletions frontend/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ tasks:
- pnpm-lock.yaml
- pnpm-workspace.yaml
cmds:
- corepack enable || true
- pnpm install

fw-lite-infr:
Expand Down Expand Up @@ -88,7 +87,6 @@ tasks:
- ../pnpm-lock.yaml
- ../pnpm-workspace.yaml
cmds:
- corepack enable || true
- pnpm install
run-https-proxy:
dir: ./https-proxy
Expand Down
6 changes: 2 additions & 4 deletions frontend/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# syntax=docker/dockerfile:1
# TODO: can't use vanilla alpine version since python is needed for gql-codegen stuff.
FROM node:20 AS builder
FROM node:26 AS builder

# Version of corepack distributed with node currently (2025-02-04) has a bug that prevents PNPM installation; latest version has the bugfix
RUN npm install -g corepack@latest
RUN corepack enable && corepack prepare pnpm@10.24.0 --activate
RUN npm install -g pnpm@10.24.0
WORKDIR /app

COPY package.json pnpm-lock.yaml pnpm-workspace.yaml /app/
Expand Down
4 changes: 0 additions & 4 deletions frontend/https-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
"version": "0.0.1",
"private": true,
"packageManager": "pnpm@10.24.0",
"engines": {
"node": ">=20",
"pnpm": ">=9"
},
"type": "module",
"scripts": {
"dev": "vite"
Expand Down
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"packageManager": "pnpm@10.24.0",
"engines": {
"node": ">=20",
"pnpm": ">=9"
"node": ">=26",
"pnpm": ">=10"
},
"scripts": {
"dev": "vite dev",
Expand Down
1 change: 0 additions & 1 deletion frontend/viewer/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ tasks:
- ../pnpm-lock.yaml
- ../pnpm-workspace.yaml
cmds:
- corepack enable || true
- pnpm install
test:
cmd: pnpm test
Expand Down
4 changes: 0 additions & 4 deletions frontend/viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"name": "viewer",
"private": true,
"packageManager": "pnpm@10.24.0",
"engines": {
"node": ">=20",
"pnpm": ">=9"
},
"version": "1.0.0",
"type": "module",
"scripts": {
Expand Down
Loading