@absolutejs/absolute 0.20.0-beta.163 → 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 CHANGED
@@ -6,6 +6,13 @@ 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
+
9
16
  ## 0.20.0-beta.163 — 2026-11-02
10
17
 
11
18
  ### Fixed
package/changelog.json CHANGED
@@ -2,6 +2,17 @@
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
+ },
5
16
  {
6
17
  "changes": [
7
18
  {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- // .angular-partial-tmp-IZlOYE/src/core/streamingSlotRegistrar.ts
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-IZlOYE/src/core/streamingSlotRegistrar.ts
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-IZlOYE/src/core/streamingSlotRegistry.ts
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";
package/dist/cli/index.js CHANGED
@@ -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-w6kex2xj.js");
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 { resolve as resolve2, join, relative } from "path";
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: checker === "tsc" ? { rootDir: ".." } : {},
1309
+ compilerOptions: {
1310
+ rootDir: checker === "tsc" ? ".." : parse3(resolve2(".")).root
1311
+ },
1310
1312
  exclude: getProjectTypecheckExcludes(),
1311
1313
  extends: resolve2("tsconfig.json"),
1312
1314
  include: getProjectTypecheckIncludes()
package/package.json CHANGED
@@ -561,7 +561,7 @@
561
561
  ]
562
562
  }
563
563
  },
564
- "version": "0.20.0-beta.163",
564
+ "version": "0.20.0-beta.164",
565
565
  "workspaces": [
566
566
  "tests/fixtures/*",
567
567
  "tests/fixtures/_packages/*"