Skip to content

Commit 8ff1cf3

Browse files
committed
Switch to Zod4
1 parent 254d67e commit 8ff1cf3

File tree

9 files changed

+463
-547
lines changed

9 files changed

+463
-547
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist
55
coverage
66
.nyc_output
77
.vscode
8+
.claude/settings.local.json

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
1515

1616
## Code Style
1717
- **TypeScript**: Use strict types with proper JSON Schema interface typing
18-
- **Imports**: Use named imports (`import { z } from "zod"`)
18+
- **Imports**: Use named imports (`import { z } from "zod/v4"`)
1919
- **Formatting**: 4-space indentation, prefer lines under 80 chars
2020
- **Functions**: Pure functions with no side effects, descriptive names in camelCase
2121
- **Types/Interfaces**: Use PascalCase, export types used in public API
@@ -30,4 +30,4 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
3030
- Use esbuild for bundling with optimized output
3131
- Follow semantic versioning for releases
3232

33-
For release process, see RELEASE.md
33+
For release process, see RELEASE.md

package-lock.json

Lines changed: 58 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,13 @@
3030
"url": "git+https://github.com/glideapps/zod-from-json-schema.git"
3131
},
3232
"dependencies": {
33-
"zod": "^3.24.2"
33+
"zod": "^3.25.25"
3434
},
3535
"devDependencies": {
3636
"@vitest/coverage-v8": "^3.0.9",
3737
"esbuild": "^0.25.2",
38-
"typescript": "^5.8.2",
39-
"vitest": "^3.0.9",
40-
"zod-to-json-schema": "^3.24.5"
38+
"typescript": "^5.8.3",
39+
"vitest": "^3.0.9"
4140
},
4241
"keywords": [
4342
"zod",

0 commit comments

Comments
 (0)