Development
Use Node.js 22.12 or newer. Bun is the default package manager. The scripts also run with npm, pnpm, and Yarn.
bun installbun run checkbun run buildbun run docs:devnpm installnpm run checknpm run buildnpm run docs:devpnpm installpnpm run checkpnpm run buildpnpm run docs:devyarn installyarn run checkyarn run buildyarn run docs:devdocs:build generates a static site in docs/dist. build creates the package files in dist and the custom elements manifest. Component pages and settings come from shared metadata. TypeDoc generates the API reference from the public exports.
The docs build requires TypeScript 6.0 because TypeDoc does not support TypeScript 7.