Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c176c18
Enable JavaScript WebWorker kernel in JupyterLite
MUFFANUJ May 4, 2026
564e06f
Update docs/environment.yml
MUFFANUJ May 7, 2026
128cc78
Merge branch 'main' into addJSKernel
MUFFANUJ May 7, 2026
0c1ce22
inject bundled TypeScript VFS into JavaScript kernels
MUFFANUJ May 12, 2026
baf9095
fix lint
MUFFANUJ May 12, 2026
8d8935e
stabilize js kernel vfs injection and simplify controller
MUFFANUJ May 12, 2026
41e8145
add lsp to lite deployment
MUFFANUJ May 15, 2026
56f8365
dedupe yarn.lock
MUFFANUJ May 15, 2026
1e80c6b
Merge branch 'main' into addJSKernel
MUFFANUJ May 15, 2026
97a0d7a
`ILSPDocumentConnectionManage`r from optional to required in
MUFFANUJ May 15, 2026
49fea8c
update jupyter-lite.json to add additional disabled extensions
MUFFANUJ May 15, 2026
08531a5
fix test
MUFFANUJ May 15, 2026
ecded4f
Merge main into addJSKernel
MUFFANUJ Jun 17, 2026
d0173ae
apply upstream branch fixes
MUFFANUJ Jun 17, 2026
cd393fd
fix lock file dedupe
MUFFANUJ Jun 17, 2026
22fe6d9
Update build OS version to Ubuntu 24.04
MUFFANUJ Jun 17, 2026
29cd785
Update nodejs version
MUFFANUJ Jun 17, 2026
b525b80
Fix Lite-only JS kernel startup in plain JupyterLab
MUFFANUJ Jun 17, 2026
c8300fb
Merge branch 'main' into addJSKernel
MUFFANUJ Jun 22, 2026
a8f9067
Rebuild docs against JupyterLab 4.6
MUFFANUJ Jun 22, 2026
1ab225a
Merge branch 'main' into addJSKernel
MUFFANUJ Jun 23, 2026
a8bbebe
Test upstream JavaScript kernel LSP fixes in Lite
MUFFANUJ Jun 23, 2026
7422ccd
Fix Lite LSP loading
MUFFANUJ Jun 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ build:
os: "ubuntu-24.04"
tools:
python: "mambaforge-4.10"
jobs:
post_create_environment:
- python -m pip install --force-reinstall --no-deps --no-build-isolation -r docs/upstream-pr-requirements.txt

conda:
environment: docs/environment.yml
Expand Down
7 changes: 5 additions & 2 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ channels:
dependencies:
- python=3.10
- pip
- hatchling
- hatch-jupyter-builder
- hatch-nodejs-version
- pydata-sphinx-theme
- myst-parser
- ipywidgets>=8.0,<9
- jupyterlab>=4.0.0,<5
- jupyterlab-lsp>=5.2.0,<6
- jupyterlab-js-logs>=1.3.1,<2
- jupyterlab-tour>=4,<5
- jupyterlab-language-pack-fr-FR
Expand All @@ -18,7 +21,7 @@ dependencies:
- jupyterlite-core>=0.7.0,<0.8
- jupyterlite-sphinx>=0.22.0,<0.23
- jupyterlite-pyodide-kernel>=0.7.0,<0.8
- nodejs=18
- nodejs>=22.12,<23
- pip:
- build
- jupyterlab-open-url-parameter>=0.4,<1
11 changes: 10 additions & 1 deletion docs/jupyter-lite.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@
"jupyter-lite-schema-version": 0,
"jupyter-config-data": {
"appName": "JupyterLab Plugin Playground",
"disableRTC": true,
"disabledExtensions": [
"jupyterlab-jupytext:plugin",
"jupyterlab-tour:default-tours"
"jupyterlab-tour:default-tours",
"jupyterlab-notebook-awareness:plugin",
"@jupyter/collaboration-extension",
"@jupyter/docprovider-extension",
"@jupyter-ai-contrib/server-documents",
"@jupyter-ai-contrib/server-documents:rtc-global-awareness",
"jupyterlab-chat-extension",
"@jupyterlite/application-extension:service-worker-manager",
"@jupyterlite/javascript-kernel-extension:kernel-iframe"
]
}
}
2 changes: 1 addition & 1 deletion docs/jupyter_lite_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"typescript": {
"name": "typescript",
"extensions": [".ts", ".tsx"],
"mimeTypes": ["text/plain"],
"mimeTypes": ["text/typescript"],
"fileFormat": "text"
},
"extensionless-text": {
Expand Down
2 changes: 2 additions & 0 deletions docs/upstream-pr-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
git+https://github.com/MUFFANUJ/javascript-kernel.git@b45958cda2cd94210e4fcf655998c24e1aae09b8
git+https://github.com/MUFFANUJ/jupyterlab.git@5ec1ebd8f3cde6cadc85de39e904c751d912e81c
13 changes: 13 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
"@jupyterlab/completer": "^4.5.5",
"@jupyterlab/filebrowser": "^4.5.5",
"@jupyterlab/fileeditor": "^4.5.5",
"@jupyterlab/lsp": "^4.5.5",
"@jupyterlab/settingregistry": "^4.5.5",
"@jupyterlite/javascript-kernel": "^0.4.0-alpha.4",
"@typescript/vfs": "^1.6.4",
"jupyterlab-js-logs": "^1.3.1",
"raw-loader": "^4.0.2",
"requirejs": "^2.3.6",
Expand Down Expand Up @@ -137,6 +140,16 @@
"outputDir": "jupyterlab_plugin_playground/labextension",
"schemaDir": "schema",
"sharedPackages": {
"@jupyterlab/lsp": {
"bundled": false,
"singleton": true,
"strictVersion": false
},
"@jupyterlite/javascript-kernel": {
"bundled": false,
"singleton": true,
"strictVersion": false
},
"jupyterlab-js-logs": {
"singleton": true
}
Expand Down
8 changes: 7 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ import { PluginLoader, PluginLoadingError } from './loader';

import { PluginTranspiler } from './transpiler';

import { javaScriptKernelLspPlugins } from './javascript-kernel-lsp/integration';

import { loadKnownModule } from './modules';

import {
Expand Down Expand Up @@ -4468,7 +4470,11 @@ const notebookTreePlugin: JupyterFrontEndPlugin<void> = {
}
};

const plugins: JupyterFrontEndPlugin<any>[] = [notebookTreePlugin, mainPlugin];
const plugins: JupyterFrontEndPlugin<any>[] = [
notebookTreePlugin,
...javaScriptKernelLspPlugins,
mainPlugin
];

export default plugins;
export type { IKnownModule };
Loading
Loading