- Install the recommended extensions for automatic formatting on save.
- All compiled artifacts should be checked in.
- We recommend running
npm run watchin the background to keep compiled artifacts up to date during development.
We use the vitest test framework. To run all the tests use npm run test. To run a specific test the best experience is to use VS Code.
The codeql executable must be on the path before running any tests. If you run script/test instead of npm run test it will set that up automatically.
In case you want to generate sourcemaps for tracing back a specific line in a stacktrace to the source code, you can use the following command:
CODEQL_VARIANT_ANALYSIS_ACTION_GENERATE_SOURCEMAPS=true npm run buildThe sourcemaps will be placed in the dist directory.