diff --git a/packages/widgets_manager7/src/index.ts b/packages/widgets_manager7/src/index.ts index fa098495c..63d3795ce 100644 --- a/packages/widgets_manager7/src/index.ts +++ b/packages/widgets_manager7/src/index.ts @@ -39,8 +39,8 @@ const WIDGET_MIMETYPE = 'application/vnd.jupyter.widget-view+json'; /** * The Voila widgets manager plugin. */ -export const widgetManager: JupyterFrontEndPlugin = { - id: '@voila-dashboards/voila:widget-manager', +const widgetManager: JupyterFrontEndPlugin = { + id: '@voila-dashboards/voila:widget-manager7', autoStart: true, requires: [IRenderMimeRegistry], provides: IJupyterWidgetRegistry, @@ -132,7 +132,7 @@ export const widgetManager: JupyterFrontEndPlugin = { /** * The base widgets. */ -export const baseWidgets7Plugin: JupyterFrontEndPlugin = { +const baseWidgets7Plugin: JupyterFrontEndPlugin = { id: `@jupyter-widgets/jupyterlab-manager:base-${JUPYTER_WIDGETS_VERSION}`, requires: [IJupyterWidgetRegistry], autoStart: true, @@ -160,7 +160,7 @@ export const baseWidgets7Plugin: JupyterFrontEndPlugin = { /** * The control widgets. */ -export const controlWidgets7Plugin: JupyterFrontEndPlugin = { +const controlWidgets7Plugin: JupyterFrontEndPlugin = { id: `@jupyter-widgets/jupyterlab-manager:controls-${JUPYTER_CONTROLS_VERSION}`, requires: [IJupyterWidgetRegistry], autoStart: true, @@ -189,3 +189,9 @@ export const controlWidgets7Plugin: JupyterFrontEndPlugin = { }); } }; + +export default [ + widgetManager, + baseWidgets7Plugin, + controlWidgets7Plugin +]; diff --git a/packages/widgets_manager8/src/index.ts b/packages/widgets_manager8/src/index.ts index 918f5ed29..ddf94ccdc 100644 --- a/packages/widgets_manager8/src/index.ts +++ b/packages/widgets_manager8/src/index.ts @@ -27,8 +27,8 @@ const WIDGET_MIMETYPE = 'application/vnd.jupyter.widget-view+json'; /** * The Voila widgets manager plugin. */ -export const widgetManager: JupyterFrontEndPlugin = { - id: '@voila-dashboards/voila:widget-manager', +const widgetManager: JupyterFrontEndPlugin = { + id: '@voila-dashboards/voila:widget-manager8', autoStart: true, requires: [IRenderMimeRegistry], provides: IJupyterWidgetRegistry, @@ -88,3 +88,7 @@ export const widgetManager: JupyterFrontEndPlugin = { }; } }; + +export default [ + widgetManager +]; diff --git a/yarn.lock b/yarn.lock index cf0d282a2..b9e8035eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16698,7 +16698,7 @@ __metadata: "typescript@patch:typescript@>=3 < 6#~builtin": version: 5.6.3 - resolution: "typescript@patch:typescript@npm%3A5.6.3#~builtin::version=5.6.3&hash=e012d7" + resolution: "typescript@patch:typescript@npm%3A5.6.3#~builtin::version=5.6.3&hash=85af82" bin: tsc: bin/tsc tsserver: bin/tsserver @@ -16708,11 +16708,11 @@ __metadata: "typescript@patch:typescript@~5.0.2#~builtin": version: 5.0.4 - resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=b5f058" + resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=85af82" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: d26b6ba97b6d163c55dbdffd9bbb4c211667ebebc743accfeb2c8c0154aace7afd097b51165a72a5bad2cf65a4612259344ff60f8e642362aa1695c760d303ac + checksum: bb309d320c59a26565fb3793dba550576ab861018ff3fd1b7fccabbe46ae4a35546bc45f342c0a0b6f265c801ccdf64ffd68f548f117ceb7f0eac4b805cd52a9 languageName: node linkType: hard