From b0a5f0dd889b97e8228a269a791c943b7b459038 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 10 Jun 2025 17:31:57 +0200 Subject: [PATCH 1/7] Add the terminal --- build-environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/build-environment.yml b/build-environment.yml index 0d96fbf..d62306b 100644 --- a/build-environment.yml +++ b/build-environment.yml @@ -21,6 +21,7 @@ dependencies: - jupyterlite-core =0.6.0 - jupyterlite-pyodide-kernel =0.6.0 - jupyterlite-sphinx >=0.20.2,<0.21 +- jupyterlite-terminal >=0.2.1,<0.3.0 - jupyterlite-xeus>=4.0.0 - notebook >=7.4.3,<7.5 - pip From a55aaf0f5ecfba76824eee36e919007fedd848c1 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 10 Jun 2025 17:48:37 +0200 Subject: [PATCH 2/7] micromamba --- build-environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/build-environment.yml b/build-environment.yml index d62306b..aa5ccea 100644 --- a/build-environment.yml +++ b/build-environment.yml @@ -4,6 +4,7 @@ channels: dependencies: - python =3.12 - mamba +- micromamba =2.0.5 - pydata-sphinx-theme - myst-parser - bqplot From 8c46113cc69d5cc33f356423bfcafdb0f5e5590e Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 10 Jun 2025 22:58:05 +0200 Subject: [PATCH 3/7] nodejs? --- build-environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/build-environment.yml b/build-environment.yml index aa5ccea..a775bb6 100644 --- a/build-environment.yml +++ b/build-environment.yml @@ -5,6 +5,7 @@ dependencies: - python =3.12 - mamba - micromamba =2.0.5 +- nodejs =22 - pydata-sphinx-theme - myst-parser - bqplot From bd2d5004bca71b1192de8ba047df7f0d52a6d215 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 10 Jun 2025 23:07:33 +0200 Subject: [PATCH 4/7] enable --- jupyter-lite.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jupyter-lite.json b/jupyter-lite.json index 8eaeedc..a035290 100644 --- a/jupyter-lite.json +++ b/jupyter-lite.json @@ -6,6 +6,7 @@ "@jupyterlab/server-proxy", "jupyterlab-server-proxy", "nbdime-jupyterlab" - ] + ], + "terminalsAvailable": true } } \ No newline at end of file From f519a9cf7077361c40049ea0250e9dd901039834 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 10 Jun 2025 23:20:10 +0200 Subject: [PATCH 5/7] cockle config --- cockle-config-in.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cockle-config-in.json diff --git a/cockle-config-in.json b/cockle-config-in.json new file mode 100644 index 0000000..5662098 --- /dev/null +++ b/cockle-config-in.json @@ -0,0 +1,11 @@ +{ + "packages": { + "lua": {}, + "nano": {}, + "tree": {}, + "vim": {} + }, + "aliases": { + "vi": "vim" + } +} From 7629eb9f7b25821b45a65bfa27bb1e037689a7c9 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 10 Jun 2025 23:29:00 +0200 Subject: [PATCH 6/7] add comment --- build-environment.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-environment.yml b/build-environment.yml index a775bb6..6231460 100644 --- a/build-environment.yml +++ b/build-environment.yml @@ -4,8 +4,6 @@ channels: dependencies: - python =3.12 - mamba -- micromamba =2.0.5 -- nodejs =22 - pydata-sphinx-theme - myst-parser - bqplot @@ -28,6 +26,9 @@ dependencies: - notebook >=7.4.3,<7.5 - pip - plotly >=6,<7 +# micromamba and nodejs are needed for jupyterlite-terminal +- micromamba =2.0.5 +- nodejs =22 - pip: - jupyterlite-xeus-sqlite==0.2.1 - jupyterlab-open-url-parameter >=0.3.0 From ab2e518b828984f8e60e118d71b0652dd900f6f5 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Wed, 11 Jun 2025 09:54:21 +0200 Subject: [PATCH 7/7] Relax `micromamba` --- build-environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-environment.yml b/build-environment.yml index 6231460..102bedb 100644 --- a/build-environment.yml +++ b/build-environment.yml @@ -27,7 +27,7 @@ dependencies: - pip - plotly >=6,<7 # micromamba and nodejs are needed for jupyterlite-terminal -- micromamba =2.0.5 +- micromamba >=2.0.5,<3 - nodejs =22 - pip: - jupyterlite-xeus-sqlite==0.2.1