Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.15 KB

DEVELOPMENT.md

File metadata and controls

43 lines (29 loc) · 1.15 KB

Developer Guide

setup

  • clone the repo
  • install Node.js
  • run npm run setup

test

  • run tests: npm run test

debug

Debug in VSCode:

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

  • npm run package
  • run code --install-extension tikibase-*.vsix in terminal
  • restart VSCode

update

  • npm run update

release

  • npm run publish-patch
  • npm run publish-minor
  • npm run publish-major