Skip to content

Commit 47fd3ae

Browse files
committed
chore: uniform to roo-rocket only, remove config-rocket
Also solve a lint errror
1 parent 2d51d5e commit 47fd3ae

File tree

10 files changed

+17
-47
lines changed

10 files changed

+17
-47
lines changed

pnpm-lock.yaml

Lines changed: 8 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@
368368
"cheerio": "^1.0.0",
369369
"chokidar": "^4.0.1",
370370
"clone-deep": "^4.0.1",
371-
"config-rocket": "^0.6.1",
372371
"default-shell": "^2.2.0",
373372
"delay": "^6.0.0",
374373
"diff": "^5.2.0",
@@ -400,7 +399,7 @@
400399
"puppeteer-chromium-resolver": "^23.0.0",
401400
"puppeteer-core": "^23.4.0",
402401
"reconnecting-eventsource": "^1.6.4",
403-
"roo-rocket": "^0.5.0",
402+
"roo-rocket": "^0.5.1",
404403
"sanitize-filename": "^1.6.3",
405404
"say": "^0.16.0",
406405
"serialize-error": "^11.0.3",

src/services/marketplace/MarketplaceManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
import { getUserLocale } from "./utils"
1717
import { GlobalFileNames } from "../../shared/globalFileNames"
1818
import { assertsMpContext, createHookable, MarketplaceContext, registerMarketplaceHooks } from "roo-rocket"
19-
import { assertsBinarySha256, unpackFromUint8, extractRocketConfigFromUint8 } from "config-rocket/cli"
19+
import { assertsBinarySha256, unpackFromUint8, extractRocketConfigFromUint8 } from "roo-rocket"
2020
import { getPanel } from "../../activate/registerCommands"
2121
import { ensureSettingsDirectoryExists } from "../../utils/globalContext"
2222
import { InstalledMetadataManager, ItemInstalledMetadata } from "./InstalledMetadataManager"

src/services/marketplace/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RocketConfig } from "config-rocket"
1+
import type { RocketConfig } from "roo-rocket"
22

33
/**
44
* Information about why an item matched search/filter criteria

webview-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"class-variance-authority": "^0.7.1",
3939
"clsx": "^2.1.1",
4040
"cmdk": "^1.0.0",
41-
"config-rocket": "^0.6.1",
4241
"date-fns": "^4.1.0",
4342
"debounce": "^2.1.1",
4443
"fast-deep-equal": "^3.1.3",
@@ -61,6 +60,7 @@
6160
"rehype-highlight": "^7.0.0",
6261
"remark-gfm": "^4.0.1",
6362
"remove-markdown": "^0.6.0",
63+
"roo-rocket": "^0.5.1",
6464
"shell-quote": "^1.8.2",
6565
"shiki": "^3.2.1",
6666
"source-map": "^0.7.4",

webview-ui/src/components/marketplace/InstallSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useState } from "react"
22
import { VSCodeButton, VSCodeTextField, VSCodeCheckbox } from "@vscode/webview-ui-toolkit/react"
33
import { MarketplaceItem } from "../../../../src/services/marketplace/types"
4-
import type { RocketConfig } from "config-rocket"
4+
import type { RocketConfig } from "roo-rocket"
55

66
interface MarketplaceInstallSidebarProps {
77
item: MarketplaceItem

webview-ui/src/components/marketplace/MarketplaceView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import InstallSidebar from "./InstallSidebar"
99
import { useEvent } from "react-use"
1010
import { ExtensionMessage } from "@roo/shared/ExtensionMessage"
1111
import { vscode } from "@/utils/vscode"
12-
import type { RocketConfig } from "config-rocket"
12+
import type { RocketConfig } from "roo-rocket"
1313
import { MarketplaceSourcesConfig } from "./MarketplaceSourcesConfigView"
1414
import { MarketplaceListView } from "./MarketplaceListView"
1515
import { cn } from "@/lib/utils"

webview-ui/src/components/marketplace/__tests__/InstallSidebar.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { fireEvent, screen } from "@testing-library/react"
22
import InstallSidebar from "../InstallSidebar"
33
import { MarketplaceItem } from "../../../../../src/services/marketplace/types"
4-
import type { RocketConfig } from "config-rocket"
4+
import type { RocketConfig } from "roo-rocket"
55
import { renderWithProviders } from "@/test/test-utils"
66

77
// Mock VSCode components

webview-ui/src/components/marketplace/__tests__/MarketplaceView.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { MarketplaceItem } from "../../../../../src/services/marketplace/types"
44
import { ViewState } from "../MarketplaceViewStateManager"
55
import userEvent from "@testing-library/user-event"
66
import { TooltipProvider } from "@/components/ui/tooltip"
7-
import type { RocketConfig } from "config-rocket"
7+
import type { RocketConfig } from "roo-rocket"
88
import { ExtensionStateContext } from "@/context/ExtensionStateContext"
99

1010
const mockPostMessage = jest.fn()

webview-ui/src/components/marketplace/components/TypeGroup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const TypeGroup: React.FC<TypeGroupProps> = ({ type, items, className })
9494
</div>
9595
)
9696
}
97-
}, [items, t, type])
97+
}, [items, type])
9898

9999
if (!items?.length) {
100100
return null

0 commit comments

Comments
 (0)