localdeck 1.2.0 → 1.2.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.
- package/CHANGELOG.md +12 -0
- package/README.md +2 -0
- package/dashboard/assets/index-BzX_uJtU.js +20 -0
- package/dashboard/assets/index-DbQzubLF.css +1 -0
- package/dashboard/index.html +2 -2
- package/dist/{index-zmpw8b4a.js → index-19n321tr.js} +188 -34
- package/dist/index.js +13 -3
- package/dist/{mcp-dwx4ja4k.js → mcp-vkez9mq7.js} +1 -1
- package/dist/{update-sfxqqdjp.js → update-nx00r38m.js} +1 -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,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.1 — Automatic port variables and visible runtime ports
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
- 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.
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Show “Running on port X” with the actual app port and a separately labeled proxy port in the dashboard.
|
|
13
|
+
- Distinguish assigned, configured, listening, stopping, and last-used ports so startup and stopped services are not reported as running.
|
|
14
|
+
|
|
3
15
|
## 1.2.0 — Command palette
|
|
4
16
|
|
|
5
17
|
### 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
|