@@ -46,6 +46,7 @@ commands:
4646 . venv/bin/activate
4747 pip install --upgrade pip wheel
4848 pip install -r ./test_requirements/requirements_<<parameters.py>>_optional.txt
49+ python setup.py jsdeps
4950 - run :
5051 name : Install plotly-geo
5152 command : |
@@ -339,9 +340,8 @@ jobs:
339340 . venv/bin/activate
340341 pip install --upgrade pip wheel
341342 pip install -r ./test_requirements/requirements_38_core.txt black inflect
342- pip install jupyterlab~=3.0
343343 - run :
344- name : Update jupyterlab- plotly version
344+ name : Update widget plotly.js version
345345 command : |
346346 cd packages/python/plotly
347347 . venv/bin/activate
@@ -395,20 +395,10 @@ jobs:
395395 conda config --remove channels defaults
396396 conda config --add channels conda-forge
397397 conda create -n env --yes python=3.9 conda-build=3.28.4 conda-verify
398- conda install -n env -c conda-forge jupyterlab=3 nodejs=16
398+ conda install -n env -c conda-forge nodejs=16
399399 conda init bash
400400 mkdir output
401401
402- - run :
403- name : initial NPM Build
404- command : |
405- eval "$(conda shell.bash hook)"
406- conda activate env
407- cd packages/javascript/jupyterlab-plotly
408- npm ci
409- npm run build:prod
410- git status
411-
412402 - run :
413403 name : PyPI Build
414404 command : |
@@ -434,9 +424,9 @@ jobs:
434424 command : |
435425 eval "$(conda shell.bash hook)"
436426 conda activate env
437- cd packages/javascript/jupyterlab- plotly
438- npm pack
439- mv jupyterlab-plotly*.tgz ../../../output
427+ cd packages/python/ plotly/js
428+ npm run build
429+ mv ../bundle.js ../ ../../../output
440430
441431 - run :
442432 name : Zip output
0 commit comments