@absolutejs/absolute 0.20.0-beta.162 → 0.20.0-beta.164
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 +14 -0
- package/changelog.json +22 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/cli/{index-f82hvr9c.js → index-vkba3289.js} +5 -0
- package/dist/cli/index.js +4 -4
- package/dist/cli/{mobile-2f54v4by.js → mobile-41sev6v0.js} +1 -1
- package/dist/cli/{start-0bx1rkx4.js → start-0ebxkwga.js} +1 -1
- package/dist/cli/{typecheck-w6kex2xj.js → typecheck-7yhekrc0.js} +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,20 @@ This file is generated by `absolute-changelog` from the entries in
|
|
|
6
6
|
`changelog/`. Edit an entry, not this file — and add new ones under
|
|
7
7
|
`changelog/unreleased/`.
|
|
8
8
|
|
|
9
|
+
## 0.20.0-beta.164 — 2026-11-02
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **`absolute typecheck` works for projects whose tsconfig sets outDir**
|
|
14
|
+
`absolute typecheck` failed with TS6059 on every source file of a project whose tsconfig sets `outDir`. TypeScript 7 requires every file to sit under rootDir even when nothing is emitted, and with rootDir unset it defaults to the directory of the generated config, `.absolutejs`, whenever outDir is set; the AbsoluteJS docs site reported 20 such errors and its CI had to use plain tsc. bun check never emits, so its generated config now roots the check at the filesystem root, which contains every file it reads, including a script kept beside the project. Real type errors are reported as before; tsc's incremental check keeps the project root.
|
|
15
|
+
|
|
16
|
+
## 0.20.0-beta.163 — 2026-11-02
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **Stopping `absolute start` also stops the server it started**
|
|
21
|
+
Stopping an `absolute start` that had built (not `--prebuilt`) with SIGTERM left the server it spawned running and holding its port. The build directory lock handles SIGTERM by releasing its locks and exiting, and its handler is registered while the build runs, before `absolute start` installs the one that stops the server, so the process exited first. `absolute start` now also stops its server from an `exit` listener, which runs on any exit, `process.exit` included, as `absolute dev` already does for its child.
|
|
22
|
+
|
|
9
23
|
## 0.20.0-beta.162 — 2026-11-02
|
|
10
24
|
|
|
11
25
|
### Fixed
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/absolute",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"changes": [
|
|
7
|
+
{
|
|
8
|
+
"detail": "`absolute typecheck` failed with TS6059 on every source file of a project whose tsconfig sets `outDir`. TypeScript 7 requires every file to sit under rootDir even when nothing is emitted, and with rootDir unset it defaults to the directory of the generated config, `.absolutejs`, whenever outDir is set; the AbsoluteJS docs site reported 20 such errors and its CI had to use plain tsc. bun check never emits, so its generated config now roots the check at the filesystem root, which contains every file it reads, including a script kept beside the project. Real type errors are reported as before; tsc's incremental check keeps the project root.",
|
|
9
|
+
"kind": "fixed",
|
|
10
|
+
"summary": "`absolute typecheck` works for projects whose tsconfig sets outDir"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"date": "2026-11-02",
|
|
14
|
+
"version": "0.20.0-beta.164"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"changes": [
|
|
18
|
+
{
|
|
19
|
+
"detail": "Stopping an `absolute start` that had built (not `--prebuilt`) with SIGTERM left the server it spawned running and holding its port. The build directory lock handles SIGTERM by releasing its locks and exiting, and its handler is registered while the build runs, before `absolute start` installs the one that stops the server, so the process exited first. `absolute start` now also stops its server from an `exit` listener, which runs on any exit, `process.exit` included, as `absolute dev` already does for its child.",
|
|
20
|
+
"kind": "fixed",
|
|
21
|
+
"summary": "Stopping `absolute start` also stops the server it started"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"date": "2026-11-02",
|
|
25
|
+
"version": "0.20.0-beta.163"
|
|
26
|
+
},
|
|
5
27
|
{
|
|
6
28
|
"changes": [
|
|
7
29
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// .angular-partial-tmp-
|
|
2
|
+
// .angular-partial-tmp-3SfpvV/src/core/streamingSlotRegistrar.ts
|
|
3
3
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
4
4
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
5
5
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// .angular-partial-tmp-
|
|
2
|
+
// .angular-partial-tmp-3SfpvV/src/core/streamingSlotRegistrar.ts
|
|
3
3
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
4
4
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
5
5
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -46,7 +46,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
46
46
|
getWarningController()?.maybeWarn(primitiveName);
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
// .angular-partial-tmp-
|
|
49
|
+
// .angular-partial-tmp-3SfpvV/src/core/streamingSlotRegistry.ts
|
|
50
50
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
51
51
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
52
52
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
|
@@ -282,6 +282,11 @@ var runPreparedServer = async ({
|
|
|
282
282
|
};
|
|
283
283
|
process.on("SIGINT", () => cleanup(0));
|
|
284
284
|
process.on("SIGTERM", () => cleanup(0));
|
|
285
|
+
process.on("exit", () => {
|
|
286
|
+
try {
|
|
287
|
+
serverProcess.kill();
|
|
288
|
+
} catch {}
|
|
289
|
+
});
|
|
285
290
|
const exitCode = await serverProcess.exited;
|
|
286
291
|
if (cleaning)
|
|
287
292
|
return;
|
package/dist/cli/index.js
CHANGED
|
@@ -70,7 +70,7 @@ if (command === "dev") {
|
|
|
70
70
|
const configPath = parseNamedArg("--config");
|
|
71
71
|
const positionalArgs = stripNamedArgs("--outdir", "--config").filter((arg) => arg !== "--prebuilt");
|
|
72
72
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
73
|
-
const { start } = await import("./start-
|
|
73
|
+
const { start } = await import("./start-0ebxkwga.js");
|
|
74
74
|
await start(serverEntry, outdir, configPath, {
|
|
75
75
|
prebuilt: args.includes("--prebuilt")
|
|
76
76
|
});
|
|
@@ -80,7 +80,7 @@ if (command === "dev") {
|
|
|
80
80
|
const configPath = parseNamedArg("--config");
|
|
81
81
|
const positionalArgs = stripNamedArgs("--outdir", "--config");
|
|
82
82
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
83
|
-
const { start } = await import("./start-
|
|
83
|
+
const { start } = await import("./start-0ebxkwga.js");
|
|
84
84
|
await start(serverEntry, outdir, configPath, { prepareOnly: true });
|
|
85
85
|
} else if (command === "build") {
|
|
86
86
|
sendTelemetryEvent("cli:command", { command });
|
|
@@ -211,7 +211,7 @@ if (command === "dev") {
|
|
|
211
211
|
sendTelemetryEvent("cli:command", {
|
|
212
212
|
command: `mobile:${workspaceCommand ?? "unknown"}`
|
|
213
213
|
});
|
|
214
|
-
const { runMobile } = await import("./mobile-
|
|
214
|
+
const { runMobile } = await import("./mobile-41sev6v0.js");
|
|
215
215
|
try {
|
|
216
216
|
await runMobile(args);
|
|
217
217
|
} catch (error) {
|
|
@@ -221,7 +221,7 @@ if (command === "dev") {
|
|
|
221
221
|
} else if (command === "typecheck") {
|
|
222
222
|
sendTelemetryEvent("cli:command", { command });
|
|
223
223
|
const configPath = parseNamedArg("--config");
|
|
224
|
-
const { typecheck } = await import("./typecheck-
|
|
224
|
+
const { typecheck } = await import("./typecheck-7yhekrc0.js");
|
|
225
225
|
await typecheck(configPath);
|
|
226
226
|
} else if (command === "migrate") {
|
|
227
227
|
sendTelemetryEvent("cli:command", { command });
|
|
@@ -19,7 +19,7 @@ import"./index-74m7kh8c.js";
|
|
|
19
19
|
import"./index-kye08pjx.js";
|
|
20
20
|
|
|
21
21
|
// src/cli/scripts/typecheck.ts
|
|
22
|
-
import {
|
|
22
|
+
import { join, parse as parse3, relative, resolve as resolve2 } from "path";
|
|
23
23
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
|
|
24
24
|
import { mkdir, rm, writeFile } from "fs/promises";
|
|
25
25
|
|
|
@@ -1306,7 +1306,9 @@ var buildAngularCheck = async (cacheDir, angularDir) => {
|
|
|
1306
1306
|
var writeTypecheckConfig = async (cacheDir, checker) => {
|
|
1307
1307
|
const tscConfigPath = join(cacheDir, checker === "tsc" ? "tsconfig.typecheck.json" : "tsconfig.typecheck.bun.json");
|
|
1308
1308
|
await writeFile(tscConfigPath, JSON.stringify({
|
|
1309
|
-
compilerOptions:
|
|
1309
|
+
compilerOptions: {
|
|
1310
|
+
rootDir: checker === "tsc" ? ".." : parse3(resolve2(".")).root
|
|
1311
|
+
},
|
|
1310
1312
|
exclude: getProjectTypecheckExcludes(),
|
|
1311
1313
|
extends: resolve2("tsconfig.json"),
|
|
1312
1314
|
include: getProjectTypecheckIncludes()
|