Skip to content

Commit 99dcd84

Browse files
gracefullightclaude
andcommitted
fix(deps): fix tsconfig and import path for typescript 6 compat
Remove deprecated baseUrl option and fix relative import path in test that relied on baseUrl resolution. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d80a3b3 commit 99dcd84

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

packages/design-tokens/src/__tests__/tokens.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
p3ToHex,
1111
xyzToLinearP3,
1212
} from "../../scripts/oklch-to-p3.js";
13-
import type { OklchColor } from "./src/tokens.js";
13+
import type { OklchColor } from "../tokens.js";
1414

1515
describe("OKLCH to P3 conversion", () => {
1616
describe("oklchToOklab", () => {

packages/design-tokens/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
"declarationMap": true,
1313
"outDir": "./dist",
1414
"rootDir": ".",
15-
"baseUrl": ".",
1615
"paths": {
17-
"@/*": ["src/*"]
16+
"@/*": ["./src/*"]
1817
}
1918
},
2019
"include": ["*.ts", "src/**/*.ts", "scripts/**/*.ts"],

0 commit comments

Comments
 (0)