Skip to content

Commit 51405f6

Browse files
committed
fix: correct import path for @roo-code/types in migrateSettings.ts
1 parent 644034a commit 51405f6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"main": "./dist/index.cjs",
66
"exports": {
77
".": {
8-
"types": "./dist/index.d.ts",
9-
"import": "./dist/index.js",
8+
"types": "./src/index.ts",
9+
"import": "./src/index.ts",
1010
"require": {
1111
"types": "./dist/index.d.cts",
1212
"default": "./dist/index.cjs"

src/utils/__tests__/migrateSettings.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { describe, it, expect, vi, beforeEach } from "vitest"
22
import { migrateTaskHistoryWithContextProxy } from "../migrateSettings"
33
import type { ContextProxy } from "../../core/config/ContextProxy"
4-
import type { HistoryItem } from "../../../packages/types/src"
4+
import type { HistoryItem } from "@roo-code/types"
55

66
describe("migrateTaskHistoryWithContextProxy", () => {
77
let mockContextProxy: any

src/utils/migrateSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { fileExistsAtPath } from "./fs"
55
import { GlobalFileNames } from "../shared/globalFileNames"
66
import * as yaml from "yaml"
77
import type { ContextProxy } from "../core/config/ContextProxy"
8-
import type { HistoryItem } from "../../packages/types/src"
8+
import type { HistoryItem } from "@roo-code/types"
99

1010
const deprecatedCustomModesJSONFilename = "custom_modes.json"
1111

0 commit comments

Comments
 (0)