From d53033e4f9701c64b9d70e1ab8834bf720bb66f7 Mon Sep 17 00:00:00 2001 From: Matthieu Thiboust <14574229+mthiboust@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:54:10 +0200 Subject: [PATCH 1/2] Allow jupyterlab v4 in dependency constraints --- @plotly/dash-jupyterlab/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/@plotly/dash-jupyterlab/package.json b/@plotly/dash-jupyterlab/package.json index 330eaf0954..19b895bb79 100644 --- a/@plotly/dash-jupyterlab/package.json +++ b/@plotly/dash-jupyterlab/package.json @@ -33,9 +33,9 @@ "watch": "tsc -w" }, "dependencies": { - "@jupyterlab/application": "^2.0.0 || ^3.0.0", - "@jupyterlab/notebook": "^2.0.0 || ^3.0.0", - "@jupyterlab/console": "^2.0.0 || ^3.0.0" + "@jupyterlab/application": "^2.0.0 || ^3.0.0 || ^4.0.0", + "@jupyterlab/notebook": "^2.0.0 || ^3.0.0 || ^4.0.0", + "@jupyterlab/console": "^2.0.0 || ^3.0.0 || ^4.0.0" }, "devDependencies": { "prettier": "2.0.5", From ec9c9f6bfb8e41623e21828baa3bf6abd7834381 Mon Sep 17 00:00:00 2001 From: Matthieu Thiboust <14574229+mthiboust@users.noreply.github.com> Date: Tue, 8 Oct 2024 19:14:13 +0200 Subject: [PATCH 2/2] Fix install errors --- @plotly/dash-jupyterlab/package.json | 9 +++++---- @plotly/dash-jupyterlab/tsconfig.json | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/@plotly/dash-jupyterlab/package.json b/@plotly/dash-jupyterlab/package.json index 19b895bb79..dd3956a996 100644 --- a/@plotly/dash-jupyterlab/package.json +++ b/@plotly/dash-jupyterlab/package.json @@ -34,14 +34,15 @@ }, "dependencies": { "@jupyterlab/application": "^2.0.0 || ^3.0.0 || ^4.0.0", - "@jupyterlab/notebook": "^2.0.0 || ^3.0.0 || ^4.0.0", - "@jupyterlab/console": "^2.0.0 || ^3.0.0 || ^4.0.0" + "@jupyterlab/console": "^2.0.0 || ^3.0.0 || ^4.0.0", + "@jupyterlab/notebook": "^2.0.0 || ^3.0.0 || ^4.0.0" }, "devDependencies": { + "@types/json-schema": "^7.0.15", + "mkdirp": "^0.5.1", "prettier": "2.0.5", "rimraf": "3.0.2", - "typescript": "3.9.3", - "mkdirp": "^0.5.1" + "typescript": "5.6.2" }, "jupyterlab": { "extension": true diff --git a/@plotly/dash-jupyterlab/tsconfig.json b/@plotly/dash-jupyterlab/tsconfig.json index 6a6738ea31..5527c4f345 100644 --- a/@plotly/dash-jupyterlab/tsconfig.json +++ b/@plotly/dash-jupyterlab/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "declaration": true, - "lib": ["es2015", "dom"], + "lib": ["es2018", "dom"], "module": "commonjs", "moduleResolution": "node", "noEmitOnError": true, @@ -10,7 +10,7 @@ "rootDir": "src", "strict": true, "strictNullChecks": false, - "target": "es2015", + "target": "es2018", "types": [], "esModuleInterop": true },