@powerhousedao/switchboard 6.0.0-dev.3 → 6.0.0-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/Dockerfile +6 -2
- package/entrypoint.sh +4 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## 6.0.0-dev.5 (2026-01-16)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **switchboard:** regenerate Prisma client for Alpine Linux ([4bc96c72d](https://github.com/powerhouse-inc/powerhouse/commit/4bc96c72d))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Frank
|
|
10
|
+
|
|
11
|
+
## 6.0.0-dev.4 (2026-01-16)
|
|
12
|
+
|
|
13
|
+
### 🩹 Fixes
|
|
14
|
+
|
|
15
|
+
- **switchboard:** add openssl for Prisma compatibility ([fe7235609](https://github.com/powerhouse-inc/powerhouse/commit/fe7235609))
|
|
16
|
+
|
|
17
|
+
### ❤️ Thank You
|
|
18
|
+
|
|
19
|
+
- Frank
|
|
20
|
+
|
|
1
21
|
## 6.0.0-dev.3 (2026-01-16)
|
|
2
22
|
|
|
3
23
|
### 🚀 Features
|
package/Dockerfile
CHANGED
|
@@ -39,13 +39,17 @@ RUN if [ -n "$PH_PACKAGES" ]; then \
|
|
|
39
39
|
done; \
|
|
40
40
|
fi
|
|
41
41
|
|
|
42
|
+
# Regenerate Prisma client for Alpine Linux (linux-musl-openssl-3.0.x)
|
|
43
|
+
# The document-drive package ships with darwin-arm64 binaries, we need to regenerate
|
|
44
|
+
RUN prisma generate --schema node_modules/document-drive/dist/prisma/schema.prisma
|
|
45
|
+
|
|
42
46
|
# Final stage - slim node image
|
|
43
47
|
FROM node:22-alpine
|
|
44
48
|
|
|
45
49
|
WORKDIR /app
|
|
46
50
|
|
|
47
|
-
# Install runtime dependencies
|
|
48
|
-
RUN apk add --no-cache curl
|
|
51
|
+
# Install runtime dependencies (curl for health checks, openssl for Prisma)
|
|
52
|
+
RUN apk add --no-cache curl openssl
|
|
49
53
|
|
|
50
54
|
# Setup pnpm
|
|
51
55
|
ENV PNPM_HOME="/pnpm"
|
package/entrypoint.sh
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
+
# Regenerate Prisma client for current platform (fixes darwin-arm64 vs linux-musl-openssl mismatch)
|
|
5
|
+
echo "[entrypoint] Regenerating Prisma client for current platform..."
|
|
6
|
+
prisma generate --schema node_modules/document-drive/dist/prisma/schema.prisma
|
|
7
|
+
|
|
4
8
|
# Run Prisma db push if DATABASE_URL is postgres and migrations not skipped
|
|
5
9
|
if [ -n "$DATABASE_URL" ] && echo "$DATABASE_URL" | grep -q "^postgres" && [ "$SKIP_DB_MIGRATIONS" != "true" ]; then
|
|
6
10
|
echo "[entrypoint] Running Prisma db push..."
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/switchboard",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.0.0-dev.
|
|
4
|
+
"version": "6.0.0-dev.5",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"kysely-pglite-dialect": "^1.1.1",
|
|
43
43
|
"pg": "^8.13.0",
|
|
44
44
|
"redis": "^4.7.0",
|
|
45
|
-
"@powerhousedao/config": "6.0.0-dev.
|
|
46
|
-
"@powerhousedao/reactor": "6.0.0-dev.
|
|
47
|
-
"@powerhousedao/reactor-api": "6.0.0-dev.
|
|
48
|
-
"@renown/sdk": "6.0.0-dev.
|
|
49
|
-
"document-drive": "6.0.0-dev.
|
|
50
|
-
"document-model": "6.0.0-dev.
|
|
45
|
+
"@powerhousedao/config": "6.0.0-dev.5",
|
|
46
|
+
"@powerhousedao/reactor": "6.0.0-dev.5",
|
|
47
|
+
"@powerhousedao/reactor-api": "6.0.0-dev.5",
|
|
48
|
+
"@renown/sdk": "6.0.0-dev.5",
|
|
49
|
+
"document-drive": "6.0.0-dev.5",
|
|
50
|
+
"document-model": "6.0.0-dev.5"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/express": "^4.17.25",
|