@crossdelta/platform-sdk 0.3.24 → 0.3.25

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.
@@ -3,7 +3,7 @@
3
3
  # See: https://docs.nats.io/running-a-nats-service/configuration
4
4
 
5
5
  # Server identification
6
- server_name: {{workspaceName}}-nats
6
+ server_name: nats
7
7
 
8
8
  # Client connections
9
9
  listen: 0.0.0.0:4222
@@ -3,7 +3,7 @@
3
3
  # See: https://docs.nats.io/running-a-nats-service/configuration
4
4
 
5
5
  # Server identification
6
- server_name: {{workspaceName}}-nats
6
+ server_name: nats
7
7
 
8
8
  # Client connections
9
9
  listen: 0.0.0.0:4222
@@ -41,7 +41,11 @@ mkdir -p "$NATS_DATA_DIR"
41
41
  # Config file: services/nats/nats.conf (same as production)
42
42
  echo "[NATS] Starting with JetStream on ports ${NATS_PORT} (client) and ${NATS_HTTP_PORT} (http)..."
43
43
  echo "[NATS] Using config: $NATS_CONF"
44
- docker run -d \
44
+ echo "[NATS] Data directory: $NATS_DATA_DIR"
45
+ echo ""
46
+
47
+ # Start container in foreground (logs streaming) so Turbo keeps watching
48
+ docker run --rm \
45
49
  --name "$CONTAINER_NAME" \
46
50
  -p "${NATS_PORT}:4222" \
47
51
  -p "${NATS_HTTP_PORT}:8222" \
@@ -49,8 +53,3 @@ docker run -d \
49
53
  -v "${NATS_CONF}:/etc/nats/nats.conf:ro" \
50
54
  "$NATS_IMAGE" \
51
55
  -c /etc/nats/nats.conf
52
-
53
- echo "[NATS] Started successfully with JetStream"
54
- echo "[NATS] Data directory: $NATS_DATA_DIR"
55
- echo "[NATS] Health check: curl http://localhost:${NATS_HTTP_PORT}/healthz"
56
- echo "[NATS] JetStream info: curl http://localhost:${NATS_HTTP_PORT}/jsz"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/platform-sdk",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "description": "CLI toolkit for scaffolding Turborepo workspaces with Pulumi infrastructure and Hono/NestJS microservices",
5
5
  "keywords": [
6
6
  "cli",