@powerhousedao/switchboard 5.1.0-dev.13 → 5.1.0-dev.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 CHANGED
@@ -1,3 +1,14 @@
1
+ ## 5.1.0-dev.14 (2025-12-08)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **connect, switchboard:** added healthcheck route ([9a0671113](https://github.com/powerhouse-inc/powerhouse/commit/9a0671113))
6
+ - **academy:** added docker build and publish workflow ([b17562994](https://github.com/powerhouse-inc/powerhouse/commit/b17562994))
7
+
8
+ ### ❤️ Thank You
9
+
10
+ - Frank
11
+
1
12
  ## 5.1.0-dev.13 (2025-12-08)
2
13
 
3
14
  This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
package/Dockerfile CHANGED
@@ -48,7 +48,12 @@ RUN case "$TAG" in \
48
48
 
49
49
  WORKDIR /app/project
50
50
 
51
- # Copy and set up entrypoint script
51
+ # Install curl for health checks
52
+ RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
52
53
 
54
+ EXPOSE $PORT
55
+
56
+ HEALTHCHECK --interval=30s --timeout=3s --start-period=30s --retries=3 \
57
+ CMD curl -f http://localhost:${PORT}/health || exit 1
53
58
 
54
59
  ENTRYPOINT ["/app/entrypoint.sh"]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/switchboard",
3
3
  "type": "module",
4
- "version": "5.1.0-dev.13",
4
+ "version": "5.1.0-dev.14",
5
5
  "main": "dist/src/index.js",
6
6
  "exports": {
7
7
  ".": {
@@ -42,11 +42,11 @@
42
42
  "kysely-pglite-dialect": "^1.1.1",
43
43
  "pg": "^8.13.0",
44
44
  "redis": "^4.7.0",
45
- "@powerhousedao/config": "5.1.0-dev.13",
46
- "@powerhousedao/reactor-api": "5.1.0-dev.13",
47
- "@powerhousedao/reactor": "5.1.0-dev.13",
48
- "document-model": "5.1.0-dev.13",
49
- "document-drive": "5.1.0-dev.13"
45
+ "@powerhousedao/config": "5.1.0-dev.14",
46
+ "@powerhousedao/reactor": "5.1.0-dev.14",
47
+ "@powerhousedao/reactor-api": "5.1.0-dev.14",
48
+ "document-drive": "5.1.0-dev.14",
49
+ "document-model": "5.1.0-dev.14"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/express": "^4.17.25",