File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
// Removed Widget import as we're no longer using @lumino/widgets
2
- import { JupyterLiteServer , JupyterLiteServerPlugin } from '@jupyterlite/server' ;
2
+ // import { JupyterLiteServer, JupyterLiteServerPlugin } from '@jupyterlite/server';
3
+ import { JupyterFrontEnd , JupyterFrontEndPlugin } from '@jupyterlab/application' ;
3
4
import { IKernel , IKernelSpecs } from '@jupyterlite/kernel' ;
4
5
import { EmbeddedKernel } from './kernel' ;
5
6
import WelcomePanel from './panel' ;
@@ -10,11 +11,11 @@ import { DeviceService } from './services/DeviceService';
10
11
var devService : DeviceService | null = null ;
11
12
12
13
// Kernel plugin for the embedded kernel
13
- const kernelPlugin : JupyterLiteServerPlugin < void > = {
14
+ const kernelPlugin : JupyterFrontEndPlugin < void > = {
14
15
id : 'jupyterlite-embedded-kernel:kernel' ,
15
16
autoStart : true ,
16
17
requires : [ IKernelSpecs ] ,
17
- activate : ( app : JupyterLiteServer , kernelspecs : IKernelSpecs ) => {
18
+ activate : ( app : JupyterFrontEnd , kernelspecs : IKernelSpecs ) => {
18
19
const activeKernels = new Map < string , EmbeddedKernel > ( ) ;
19
20
20
21
// print the app to console
You can’t perform that action at this time.
0 commit comments