Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.21 KB

DEVELOPMENT.md

File metadata and controls

44 lines (30 loc) · 1.21 KB

Developer Guide

setup

  • clone the repo
  • install Node.js and yarn (npm i -g yarn)
  • run make setup

test

  • run tests: make test
  • see all dev tasks: make help

debug

Debug in VSCode:

  • run make build-dev to compile a package with source maps or keep make 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

update

  • make update

release

  • make publish-patch
  • make publish-minor
  • make publish-major