Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: camelCase hono-valibot middleware export names
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
  • Loading branch information
maxholman and claude committed Mar 17, 2026
commit 73b31413e7725735461dc831384c79702370556e
3 changes: 2 additions & 1 deletion lib/hono-valibot.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { join } from "node:path";
import camelcase from "camelcase";
import type { Project, SourceFile } from "ts-morph";
import { VariableDeclarationKind } from "ts-morph";

Expand Down Expand Up @@ -52,7 +53,7 @@ export function createHonoValibotMiddleware(
declarationKind: VariableDeclarationKind.Const,
declarations: [
{
name: exportName,
name: camelcase(exportName),
initializer: (writer) => {
writer.write("[");
writer.indent(() => {
Expand Down