Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 1.76 KB

CONTRIBUTING.md

File metadata and controls

67 lines (44 loc) · 1.76 KB

Development

During development run npm run watch for real time updates. When releasing a new version, first confirm that latest version of the front and back ends are working locally (check console logs, etc).

Updating versions

Update the versions in the following files

JavaScript
  • package.json
  • widget.ts

Python

  • _version.py
  • example.py
  • requirements.txt
  • _frontend.py

Webpack

Run the following commands to build the JavaScript bundle:

npm run build
npm run build:nbextension
npm run build:labextension

Publish to npm using

npm publish

These instructions are based on the release instructions from the jupyter-widgets/widget-ts-cookiecutterREADME.

Bundling the Python Package

Next, bundle the python package using

python setup.py sdist bdist_wheel

Then, upload the PYPI:

twine upload dist/*

Checklist after release

After releasing a new version several things need to be checked to ensure proper widget functioning.

Check Package Managers

Check HTML Embedding

Check Cloud Services

  • Check MyBinder
  • Check Kaggle (re-install clustergrammer2)