Scripts
pnpm test
Section titled “pnpm test”Runs unit tests with Vitest. Tests should cover Zod validation for each schema: valid cases, missing fields, and incorrect formats.
pnpm -F @frame/events testpnpm type-check
Section titled “pnpm type-check”Statically validates all schemas, types, and event classes with tsc.
pnpm -F @frame/events type-checkpnpm lint
Section titled “pnpm lint”Applies code quality rules via oxlint.
pnpm -F @frame/events lint