Migration Deno -> Node.js

* First pass
* Now using vitest for tests
This commit is contained in:
Zef Hemel
2026-02-14 22:08:35 +01:00
parent 8592b3add6
commit 02bd8ed362
91 changed files with 5837 additions and 2200 deletions
+4 -2
View File
@@ -1,6 +1,5 @@
# Stage 1: Build the silverbullet binary
# Use the Debian version of Deno as a base image
FROM denoland/deno:debian-2.6.8 AS builder
FROM node:20-bookworm AS builder
RUN apt update && apt install -y git wget make
ARG TARGETARCH
@@ -15,6 +14,9 @@ ENV PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
WORKDIR /app
ADD . /app
# Install npm dependencies
RUN npm ci
# Build the `silverbullet` self-contained binary in /app/silverbullet
RUN make build