@powerhousedao/switchboard 5.2.0-staging.12 → 5.2.0-staging.14
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 -4
- package/entrypoint.sh +3 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## 5.2.0-staging.14 (2026-01-08)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **connect, switchboard:** run pnpm install after ph install in entrypoint ([bec470433](https://github.com/powerhouse-inc/powerhouse/commit/bec470433))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Frank
|
|
10
|
+
|
|
11
|
+
## 5.2.0-staging.13 (2026-01-08)
|
|
12
|
+
|
|
13
|
+
### 🩹 Fixes
|
|
14
|
+
|
|
15
|
+
- **connect, switchboard:** create .npmrc after ph init and reinstall ([03865870b](https://github.com/powerhouse-inc/powerhouse/commit/03865870b))
|
|
16
|
+
|
|
17
|
+
### ❤️ Thank You
|
|
18
|
+
|
|
19
|
+
- Frank
|
|
20
|
+
|
|
1
21
|
## 5.2.0-staging.12 (2026-01-08)
|
|
2
22
|
|
|
3
23
|
### 🩹 Fixes
|
package/Dockerfile
CHANGED
|
@@ -41,10 +41,6 @@ ENV TAG=$TAG
|
|
|
41
41
|
RUN pnpm config set @jsr:registry https://npm.jsr.io
|
|
42
42
|
RUN pnpm add -g ph-cmd@$TAG prisma@5.17.0
|
|
43
43
|
|
|
44
|
-
# Create .npmrc with hoisted node-linker BEFORE ph init runs pnpm install
|
|
45
|
-
# This fixes symlink issues on containerd's overlay filesystem
|
|
46
|
-
RUN mkdir -p /app/project && echo "node-linker=hoisted" > /app/project/.npmrc
|
|
47
|
-
|
|
48
44
|
RUN case "$TAG" in \
|
|
49
45
|
*dev*) ph init project --dev --package-manager pnpm ;; \
|
|
50
46
|
*staging*) ph init project --staging --package-manager pnpm ;; \
|
|
@@ -53,6 +49,10 @@ RUN case "$TAG" in \
|
|
|
53
49
|
|
|
54
50
|
WORKDIR /app/project
|
|
55
51
|
|
|
52
|
+
# Create .npmrc with hoisted node-linker and reinstall to apply
|
|
53
|
+
# This fixes symlink issues on containerd's overlay filesystem
|
|
54
|
+
RUN echo "node-linker=hoisted" > .npmrc && pnpm install
|
|
55
|
+
|
|
56
56
|
# Install curl for health checks
|
|
57
57
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
|
58
58
|
|
package/entrypoint.sh
CHANGED
|
@@ -9,6 +9,9 @@ if [ ! -z "$PH_PACKAGES" ]; then
|
|
|
9
9
|
echo "[entrypoint] Installing package: $pkg"
|
|
10
10
|
ph install $pkg
|
|
11
11
|
done
|
|
12
|
+
# Rebuild node_modules with hoisted mode to fix overlay filesystem symlink issues
|
|
13
|
+
echo "[entrypoint] Rebuilding node_modules with hoisted mode..."
|
|
14
|
+
pnpm install
|
|
12
15
|
fi
|
|
13
16
|
|
|
14
17
|
# Check if DATABASE_URL starts with postgres and run Prisma db push
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/switchboard",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.2.0-staging.
|
|
4
|
+
"version": "5.2.0-staging.14",
|
|
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/
|
|
46
|
-
"@powerhousedao/
|
|
47
|
-
"@powerhousedao/reactor-api": "5.2.0-staging.
|
|
48
|
-
"@renown/sdk": "5.2.0-staging.
|
|
49
|
-
"document-drive": "5.2.0-staging.
|
|
50
|
-
"document-model": "5.2.0-staging.
|
|
45
|
+
"@powerhousedao/config": "5.2.0-staging.14",
|
|
46
|
+
"@powerhousedao/reactor": "5.2.0-staging.14",
|
|
47
|
+
"@powerhousedao/reactor-api": "5.2.0-staging.14",
|
|
48
|
+
"@renown/sdk": "5.2.0-staging.14",
|
|
49
|
+
"document-drive": "5.2.0-staging.14",
|
|
50
|
+
"document-model": "5.2.0-staging.14"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/express": "^4.17.25",
|