localdeck 1.2.0 → 1.2.2
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 +18 -0
- package/README.md +3 -0
- package/dashboard/assets/index-BDrE-iT3.js +20 -0
- package/dashboard/assets/index-DbQzubLF.css +1 -0
- package/dashboard/index.html +2 -2
- package/dist/{index-zmpw8b4a.js → index-q0ecp96f.js} +208 -36
- package/dist/index.js +13 -3
- package/dist/{mcp-dwx4ja4k.js → mcp-pwywe3ff.js} +1 -1
- package/dist/{update-sfxqqdjp.js → update-5pz3der1.js} +3 -1
- package/package.json +1 -1
- package/dashboard/assets/index-B2HB87hg.js +0 -20
- package/dashboard/assets/index-Tp7Rr3xY.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.2 — Preserve secret edits during refreshes
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Prevent background dashboard refreshes from clearing the secret name and value while you type. Reset the secrets editor only when switching projects.
|
|
8
|
+
|
|
9
|
+
## 1.2.1 — Automatic port variables and visible runtime ports
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Supply LocalDeck’s assigned port through custom variables used by `--port`, such as `API_PORT` and `APP_PORT`, so scripts can avoid occupied fallback ports without project edits.
|
|
14
|
+
- Follow individual npm, pnpm, Yarn, and Bun package scripts, including npm workspace selectors and package directory options, for dashboard and terminal launches. Preserve explicit service environment settings and secrets.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- Show “Running on port X” with the actual app port and a separately labeled proxy port in the dashboard.
|
|
19
|
+
- Distinguish assigned, configured, listening, stopping, and last-used ports so startup and stopped services are not reported as running.
|
|
20
|
+
|
|
3
21
|
## 1.2.0 — Command palette
|
|
4
22
|
|
|
5
23
|
### Added
|
package/README.md
CHANGED
|
@@ -73,6 +73,8 @@ localdeck init --name web --command 'python3 -m http.server {port}'
|
|
|
73
73
|
|
|
74
74
|
LocalDeck supplies `PORT` and expands `{port}` to the application's upstream port. It can also detect listening ports on macOS, Linux, and Windows. Configure `upstream` explicitly when detection is unavailable. The optional `port` field is the stable proxy port, not the port your development server should bind.
|
|
75
75
|
|
|
76
|
+
For scripts such as `wrangler dev --port ${API_PORT:-8787}`, LocalDeck also supplies the assigned port through `API_PORT`, without editing your project. It follows individual npm, pnpm, Yarn and Bun scripts, including npm workspace selectors and package directory options. Explicit service `env` settings and secrets take precedence over inferred variables. Complex shell commands and hardcoded ports continue to use normal socket detection.
|
|
77
|
+
|
|
76
78
|
See configuration (included as `docs/configuration.md`) for working directories, profiles, environment references, database services, and advanced readiness checks.
|
|
77
79
|
|
|
78
80
|
## Inspect requests
|
|
@@ -143,6 +145,7 @@ Use `localdeck mcp --project <id>` to restrict access to one remembered project.
|
|
|
143
145
|
## Troubleshooting
|
|
144
146
|
|
|
145
147
|
- **Port already in use:** check `localdeck ps` and the service logs. LocalDeck does not terminate unrelated processes. For a strict-port development server, use its assigned `PORT` or configure the correct `upstream`.
|
|
148
|
+
- **Daemon running but CLI cannot find it after sudo:** run `sudo localdeck daemon stop` once, then `localdeck daemon start` as your normal user. Keep the daemon state private. Use sudo only for a global npm installation when required, not for LocalDeck runtime commands.
|
|
146
149
|
- **Sharing fails:** check `cloudflared --version`, network connectivity, and the sharing error. A local app can work while Cloudflare DNS is unavailable.
|
|
147
150
|
- **Changes or upgrades do not take effect:** the daemon keeps the code it loaded at startup. Restart it, then start your services again:
|
|
148
151
|
|