Skip to content

Commit

Permalink
build: Add @deephaven/console as shared package (#2205)
Browse files Browse the repository at this point in the history
- Allows plugins to use context of @deephaven/console
- Will be needed eventually for
deephaven/deephaven-plugins#781
  • Loading branch information
mofojed committed Sep 17, 2024
1 parent 1503a37 commit 611ec2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/app-utils/src/plugins/remote-component.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import * as DeephavenIrisGrid from '@deephaven/iris-grid';
import * as DeephavenJsapiBootstrap from '@deephaven/jsapi-bootstrap';
import * as DeephavenJsapiComponents from '@deephaven/jsapi-components';
import * as DeephavenJsapiUtils from '@deephaven/jsapi-utils';
import * as DeephavenConsole from '@deephaven/console';
import DeephavenLog from '@deephaven/log';
import * as DeephavenReactHooks from '@deephaven/react-hooks';
import * as DeephavenPlugin from '@deephaven/plugin';
Expand All @@ -33,6 +34,7 @@ export const resolve = {
'@deephaven/auth-plugins': DeephavenAuthPlugins,
'@deephaven/chart': DeephavenChart,
'@deephaven/components': DeephavenComponents,
'@deephaven/console': DeephavenConsole,
'@deephaven/dashboard': DeephavenDashboard,
'@deephaven/dashboard-core-plugins': DeephavenDashboardCorePlugins,
'@deephaven/icons': DeephavenIcons,
Expand Down
2 changes: 1 addition & 1 deletion packages/console/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export { default as SHORTCUTS } from './ConsoleShortcuts';
export { default as ConsoleStatusBar } from './ConsoleStatusBar';
export * from './monaco/MonacoThemeProvider';
export { default as MonacoUtils } from './monaco/MonacoUtils';
export { default as Editor } from './notebook/Editor';
export { default as Editor, type EditorProps } from './notebook/Editor';
export { default as ScriptEditor } from './notebook/ScriptEditor';
export { default as ScriptEditorUtils } from './notebook/ScriptEditorUtils';
export * from './common';
Expand Down
2 changes: 1 addition & 1 deletion packages/console/src/notebook/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { assertNotNull } from '@deephaven/utils';
import MonacoUtils from '../monaco/MonacoUtils';
import './Editor.scss';

interface EditorProps {
export interface EditorProps {
className: string;
onEditorInitialized: (editor: monaco.editor.IStandaloneCodeEditor) => void;
onEditorWillDestroy: (editor: monaco.editor.IStandaloneCodeEditor) => void;
Expand Down

0 comments on commit 611ec2c

Please sign in to comment.