Skip to content

Commit ca79311

Browse files
committed
Update for JL 1.0-alpha
1 parent 2726bca commit ca79311

File tree

4 files changed

+8
-713
lines changed

4 files changed

+8
-713
lines changed

jupyterlab-server-proxy/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-server-proxy",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Launcher icons for proxied applications",
55
"keywords": [
66
"jupyter",
@@ -30,8 +30,8 @@
3030
"watch": "tsc -w"
3131
},
3232
"dependencies": {
33-
"@jupyterlab/application": "^0.19.1",
34-
"@jupyterlab/launcher": "^0.19.1"
33+
"@jupyterlab/application": "^1.0.0-alpha.9",
34+
"@jupyterlab/launcher": "^1.0.0-alpha.9"
3535
},
3636
"devDependencies": {
3737
"rimraf": "^2.6.1",

jupyterlab-server-proxy/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { JupyterLab, JupyterLabPlugin } from '@jupyterlab/application';
1+
import { JupyterFrontEnd, JupyterFrontEndPlugin } from '@jupyterlab/application';
22
import { ILauncher } from '@jupyterlab/launcher';
33
import { PageConfig } from '@jupyterlab/coreutils';
44

55
import '../style/index.css';
66

77

8-
function addLauncherEntries(serverData: any, launcher: ILauncher, app: JupyterLab) {
8+
function addLauncherEntries(serverData: any, launcher: ILauncher, app: JupyterFrontEnd) {
99
for (let server_process of serverData.server_processes) {
1010

1111
if (!server_process.launcher_entry.enabled) {
@@ -34,11 +34,11 @@ function addLauncherEntries(serverData: any, launcher: ILauncher, app: JupyterLa
3434
/**
3535
* Initialization data for the jupyterlab-server-proxy extension.
3636
*/
37-
const extension: JupyterLabPlugin<void> = {
37+
const extension: JupyterFrontEndPlugin<void> = {
3838
id: 'jupyterlab-server-proxy',
3939
autoStart: true,
4040
requires: [ILauncher],
41-
activate: (app: JupyterLab, launcher: ILauncher) => {
41+
activate: (app: JupyterFrontEnd, launcher: ILauncher) => {
4242
// FIXME: What the callback hell is this
4343
fetch(PageConfig.getBaseUrl() + 'server-proxy/servers-info').then(
4444
response => {

0 commit comments

Comments
 (0)