This library is used by jupyterlab_nbprovenance, an extension for JupyterLab to track provenance in notebooks. The provenance information is stored using the provenance tracking library trrack. This fork of Trrack-vis enhances the provenance visualization with features for notebooks.
git clone https://github.com/JKU-ICG/trrack-notebook-vis.git
cd trrack-notebook-vis/
npm install
npm t
: Run test suitenpm start
: Runnpm run build
in watch modenpm run test:watch
: Run test suite in interactive watch modenpm run test:prod
: Run linting and generate coveragenpm run build
: Generate bundles and typings, create docsnpm run lint
: Lints code
- Follow the Development instructions of the extension: jupyterlab_nbprovenance
Make sure you use the same Python environment (i.e., where JupyterLab is installed with extension). - Link this library:
jupyter labextension link --minimize=False
If you don't link this library, JuypterLab will pull its own copy of this library from npm and local changes won't show up.
Disabling the minifier is optional, but minimizig the code is not necessary locally and it reduces the build time a little. - You can verify the setup with:
jupyter labextension list
This should list the extension and this library as local extension and linked package, respectively. - Make Code changes
- Rebuild application:
npm run build
JupyterLab updates itself, due to the--watch
parameter - Refresh JupyterLab
Make sure to npm login
with the user icgbot first.
npm pack --dry-run # verify files
npm publish
Project created using Typescript library starter by alexjoverm