@design.estate/wcctools 6.1.0 → 6.2.0
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 +20 -0
- package/dist_shell/bundle.js +405 -368
- package/dist_shell/bundle.js.map +1 -1
- package/dist_shell/bundle.js.third-party-notices.json +52 -0
- package/dist_shell/bundle.js.third-party-notices.txt +107 -1
- package/dist_shell/index.html +1 -1
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/classes.bundlestatus.d.ts +36 -0
- package/dist_ts/classes.bundlestatus.js +110 -0
- package/dist_ts/classes.devapi.d.ts +3 -0
- package/dist_ts/classes.devapi.js +8 -1
- package/dist_ts/classes.devserver.d.ts +45 -10
- package/dist_ts/classes.devserver.js +123 -49
- package/dist_ts/cli.js +5 -2
- package/dist_ts/index.d.ts +0 -2
- package/dist_ts/index.js +1 -3
- package/dist_ts_interfaces/requests.d.ts +35 -0
- package/dist_ts_shell/bundlestatus.d.ts +15 -0
- package/dist_ts_shell/bundlestatus.js +64 -0
- package/dist_ts_shell/elements/wcc-contextmenu.d.ts +3 -0
- package/dist_ts_shell/elements/wcc-contextmenu.js +18 -3
- package/dist_ts_shell/elements/wcc-preview-frame.d.ts +6 -0
- package/dist_ts_shell/elements/wcc-preview-frame.js +50 -2
- package/dist_ts_shell/elements/wcc-shell.d.ts +15 -0
- package/dist_ts_shell/elements/wcc-shell.js +45 -3
- package/dist_ts_shell/plugins.d.ts +2 -1
- package/dist_ts_shell/plugins.js +3 -2
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/package.json +5 -2
- package/readme.md +6 -2
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/classes.bundlestatus.ts +123 -0
- package/ts/classes.devapi.ts +9 -0
- package/ts/classes.devserver.ts +127 -47
- package/ts/cli.ts +4 -1
- package/ts/index.ts +0 -2
- package/ts_interfaces/bridge.ts +95 -0
- package/ts_interfaces/catalog.ts +37 -0
- package/ts_interfaces/index.ts +4 -0
- package/ts_interfaces/plugins.ts +3 -0
- package/ts_interfaces/requests.ts +65 -0
- package/ts_interfaces/standard.ts +103 -0
- package/ts_shared/index.ts +1 -0
- package/ts_shared/plugins.ts +3 -0
- package/ts_shared/previewroute.ts +58 -0
- package/ts_shell/bundlestatus.ts +68 -0
- package/ts_shell/elements/wcc-contextmenu.ts +306 -0
- package/ts_shell/elements/wcc-preview-frame.ts +167 -0
- package/ts_shell/elements/wcc-properties.ts +998 -0
- package/ts_shell/elements/wcc-record-button.ts +108 -0
- package/ts_shell/elements/wcc-recording-panel.ts +1005 -0
- package/ts_shell/elements/wcc-shell.ts +485 -0
- package/ts_shell/elements/wcc-sidebar.ts +1419 -0
- package/ts_shell/index.html +21 -0
- package/ts_shell/index.ts +4 -0
- package/ts_shell/plugins.ts +12 -0
- package/ts_shell/previewconnection.ts +103 -0
- package/ts_shell/services/recorder.service.ts +451 -0
- package/ts_shell/types/dom-mediacapture-stub/index.d.ts +12 -0
- package/ts_shell/types/dom-mediacapture-stub/package.json +6 -0
- package/ts_shell/types/dom-webcodecs-stub/index.d.ts +2 -0
- package/ts_shell/types/dom-webcodecs-stub/package.json +6 -0
- package/ts_web/00_commitinfo_data.ts +1 -1
package/changelog.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-10-06 - 6.2.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- The dev server serves the project directory it is given (`cwd`) instead of reading the process's working directory: tswatch resolves the configuration, bundles, watchers and serve directory against it. `wcctools dev` passes its working directory.
|
|
8
|
+
- The shell shows the catalog's bundle status: a failed bundle shows `bundle failed` with the bundler's message over the preview instead of an endlessly loading preview, and clears when the next run of that bundle finishes. The status (per bundle `started`/`finished`/`failed`, duration, error message) is the typed request `getBundleStatus` (`IReq_GetBundleStatus` in `@design.estate/wcctools/interfaces`), answered when the status changes; a request whose client goes away ends its wait at once, and a server that is stopping refuses the request with a typed error, so the shell backs off instead of asking again at once.
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
|
|
12
|
+
- `wcctools dev` installs the process lifecycle itself (smartexit's `ProcessLifecycle`, with tswatch's shutdown deadline), so `SIGINT` and `SIGTERM` stop the server and the watchers once.
|
|
13
|
+
- The dev server registers its shutdown cleanup when it starts and releases it, its bundle-event subscription and everything tswatch registered when it stops: a constructed server registers nothing, a server started again after `stop()` is stopped by a process shutdown again, concurrent `stop()` calls share one stop, and `start()` is refused while the server runs or stops.
|
|
14
|
+
- A shell context menu removed before its listener frame ran no longer leaves its `click`, `contextmenu` and `keydown` listeners on the document.
|
|
15
|
+
- The package entry `dist_ts/index.js` exports only `runCli`; the dev server and API classes were not reachable through any package export.
|
|
16
|
+
- The published package includes `ts_interfaces`, `ts_shared` and `ts_shell`, the sources the shipped source maps point at.
|
|
17
|
+
|
|
18
|
+
### Maintenance
|
|
19
|
+
|
|
20
|
+
- `@git.zone/tswatch` ^7.0.0: the dev server runs tswatch with an explicit project directory, falls back to the `element` preset explicitly when the configuration has no tswatch block, and no longer relies on tswatch for process signal handling.
|
|
21
|
+
- The lockfile takes `@push.rocks/smartspawn` 3.0.5, whose lazy `threads` loading leaves `SIGINT`/`SIGTERM` to the CLI.
|
|
22
|
+
|
|
3
23
|
## 2026-10-06 - 6.1.0
|
|
4
24
|
|
|
5
25
|
### Features
|