Skip to content

Commit 3a6d2b1

Browse files
Merge pull request #3016 from plotly/jlab3
support JupyterLab 3 in extensions
2 parents 45ddf75 + 83d820b commit 3a6d2b1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Diff for: packages/javascript/jupyterlab-plotly/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"dependencies": {
3434
"plotly.js": "^1.58.2",
3535
"@types/plotly.js": "1.44.28",
36-
"@jupyterlab/rendermime-interfaces": "^1.3.0 || ^2.0.0",
36+
"@jupyterlab/rendermime-interfaces": "^1.3.0 || ^2.0.0 || ^3.0.0",
3737
"@lumino/messaging": "^1.2.3",
3838
"@lumino/widgets": "^1.8.1",
3939
"lodash": "^4.17.4"

Diff for: packages/javascript/plotlywidget/package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@
3838
"lodash": "^4.17.4"
3939
},
4040
"jupyterlab": {
41-
"extension": "src/jupyterlab-plugin.js"
41+
"extension": "src/jupyterlab-plugin.js",
42+
"sharedPackages": {
43+
"@jupyter-widgets/base": {
44+
"bundled": false,
45+
"singleton": true
46+
}
47+
}
4248
}
4349
}

0 commit comments

Comments
 (0)