@jupyter/collaboration-extension 3.1.0-rc.0 → 4.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/collaboration.js +3 -1
- package/package.json +15 -15
package/lib/collaboration.js
CHANGED
|
@@ -78,7 +78,9 @@ export const rtcGlobalAwarenessPlugin = {
|
|
|
78
78
|
var _a, _b;
|
|
79
79
|
const data = await state.toJSON();
|
|
80
80
|
const current = ((_b = (_a = data['layout-restorer:data']) === null || _a === void 0 ? void 0 : _a.main) === null || _b === void 0 ? void 0 : _b.current) || '';
|
|
81
|
-
|
|
81
|
+
// For example matches `notebook:Untitled.ipynb` or `editor:untitled.txt`,
|
|
82
|
+
// but not when in launcher or terminal.
|
|
83
|
+
if (current.match(/^\w+:.+/)) {
|
|
82
84
|
awareness.setLocalStateField('current', current);
|
|
83
85
|
}
|
|
84
86
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter/collaboration-extension",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-alpha.0",
|
|
4
4
|
"description": "JupyterLab - Real-Time Collaboration Extension",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -53,29 +53,29 @@
|
|
|
53
53
|
"watch:labextension": "jupyter labextension watch ."
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@jupyter/collaboration": "^
|
|
57
|
-
"@jupyter/collaborative-drive": "^
|
|
58
|
-
"@jupyter/docprovider": "^
|
|
59
|
-
"@jupyter/ydoc": "^2.
|
|
60
|
-
"@jupyterlab/application": "^4.
|
|
61
|
-
"@jupyterlab/apputils": "^4.
|
|
62
|
-
"@jupyterlab/codemirror": "^4.
|
|
63
|
-
"@jupyterlab/coreutils": "^6.0.
|
|
64
|
-
"@jupyterlab/services": "^7.0.
|
|
65
|
-
"@jupyterlab/statedb": "^4.
|
|
66
|
-
"@jupyterlab/translation": "^4.
|
|
67
|
-
"@jupyterlab/ui-components": "^4.
|
|
56
|
+
"@jupyter/collaboration": "^4.0.0-alpha.0",
|
|
57
|
+
"@jupyter/collaborative-drive": "^4.0.0-alpha.0",
|
|
58
|
+
"@jupyter/docprovider": "^4.0.0-alpha.0",
|
|
59
|
+
"@jupyter/ydoc": "^2.1.3 || ^3.0.0",
|
|
60
|
+
"@jupyterlab/application": "^4.4.0-alpha.2",
|
|
61
|
+
"@jupyterlab/apputils": "^4.4.0-alpha.2",
|
|
62
|
+
"@jupyterlab/codemirror": "^4.4.0-alpha.2",
|
|
63
|
+
"@jupyterlab/coreutils": "^6.4.0-alpha.2",
|
|
64
|
+
"@jupyterlab/services": "^7.4.0-alpha.2",
|
|
65
|
+
"@jupyterlab/statedb": "^4.4.0-alpha.2",
|
|
66
|
+
"@jupyterlab/translation": "^4.4.0-alpha.2",
|
|
67
|
+
"@jupyterlab/ui-components": "^4.4.0-alpha.2",
|
|
68
68
|
"@lumino/widgets": "^2.1.0",
|
|
69
69
|
"y-protocols": "^1.0.5",
|
|
70
70
|
"y-websocket": "^1.3.15",
|
|
71
71
|
"yjs": "^13.5.40"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@jupyterlab/builder": "^4.0.
|
|
74
|
+
"@jupyterlab/builder": "^4.4.0-alpha.2",
|
|
75
75
|
"@types/react": "~18.3.1",
|
|
76
76
|
"npm-run-all": "^4.1.5",
|
|
77
77
|
"rimraf": "^4.1.2",
|
|
78
|
-
"typescript": "~5.
|
|
78
|
+
"typescript": "~5.1.6"
|
|
79
79
|
},
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"access": "public"
|