See https://danmarksmiljoeportal.github.io/map-components/.
>= 24.14.1 (see package.json engines)package-lock.json)npm install
# local dev server
npm run dev
# build library
npm run build
# run tests
npm test
# typecheck
npm run type-check
# format check
npm run lint
npm run docs
This package uses npm overrides (package.json → overrides) to force patched versions of certain transitive dependencies.
npm audit findings led to the current overrides caused by vite-plugin-dts, which pulls in @microsoft/api-extractor and its dependency chain, featuring the vulnerbilities. When the dependency can be updated above "4.5.4", it will likely fix the issue, and overrides won't be necessary.
npm audit
npm audit is clean and the pinned packages are no longer needed, consider removing the relevant entries from overrides.