Skip to content

Commit

Permalink
Iterate
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Oct 15, 2024
1 parent 3a9718c commit d7c28ab
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
14 changes: 10 additions & 4 deletions packages/widgets_manager7/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ const WIDGET_MIMETYPE = 'application/vnd.jupyter.widget-view+json';
/**
* The Voila widgets manager plugin.
*/
export const widgetManager: JupyterFrontEndPlugin<IJupyterWidgetRegistry> = {
id: '@voila-dashboards/voila:widget-manager',
const widgetManager: JupyterFrontEndPlugin<IJupyterWidgetRegistry> = {
id: '@voila-dashboards/voila:widget-manager7',
autoStart: true,
requires: [IRenderMimeRegistry],
provides: IJupyterWidgetRegistry,
Expand Down Expand Up @@ -132,7 +132,7 @@ export const widgetManager: JupyterFrontEndPlugin<IJupyterWidgetRegistry> = {
/**
* The base widgets.
*/
export const baseWidgets7Plugin: JupyterFrontEndPlugin<void> = {
const baseWidgets7Plugin: JupyterFrontEndPlugin<void> = {
id: `@jupyter-widgets/jupyterlab-manager:base-${JUPYTER_WIDGETS_VERSION}`,
requires: [IJupyterWidgetRegistry],
autoStart: true,
Expand Down Expand Up @@ -160,7 +160,7 @@ export const baseWidgets7Plugin: JupyterFrontEndPlugin<void> = {
/**
* The control widgets.
*/
export const controlWidgets7Plugin: JupyterFrontEndPlugin<void> = {
const controlWidgets7Plugin: JupyterFrontEndPlugin<void> = {
id: `@jupyter-widgets/jupyterlab-manager:controls-${JUPYTER_CONTROLS_VERSION}`,
requires: [IJupyterWidgetRegistry],
autoStart: true,
Expand Down Expand Up @@ -189,3 +189,9 @@ export const controlWidgets7Plugin: JupyterFrontEndPlugin<void> = {
});
}
};

export default [
widgetManager,
baseWidgets7Plugin,
controlWidgets7Plugin
];
8 changes: 6 additions & 2 deletions packages/widgets_manager8/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ const WIDGET_MIMETYPE = 'application/vnd.jupyter.widget-view+json';
/**
* The Voila widgets manager plugin.
*/
export const widgetManager: JupyterFrontEndPlugin<IJupyterWidgetRegistry> = {
id: '@voila-dashboards/voila:widget-manager',
const widgetManager: JupyterFrontEndPlugin<IJupyterWidgetRegistry> = {
id: '@voila-dashboards/voila:widget-manager8',
autoStart: true,
requires: [IRenderMimeRegistry],
provides: IJupyterWidgetRegistry,
Expand Down Expand Up @@ -88,3 +88,7 @@ export const widgetManager: JupyterFrontEndPlugin<IJupyterWidgetRegistry> = {
};
}
};

export default [
widgetManager
];
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16698,7 +16698,7 @@ __metadata:

"typescript@patch:typescript@>=3 < 6#~builtin<compat/typescript>":
version: 5.6.3
resolution: "typescript@patch:typescript@npm%3A5.6.3#~builtin<compat/typescript>::version=5.6.3&hash=e012d7"
resolution: "typescript@patch:typescript@npm%3A5.6.3#~builtin<compat/typescript>::version=5.6.3&hash=85af82"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
Expand All @@ -16708,11 +16708,11 @@ __metadata:

"typescript@patch:typescript@~5.0.2#~builtin<compat/typescript>":
version: 5.0.4
resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin<compat/typescript>::version=5.0.4&hash=b5f058"
resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin<compat/typescript>::version=5.0.4&hash=85af82"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: d26b6ba97b6d163c55dbdffd9bbb4c211667ebebc743accfeb2c8c0154aace7afd097b51165a72a5bad2cf65a4612259344ff60f8e642362aa1695c760d303ac
checksum: bb309d320c59a26565fb3793dba550576ab861018ff3fd1b7fccabbe46ae4a35546bc45f342c0a0b6f265c801ccdf64ffd68f548f117ceb7f0eac4b805cd52a9
languageName: node
linkType: hard

Expand Down

0 comments on commit d7c28ab

Please sign in to comment.