From 2595158b0ffef674c249e682a1f877f3e7aa5476 Mon Sep 17 00:00:00 2001 From: Duygu Hasan Date: Tue, 21 Mar 2023 14:26:25 +0200 Subject: [PATCH 1/3] Add py-to-ts-interfaces to build --- .../vdk-jupyter/vdk-jupyterlab-extension/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json b/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json index d16fdd31ac..e63e6d4e33 100644 --- a/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json +++ b/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json @@ -35,6 +35,7 @@ "build:labextension": "jupyter labextension build .", "build:labextension:dev": "jupyter labextension build --development True .", "build:lib": "tsc", + "build:interfaces": "npx py-to-ts-interfaces vdk-jupyterlab-extension/vdk_options/ src/vdkOptions", "clean": "jlpm clean:lib", "clean:lib": "rimraf lib tsconfig.tsbuildinfo", "clean:lintcache": "rimraf .eslintcache .stylelintcache", @@ -59,7 +60,8 @@ "@jupyterlab/application": "^3.1.0", "@jupyterlab/coreutils": "^5.1.0", "@jupyterlab/services": "^6.1.0", - "@jupyterlab/settingregistry": "^3.1.0" + "@jupyterlab/settingregistry": "^3.1.0", + "py-to-ts-interfaces": "git+https://github.com/Syndallic/py-to-ts-interfaces#main" }, "devDependencies": { "@babel/core": "^7.0.0", From ba221645f66f76c9d0ca5f262a97c563c8e962f7 Mon Sep 17 00:00:00 2001 From: Duygu Hasan Date: Tue, 21 Mar 2023 18:49:01 +0200 Subject: [PATCH 2/3] Modify py-to-ts-interfaces build --- .../vdk-jupyter/vdk-jupyterlab-extension/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json b/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json index e63e6d4e33..530a56ac7b 100644 --- a/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json +++ b/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json @@ -35,7 +35,7 @@ "build:labextension": "jupyter labextension build .", "build:labextension:dev": "jupyter labextension build --development True .", "build:lib": "tsc", - "build:interfaces": "npx py-to-ts-interfaces vdk-jupyterlab-extension/vdk_options/ src/vdkOptions", + "build:interfaces": "pip install py-to-ts-interfaces && py-to-ts-interfaces vdk-jupyterlab-extension/vdk_options/ src/vdkOptions", "clean": "jlpm clean:lib", "clean:lib": "rimraf lib tsconfig.tsbuildinfo", "clean:lintcache": "rimraf .eslintcache .stylelintcache", From 89dfe77173eb6c8a8e77359a9b9d2e827e3b801c Mon Sep 17 00:00:00 2001 From: Duygu Hasan Date: Tue, 21 Mar 2023 18:51:11 +0200 Subject: [PATCH 3/3] Remove py-to-ts-interfaces git from dependencies --- .../vdk-jupyter/vdk-jupyterlab-extension/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json b/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json index 530a56ac7b..8122862d7a 100644 --- a/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json +++ b/projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/package.json @@ -60,8 +60,7 @@ "@jupyterlab/application": "^3.1.0", "@jupyterlab/coreutils": "^5.1.0", "@jupyterlab/services": "^6.1.0", - "@jupyterlab/settingregistry": "^3.1.0", - "py-to-ts-interfaces": "git+https://github.com/Syndallic/py-to-ts-interfaces#main" + "@jupyterlab/settingregistry": "^3.1.0" }, "devDependencies": { "@babel/core": "^7.0.0",