Welcome to the Lit XML monorepo. Info about contributing and building the application can be found here.
For more information about Lit XML, please see that readme.
The easiest way to setup local development is using vscode. The vscode config files are checked in with this repo. Please install the recommended extensions listed in ".vscode/extensions.json".
Some quick notes to help you get started:
- Use
CTRL+Shift+B
(or⌘+Shift+B
on OSX) to run the build task. This runsnpm start
which in turn runstsc -b --watch
, compiling any changes you make in the background. - Use
CTRL+Shift+D
(or⌘⇧D
on OSX) to open up the debug pane. Here you can select a config to run. For example: select "Unit tests" to run unit tests.
- You can run the tests with
CTRL+F5
(or⌃F5
on OSX). - You can debug the tests with
F5
(alsoF5
on OSX). Setting breakpoints in your code and inspecting variables all work as expected.
Publishing a new version to NPM runs in a github workflow. Run npx lerna version
to create the version in git. The workflow takes care of the rest.