- run tests:
make test
- see all dev tasks:
make help
Debug in VSCode:
- run
make build-dev
to compile a package with source maps or keepmake watch
running- debugging requires source maps to work
- VSCode somehow doesn't run the compiler by itself before debugging
- set breakpoints in VSCode
- Run > Start Debugging
- in the VSCode instance that starts: open folder > choose a different folder than the current one
To print to the debug console of the hosting VSCode instance: console.log
Local installation:
make package
- run
code --install-extension tikibase-*.vsix
in terminal - restart VSCode
make update
make publish-patch
make publish-minor
make publish-major