feat: zod 라이브러리 버전을 4.3.5로 업데이트

This commit is contained in:
2026-01-18 08:27:36 +00:00
parent 116993b3ad
commit 2f05e5a1e1
7 changed files with 17 additions and 21 deletions
+1 -1
View File
@@ -36,6 +36,6 @@
"es-toolkit": "^1.43.0",
"fastify": "^5.6.2",
"redis": "^5.10.0",
"zod": "^4.3.4"
"zod": "^4.3.5"
}
}
+1 -1
View File
@@ -20,7 +20,7 @@
"@sammo-ts/infra": "workspace:*",
"@sammo-ts/logic": "workspace:*",
"es-toolkit": "^1.43.0",
"zod": "^4.3.4"
"zod": "^4.3.5"
},
"devDependencies": {
"tsdown": "^0.18.4",
+1 -1
View File
@@ -38,6 +38,6 @@
"fastify": "^5.6.2",
"pm2": "^5.4.3",
"redis": "^5.10.0",
"zod": "^4.3.4"
"zod": "^4.3.5"
}
}
+1 -1
View File
@@ -25,7 +25,7 @@
"pinia": "^3.0.4",
"vue": "^3.5.26",
"vue-router": "^4.6.4",
"zod": "^4.3.4"
"zod": "^4.3.5"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.18",
+1 -1
View File
@@ -23,7 +23,7 @@
"@sammo-ts/common": "workspace:*",
"es-toolkit": "^1.43.0",
"immer": "^11.1.3",
"zod": "^4.3.4"
"zod": "^4.3.5"
},
"devDependencies": {
"tsdown": "^0.18.4",
@@ -3,6 +3,7 @@ import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { z } from 'zod';
import type { ZodTypeAny } from 'zod';
import {
MapResourceSchema,
ScenarioResourceSchema,
@@ -15,7 +16,7 @@ const __dirname = path.dirname(__filename);
const REPO_ROOT = path.resolve(__dirname, '..', '..', '..');
const RESOURCE_ROOT = path.join(REPO_ROOT, 'resources');
const writeSchema = async (relativePath: string, schema: unknown): Promise<void> => {
const writeSchema = async (relativePath: string, schema: ZodTypeAny): Promise<void> => {
const outputPath = path.join(RESOURCE_ROOT, relativePath);
const jsonSchema = z.toJSONSchema(schema, { target: 'draft-07' });
const serialized = `${JSON.stringify(jsonSchema, null, 4)}\n`;
+10 -15
View File
@@ -84,8 +84,8 @@ importers:
specifier: ^5.10.0
version: 5.10.0
zod:
specifier: ^4.3.4
version: 4.3.4
specifier: ^4.3.5
version: 4.3.5
devDependencies:
tsdown:
specifier: ^0.18.4
@@ -115,8 +115,8 @@ importers:
specifier: ^1.43.0
version: 1.43.0
zod:
specifier: ^4.3.4
version: 4.3.4
specifier: ^4.3.5
version: 4.3.5
devDependencies:
tsdown:
specifier: ^0.18.4
@@ -237,8 +237,8 @@ importers:
specifier: ^5.10.0
version: 5.10.0
zod:
specifier: ^4.3.4
version: 4.3.4
specifier: ^4.3.5
version: 4.3.5
devDependencies:
tsdown:
specifier: ^0.18.4
@@ -292,8 +292,8 @@ importers:
specifier: ^4.6.4
version: 4.6.4(vue@3.5.26(typescript@5.9.3))
zod:
specifier: ^4.3.4
version: 4.3.4
specifier: ^4.3.5
version: 4.3.5
devDependencies:
'@tailwindcss/vite':
specifier: ^4.1.18
@@ -382,8 +382,8 @@ importers:
specifier: ^11.1.3
version: 11.1.3
zod:
specifier: ^4.3.4
version: 4.3.4
specifier: ^4.3.5
version: 4.3.5
devDependencies:
tsdown:
specifier: ^0.18.4
@@ -3446,9 +3446,6 @@ packages:
zeptomatch@2.0.2:
resolution: {integrity: sha512-H33jtSKf8Ijtb5BW6wua3G5DhnFjbFML36eFu+VdOoVY4HD9e7ggjqdM6639B+L87rjnR6Y+XeRzBXZdy52B/g==}
zod@4.3.4:
resolution: {integrity: sha512-Zw/uYiiyF6pUT1qmKbZziChgNPRu+ZRneAsMUDU6IwmXdWt5JwcUfy2bvLOCUtz5UniaN/Zx5aFttZYbYc7O/A==}
zod@4.3.5:
resolution: {integrity: sha512-k7Nwx6vuWx1IJ9Bjuf4Zt1PEllcwe7cls3VNzm4CQ1/hgtFUK2bRNG3rvnpPUhFjmqJKAKtjV576KnUkHocg/g==}
@@ -6296,6 +6293,4 @@ snapshots:
dependencies:
grammex: 3.1.12
zod@4.3.4: {}
zod@4.3.5: {}