Tested on Node 16 (Paneron host’s version).
Update version in package.json to
<next version>
.Make your changes.
Build the latest version:
yarn run dist
Test by, e.g., adding the
dist
directory in Paneron as local extension and opening some relevant dataset.Repeat steps 2-4 as needed.
Tag commit:
git tag -s <next version>
Enter some brief message.
Publish to NPM:
cd dist && npm publish --access public
To upgrade key dependencies if needed:
yarn upgrade --ignore-scripts @riboseinc/paneron-extension-kit @riboseinc/paneron-registry-kit