@ycs77/devbox 0.6.0 → 0.7.1

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 (3) hide show
  1. package/README.md +9 -4
  2. package/dist/cli.mjs +451 -554
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -47,11 +47,16 @@ From your project directory, initialize Devbox:
47
47
  devbox init
48
48
  ```
49
49
 
50
- The interactive setup lets you choose the Node.js versions and AI agents to include, then select a Node.js version for the current project.
50
+ **Global configuration** selects the Node.js versions and AI agents installed in the shared Workspace image. These choices apply to every Project; adding more makes the image larger and uses more disk space.
51
51
 
52
- Global configuration controls what goes into the shared Workspace Image. Each Node.js version or AI agent you add makes the image larger and uses more disk space. Projects can use only the Node.js versions included in the image.
52
+ **Local configuration** selects the Node.js version for the current Project. A Project can use only a version included in the Global configuration.
53
53
 
54
- Build the shared Workspace Image once after setup or whenever you change global configuration:
54
+ Published ports accept one mapping per line. The following are the supported port mapping formats:
55
+
56
+ - `5173:5173` maps host port `5173` to container port `5173`.
57
+ - `APP_PORT:5173:5173` maps the host port from the `APP_PORT` environment variable (default port: `5173`) to container port `5173`.
58
+
59
+ Build the shared Workspace image after setup, changes to global configuration, or a Devbox package upgrade:
55
60
 
56
61
  ```bash
57
62
  devbox build
@@ -81,8 +86,8 @@ Run these commands from the initialized project directory:
81
86
  | `devbox sh` | Open a Bash shell in the running sandbox. |
82
87
  | `devbox stop` | Stop the sandbox and preserve it for a later restart. |
83
88
  | `devbox down` | Stop and remove the sandbox container. |
89
+ | `devbox rm` | Stop and remove the current Project's Sandbox, then remove its Devbox state. |
84
90
  | `devbox config` | Change global settings or this project's configuration. |
85
- | `devbox cleanup --missing-projects` | Remove registrations for projects whose root directory no longer exists. |
86
91
 
87
92
  ## Troubleshooting
88
93