@akanjs/devkit 3.0.0-alpha.23 → 3.0.0-alpha.25
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.
|
@@ -200,7 +200,7 @@ export class IncrementalBuilderHost {
|
|
|
200
200
|
// one at a time, into the dev error page a recycle is supposed to be invisible to. `ready` the
|
|
201
201
|
// field is deliberately untouched: `onExit` reads it to tell a planned exit from a boot failure.
|
|
202
202
|
this.#status = "recycling";
|
|
203
|
-
this.logger.
|
|
203
|
+
this.logger.debug(`recycling builder pid=${proc.pid} (${reason})`);
|
|
204
204
|
this.#recycleTimer = setTimeout(() => {
|
|
205
205
|
this.#recycleTimer = null;
|
|
206
206
|
if (this.#proc !== proc) return;
|
|
@@ -185,7 +185,7 @@ class IncrementalBuilder {
|
|
|
185
185
|
if (this.#shuttingDown) return;
|
|
186
186
|
this.#shuttingDown = true;
|
|
187
187
|
const started = Date.now();
|
|
188
|
-
this.#logger.
|
|
188
|
+
this.#logger.debug(`shutdown requested (${reason}); draining ${this.#inFlight} work item(s)`);
|
|
189
189
|
if (this.#cssRebuildTimer) {
|
|
190
190
|
// Only reachable if a css batch landed between the idle report and this request: the fresh
|
|
191
191
|
// boot build recompiles css from scratch anyway, so dropping the debounce loses nothing.
|
|
@@ -200,7 +200,7 @@ class IncrementalBuilder {
|
|
|
200
200
|
// flushed — a `css-updated` relayed milliseconds before this line would be dropped with no error
|
|
201
201
|
// anywhere, leaving the backend serving the previous bundle. See `BuilderChannel`.
|
|
202
202
|
const flushed = await BuilderChannel.drain();
|
|
203
|
-
this.#logger.
|
|
203
|
+
this.#logger.debug(
|
|
204
204
|
`drained in ${Date.now() - started}ms${flushed ? ` after flushing ${flushed} ipc write(s)` : ""}; exiting for recycle`,
|
|
205
205
|
);
|
|
206
206
|
process.exit(0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/devkit",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.25",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@langchain/openai": "^1.4.6",
|
|
46
46
|
"@tailwindcss/node": "^4.3.0",
|
|
47
47
|
"@trapezedev/project": "^7.1.4",
|
|
48
|
-
"akanjs": "3.0.0-alpha.
|
|
48
|
+
"akanjs": "3.0.0-alpha.25",
|
|
49
49
|
"chalk": "^5.6.2",
|
|
50
50
|
"commander": "^14.0.3",
|
|
51
51
|
"dayjs": "^1.11.20",
|