diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 08aadb6..364c8b0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -266,6 +266,9 @@ importers: lucide-react: specifier: ^0.562.0 version: 0.562.0(react@19.2.4) + monaco-editor: + specifier: ^0.55.1 + version: 0.55.1 react: specifier: ^19.2.0 version: 19.2.4 diff --git a/web/package.json b/web/package.json index 028a5cd..5ffedbe 100644 --- a/web/package.json +++ b/web/package.json @@ -28,6 +28,7 @@ "@dnd-kit/utilities": "^3.2.2", "@monaco-editor/react": "^4.7.0", "lucide-react": "^0.562.0", + "monaco-editor": "^0.55.1", "react": "^19.2.0", "react-dom": "^19.2.0", "react-router-dom": "^7.14.2", diff --git a/web/src/components/strategy/CodeStrategyEditor.dom.test.tsx b/web/src/components/strategy/CodeStrategyEditor.dom.test.tsx index e171ef3..f2da623 100644 --- a/web/src/components/strategy/CodeStrategyEditor.dom.test.tsx +++ b/web/src/components/strategy/CodeStrategyEditor.dom.test.tsx @@ -9,6 +9,7 @@ const { createTradeProfileMock } = vi.hoisted(() => ({ })); vi.mock('@monaco-editor/react', () => ({ + loader: { config: vi.fn() }, default: ({ value, onChange }: any) => (