update version in package.json yarn clean yarn install yarn build yarn copy # for docs to build git commit version change git tag version git push commit & tags npm login # last time i tried, yarn wasn't working for login & publish npm publish
after the above
cd py pip install -U pip setuptools wheel twine rm -rf dist build python setup.py sdist bdist_wheel twine upload --repository-url https://test.pypi.org/legacy/ dist/* cd ~/new-directory virtualenv env source env/bin/activate python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple "escher==" python -m ipython kernel install --user --name=env ipython, jupyter, etc. cd - twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
If changes have been made to example notebooks, then save them with widget state in Jupyter Notebook (not lab).