@powerhousedao/switchboard 2.4.6-dev.2 → 2.4.6-dev.4
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/.env +12 -8
- package/CHANGELOG.md +3 -12
- package/Dockerfile +40 -44
- package/dist/src/config.d.ts +4 -0
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +15 -5
- package/dist/src/config.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/entrypoint.sh +15 -0
- package/package.json +5 -5
- package/powerhouse.config.json +0 -16
package/entrypoint.sh
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
set -e
|
|
3
|
+
|
|
4
|
+
if [ ! -z "$PH_PACKAGES" ]; then
|
|
5
|
+
# Convert comma-separated list to space-separated
|
|
6
|
+
PACKAGES=$(echo $PH_PACKAGES | tr ',' ' ')
|
|
7
|
+
# Install each package
|
|
8
|
+
for pkg in $PACKAGES; do
|
|
9
|
+
echo "[entrypoint] Installing package: $pkg"
|
|
10
|
+
ph install $pkg
|
|
11
|
+
done
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
echo "[entrypoint] Starting switchboard..."
|
|
15
|
+
ph switchboard
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/switchboard",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.4.6-dev.
|
|
4
|
+
"version": "2.4.6-dev.4",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./dist/src/index.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"express": "^4.21.2",
|
|
26
26
|
"graphql": "^16.11.0",
|
|
27
27
|
"redis": "^4.7.0",
|
|
28
|
-
"@powerhousedao/config": "1.27.0-dev.
|
|
29
|
-
"@powerhousedao/reactor-api": "1.29.
|
|
30
|
-
"document-
|
|
31
|
-
"document-
|
|
28
|
+
"@powerhousedao/config": "1.27.0-dev.17",
|
|
29
|
+
"@powerhousedao/reactor-api": "1.29.28-dev.0",
|
|
30
|
+
"document-drive": "1.29.14-dev.0",
|
|
31
|
+
"document-model": "2.28.1-dev.16"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/express": "^5.0.0",
|
package/powerhouse.config.json
DELETED