Skip to content

Commit

Permalink
Merge pull request #313 from uyupun/chore/309_update-zod
Browse files Browse the repository at this point in the history
zodのバージョンを上げる
  • Loading branch information
takashi0602 authored Oct 18, 2023
2 parents 89240bd + a98d7c2 commit 3350307
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "7.43.7",
"zod": "^3.21.4"
"zod": "^3.22.4"
},
"devDependencies": {
"@ls-lint/ls-lint": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/base/Textarea/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default meta;

type Story = StoryObj<typeof BaseTextarea>;
const schema = object({
description: string().nonempty().max(10),
description: string().min(1).max(10),
});

export const Textarea: Story = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/base/Textbox/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default meta;

type Story = StoryObj<typeof BaseTextbox>;
const schema = object({
title: string().nonempty().max(10),
title: string().min(1).max(10),
});

export const Textbox: Story = {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11488,7 +11488,7 @@ yocto-queue@^1.0.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251"
integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==

zod@^3.21.4:
version "3.21.4"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.21.4.tgz#10882231d992519f0a10b5dd58a38c9dabbb64db"
integrity sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==
zod@^3.22.4:
version "3.22.4"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff"
integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==

0 comments on commit 3350307

Please sign in to comment.