Skip to content

Commit

Permalink
vdk-jupyter: add py-to-ts-interfaces to build (#1765)
Browse files Browse the repository at this point in the history
What:
Added py-to-ts-interfaces to build. 

What the changes do:
- Instruct npm to download the py-to-ts-interfaces package from the main
branch of the repository located at
https://github.com/Syndallic/py-to-ts-interfaces
- build script by updating the "build:interfaces" script in the
package.json (the npx command is used to run the installed
py-to-ts-interfaces package)

Why: linked to the issue
#1690

Tests: tested manually the build by adding new options to VdkOptions in
the python project

Signed-off-by: Duygu Hasan [[email protected]](mailto:[email protected])

---------

Co-authored-by: Dilyan Marinov <[email protected]>
  • Loading branch information
duyguHsnHsn and DeltaMichael authored Mar 22, 2023
1 parent dcb1038 commit 9b1d8b8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "tsc",
"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",
Expand Down

0 comments on commit 9b1d8b8

Please sign in to comment.