Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ jobs:
include:
- os: ubuntu-latest
node: lts/-1
- os: ubuntu-latest
node: latest
# reenable once localStorage issue is addressed in node 25:
# https://github.com/nodejs/node/issues/60303
# - os: ubuntu-latest
# node: latest
fail-fast: false

runs-on: ${{ matrix.os }}
Expand Down
8 changes: 5 additions & 3 deletions ark/attest/cache/ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { fromCwd, readFile, type SourcePosition } from "@ark/fs"
import { printable, throwError, throwInternalError, type dict } from "@ark/util"
import * as tsvfs from "@typescript/vfs"
import { readFileSync } from "node:fs"
import { dirname, join } from "node:path"
import { resolve, dirname, join } from "node:path"
import ts from "typescript"
import { getConfig } from "../config.ts"

Expand Down Expand Up @@ -198,12 +198,14 @@ const instantiateTsconfigFromPath = (
arkConfig.compilerOptions
)

const configPath = resolve(path)

const instantiatedConfig = ts.parseJsonConfigFileContent(
rawConfig,
ts.sys,
dirname(path),
dirname(configPath),
{},
path
configPath
)

if (instantiatedConfig.errors.length > 0)
Expand Down
2 changes: 1 addition & 1 deletion ark/docs/components/dts/util.ts

Large diffs are not rendered by default.