diff --git a/.changeset/lovely-roses-dance.md b/.changeset/lovely-roses-dance.md
new file mode 100644
index 00000000..b9ca100c
--- /dev/null
+++ b/.changeset/lovely-roses-dance.md
@@ -0,0 +1,7 @@
+---
+'thebe-react': minor
+'thebe-lite': minor
+'demo-simple': minor
+---
+
+Clients no longer have to explicitly supply `litePluginSettings` unless they explicitly want to override them. This simplifies upgrades as clients should just bump packages, and the correct plugin settings for the bundled pyodide kernel will be applied by default.
diff --git a/apps/simple/static/index.html b/apps/simple/static/index.html
index 1b5bd344..cf7460bc 100644
--- a/apps/simple/static/index.html
+++ b/apps/simple/static/index.html
@@ -19,18 +19,6 @@
}
}
-
diff --git a/apps/simple/static/ipywidgets-lite.html b/apps/simple/static/ipywidgets-lite.html
index ce0db549..576ab90f 100644
--- a/apps/simple/static/ipywidgets-lite.html
+++ b/apps/simple/static/ipywidgets-lite.html
@@ -11,18 +11,6 @@
useBinder: false
}
-
-
;
+ litePluginSettings?: Record;
+ enableMemoryStorage?: boolean;
+ settingsStorageDrivers?: string[];
};
export interface ThebeLiteGlobal {
diff --git a/packages/react/src/ThebeServerProvider.tsx b/packages/react/src/ThebeServerProvider.tsx
index 16601924..4d5480e4 100644
--- a/packages/react/src/ThebeServerProvider.tsx
+++ b/packages/react/src/ThebeServerProvider.tsx
@@ -89,16 +89,7 @@ export function ThebeServerProvider({
setConnecting(true);
if (customConnectFn) customConnectFn(server);
else if (useBinder) server.connectToServerViaBinder(customRepoProviders);
- else if (useJupyterLite)
- server.connectToJupyterLiteServer({
- litePluginSettings: {
- '@jupyterlite/pyodide-kernel-extension:kernel': {
- pipliteUrls: ['https://unpkg.com/@jupyterlite/pyodide-kernel@0.4.7/pypi/all.json'],
- pipliteWheelUrl:
- 'https://unpkg.com/@jupyterlite/pyodide-kernel@0.4.7/pypi/piplite-0.4.7-py3-none-any.whl',
- },
- },
- });
+ else if (useJupyterLite) server.connectToJupyterLiteServer();
else server.connectToJupyterServer();
server.ready.then(