@powerhousedao/switchboard 6.0.0-dev.4 → 6.0.0-dev.6
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 +4 -0
- package/entrypoint.sh +4 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## 6.0.0-dev.6 (2026-01-16)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **ph-cmd:** move .npmrc to codegen package dir ([35ef27743](https://github.com/powerhouse-inc/powerhouse/commit/35ef27743))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- ryanwolhuter @ryanwolhuter
|
|
10
|
+
|
|
11
|
+
## 6.0.0-dev.5 (2026-01-16)
|
|
12
|
+
|
|
13
|
+
### 🩹 Fixes
|
|
14
|
+
|
|
15
|
+
- **switchboard:** regenerate Prisma client for Alpine Linux ([4bc96c72d](https://github.com/powerhouse-inc/powerhouse/commit/4bc96c72d))
|
|
16
|
+
|
|
17
|
+
### ❤️ Thank You
|
|
18
|
+
|
|
19
|
+
- Frank
|
|
20
|
+
|
|
1
21
|
## 6.0.0-dev.4 (2026-01-16)
|
|
2
22
|
|
|
3
23
|
### 🩹 Fixes
|
package/Dockerfile
CHANGED
|
@@ -39,6 +39,10 @@ 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
|
|
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.6",
|
|
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
|
|
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.6",
|
|
46
|
+
"@powerhousedao/reactor-api": "6.0.0-dev.6",
|
|
47
|
+
"@powerhousedao/reactor": "6.0.0-dev.6",
|
|
48
|
+
"@renown/sdk": "6.0.0-dev.6",
|
|
49
|
+
"document-drive": "6.0.0-dev.6",
|
|
50
|
+
"document-model": "6.0.0-dev.6"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/express": "^4.17.25",
|