Thanks for your interest in hydro.
Requirements:
- Node.js 22+
- Bun
bun install
bun run dev:preparebun run lint # ESLint
bun run test:types # TypeScript checks for module + playground
bun run test # Vitest suite
bun run prepack # Build distributable package
bun run dev:build # Build playground
bun run verify # Run the full verification pipelinebun run devOpen http://localhost:3000 and try the generated Book and Author APIs.
- Keep framework-independent logic in
src/runtime/core. - Keep Nuxt/Nitro integration code in
src/module.tsandsrc/runtime/server. - Add tests for every behavior change in
test/core.test.tsortest/basic.test.ts. - Generated files (
dist,.nuxt,.output) should not be committed.