fix: correct import path for @roo-code/types in migrateSettings.ts

This commit is contained in:
hannesrudolph 2025-07-01 15:49:14 -06:00
parent 644034a344
commit 51405f6062
3 changed files with 4 additions and 4 deletions

View file

@ -5,8 +5,8 @@
"main": "./dist/index.cjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"types": "./src/index.ts",
"import": "./src/index.ts",
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"

View file

@ -1,7 +1,7 @@
import { describe, it, expect, vi, beforeEach } from "vitest"
import { migrateTaskHistoryWithContextProxy } from "../migrateSettings"
import type { ContextProxy } from "../../core/config/ContextProxy"
import type { HistoryItem } from "../../../packages/types/src"
import type { HistoryItem } from "@roo-code/types"
describe("migrateTaskHistoryWithContextProxy", () => {
let mockContextProxy: any

View file

@ -5,7 +5,7 @@ import { fileExistsAtPath } from "./fs"
import { GlobalFileNames } from "../shared/globalFileNames"
import * as yaml from "yaml"
import type { ContextProxy } from "../core/config/ContextProxy"
import type { HistoryItem } from "../../packages/types/src"
import type { HistoryItem } from "@roo-code/types"
const deprecatedCustomModesJSONFilename = "custom_modes.json"