Heimdall Development Tips & Tricks - mitre/heimdall2 GitHub Wiki
Useful advice while developing the Heimdall application.
Frontend
- When encountering reactivity issues after a database change, please make sure that the store is properly calling its corresponding "Fetch" command. Otherwise, the frontend will not propagate the database change.
HDF Converters
- Run
npx quicktype -s schema -l ts --just-types --prefer-types --prefer-unions -o cyclonedx.d.ts *.schema.json
in theschema
directory of https://github.com/CycloneDX/specification in order to re-generate types for the CycloneDX SBOM format. Then move the generatedcyclonedx.d.ts
file tolibs/hdf-converters/types
.