@solcreek/dew 0.7.48 → 0.7.50

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.
Files changed (2) hide show
  1. package/README.md +27 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -57,12 +57,38 @@ Auto-detects your project and starts a dev environment with hot reload.
57
57
  ```bash
58
58
  cd my-vite-app
59
59
  dew up # detect, boot, install, start
60
- dew up --with postgres,redis # dev with services
60
+ dew up --with postgres,redis # dev with built-in services
61
61
  dew down # stop
62
62
  ```
63
63
 
64
64
  Supports: Vite, Next.js, Astro, Nuxt, SvelteKit, Django, Flask, FastAPI, static HTML.
65
65
 
66
+ For arbitrary services (any OCI image) in the same VM, add a `dew.toml`
67
+ (`dew up --init` writes a starter). Auto-detection still works without it.
68
+
69
+ ```toml
70
+ # dew.toml
71
+ [project]
72
+ profile = "node"
73
+
74
+ [dev]
75
+ command = "npm run dev"
76
+ port = 3000
77
+
78
+ [[service]]
79
+ name = "redis"
80
+ image = "redis:7-alpine"
81
+ port = 6379
82
+
83
+ [[service]]
84
+ name = "mailpit"
85
+ image = "axllent/mailpit:latest"
86
+ port = 8025
87
+ ```
88
+
89
+ `dew up` then boots the project and its services in one VM; containers use
90
+ the VM network, so the dev server reaches them on `localhost`.
91
+
66
92
  ### Share instantly
67
93
 
68
94
  Temporary public HTTPS URL for any local port. Zero config, zero account.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solcreek/dew",
3
- "version": "0.7.48",
3
+ "version": "0.7.50",
4
4
  "description": "Sandboxed Linux compute, agent-native and human-friendly.",
5
5
  "license": "MIT",
6
6
  "repository": {