Skip to content

Commit 3ac45ff

Browse files
committed
docs: update documentation to reflect Zod to Valibot migration
Update project documentation and inline comments to reference Valibot instead of Zod as the schema validation library. Changes in CLAUDE.md: - Update key runtime dependencies list to replace 'zod' with 'valibot' - Maintain all other documentation structure and content - Ensure accuracy of dependency information for developers Changes in _config-loader-tokens.ts: - Update comment from "simple structure without Zod" to "simple structure without Valibot" - Maintain consistency with the new validation library choice - Preserve all existing functionality and configuration handling These documentation updates ensure that developers working on the project have accurate information about the schema validation approach and dependencies. The migration from Zod to Valibot is now properly reflected in both technical documentation and code comments.
1 parent 6926f9a commit 3ac45ff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/ccusage/CLAUDE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Always run these commands in parallel after code changes:
9696

9797
- `gunshi` - CLI framework
9898
- `cli-table3` - Table formatting
99-
- `zod` - Schema validation
99+
- `valibot` - Schema validation
100100
- `@praha/byethrow` - Functional error handling
101101

102102
**Key Dev Dependencies:**

‎packages/ccusage/src/_config-loader-tokens.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function extractExplicitArgs(tokens: unknown[]): Record<string, boolean> {
4141
return explicit;
4242
}
4343

44-
// Type for configuration data (simple structure without Zod)
44+
// Type for configuration data (simple structure without Valibot)
4545
export type ConfigData = {
4646
$schema?: string;
4747
defaults?: Record<string, any>;

0 commit comments

Comments
 (0)