From 961abdc5d570c00f3a566cfce56cb0fdf7d1ab41 Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 1 Apr 2025 12:06:29 +0200 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20relax=20version=20constraint=20for?= =?UTF-8?q?=20react-hook-form=207.55.0=20=E2=86=92=20^7.55.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ajv/package.json | 2 +- arktype/package.json | 2 +- bun.lock | 2 +- computed-types/package.json | 2 +- effect-ts/package.json | 2 +- fluentvalidation-ts/package.json | 2 +- io-ts/package.json | 2 +- joi/package.json | 2 +- nope/package.json | 2 +- package.json | 2 +- standard-schema/package.json | 2 +- superstruct/package.json | 2 +- typanion/package.json | 2 +- typebox/package.json | 2 +- typeschema/package.json | 2 +- valibot/package.json | 2 +- vest/package.json | 2 +- vine/package.json | 2 +- yup/package.json | 2 +- zod/package.json | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/ajv/package.json b/ajv/package.json index bc3af859..c8d0b756 100644 --- a/ajv/package.json +++ b/ajv/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "ajv": "^8.12.0", "ajv-errors": "^3.0.0" diff --git a/arktype/package.json b/arktype/package.json index d17f42c6..7056cd37 100644 --- a/arktype/package.json +++ b/arktype/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "arktype": "^2.0.0" } diff --git a/bun.lock b/bun.lock index de4a95df..529290a5 100644 --- a/bun.lock +++ b/bun.lock @@ -57,7 +57,7 @@ "zod": "^3.24.2", }, "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", }, }, }, diff --git a/computed-types/package.json b/computed-types/package.json index aa09c615..8290b7a9 100644 --- a/computed-types/package.json +++ b/computed-types/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0" } } diff --git a/effect-ts/package.json b/effect-ts/package.json index cb15c3b7..62774181 100644 --- a/effect-ts/package.json +++ b/effect-ts/package.json @@ -13,6 +13,6 @@ "peerDependencies": { "@hookform/resolvers": "^2.0.0", "effect": "^3.10.3", - "react-hook-form": "7.55.0" + "react-hook-form": "^7.55.0" } } diff --git a/fluentvalidation-ts/package.json b/fluentvalidation-ts/package.json index c4291afe..6acab914 100644 --- a/fluentvalidation-ts/package.json +++ b/fluentvalidation-ts/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "fluentvalidation-ts": "^3.0.0" } diff --git a/io-ts/package.json b/io-ts/package.json index fc9444fb..7a4e0b6d 100644 --- a/io-ts/package.json +++ b/io-ts/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "io-ts": "^2.0.0", "fp-ts": "^2.7.0" diff --git a/joi/package.json b/joi/package.json index 2afadd28..4cccb2c0 100644 --- a/joi/package.json +++ b/joi/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0" } } diff --git a/nope/package.json b/nope/package.json index 3f42f7e3..f62c045d 100644 --- a/nope/package.json +++ b/nope/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "nope-validator": "^0.12.0" } diff --git a/package.json b/package.json index b523290e..e6cfb9db 100644 --- a/package.json +++ b/package.json @@ -317,7 +317,7 @@ "zod": "^3.24.2" }, "peerDependencies": { - "react-hook-form": "7.55.0" + "react-hook-form": "^7.55.0" }, "dependencies": { "@standard-schema/utils": "^0.3.0" diff --git a/standard-schema/package.json b/standard-schema/package.json index 33ef44db..da4bb902 100644 --- a/standard-schema/package.json +++ b/standard-schema/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@standard-schema/spec": "^1.0.0", "@standard-schema/utils": "^0.3.0", "@hookform/resolvers": "^2.0.0" diff --git a/superstruct/package.json b/superstruct/package.json index 0cb1ec9e..818a20e5 100644 --- a/superstruct/package.json +++ b/superstruct/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "superstruct": ">=0.12.0" } diff --git a/typanion/package.json b/typanion/package.json index bd9c9226..da76b2c3 100644 --- a/typanion/package.json +++ b/typanion/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "typanion": "^3.3.2" } diff --git a/typebox/package.json b/typebox/package.json index c69e098d..adfbb61b 100644 --- a/typebox/package.json +++ b/typebox/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "@sinclair/typebox": "^0.25.24" } diff --git a/typeschema/package.json b/typeschema/package.json index c7d049fa..ae7cd1db 100644 --- a/typeschema/package.json +++ b/typeschema/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "@typeschema/main": "^0.13.7" } diff --git a/valibot/package.json b/valibot/package.json index 7bef9f0e..3dcb0244 100644 --- a/valibot/package.json +++ b/valibot/package.json @@ -12,7 +12,7 @@ "license": "MIT", "peerDependencies": { "@hookform/resolvers": "^2.0.0", - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "valibot": "^1.0.0 || ^1.0.0-beta.4 || ^1.0.0-rc" } } diff --git a/vest/package.json b/vest/package.json index 71e16665..ec0593d2 100644 --- a/vest/package.json +++ b/vest/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "vest": ">=3.0.0" } diff --git a/vine/package.json b/vine/package.json index c8e5906b..3ea8e9d1 100644 --- a/vine/package.json +++ b/vine/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0", "@vinejs/vine": "^2.0.0" } diff --git a/yup/package.json b/yup/package.json index 2ef2be46..9aa0671b 100644 --- a/yup/package.json +++ b/yup/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0" } } diff --git a/zod/package.json b/zod/package.json index d797f83c..200d0ab5 100644 --- a/zod/package.json +++ b/zod/package.json @@ -11,7 +11,7 @@ "types": "dist/index.d.ts", "license": "MIT", "peerDependencies": { - "react-hook-form": "7.55.0", + "react-hook-form": "^7.55.0", "@hookform/resolvers": "^2.0.0" } } From 660be081d7f0b19617e35500294b5444ec8662aa Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 1 Apr 2025 12:23:23 +0200 Subject: [PATCH 2/2] chore: update the bug report template --- .github/ISSUE_TEMPLATE/bug_report.md | 50 ------------------- .github/ISSUE_TEMPLATE/bug_report.yml | 70 +++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 50 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index d96164ee..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Codesandbox link (Required)** -Include a codesandbox will help us to investigate the issue quicker. - -- [Yup resolver](https://codesandbox.io/s/react-hook-form-validationschema-v6-2l77g) Template -- [Zod resolver](https://codesandbox.io/s/react-hook-form-zod-resolver-example-forked-ko5ll) Template -- [Joi resolver](https://codesandbox.io/s/react-hook-form-joiresolver-v6-yejqe) Template -- [Superstruct resolver](https://codesandbox.io/s/react-hook-form-v6-superstructresolver-ed67i) Template -- [Vest resolver](https://codesandbox.io/s/vest-k6gbd) Template -- [Custom resolver](https://codesandbox.io/s/react-hook-form-customresoliver-v6-h4ti6) Template - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - -- OS: [e.g. iOS] -- Browser [e.g. chrome, safari] -- Version [e.g. 22] - -**Smartphone (please complete the following information):** - -- Device: [e.g. iPhone6] -- OS: [e.g. iOS8.1] -- Browser [e.g. stock browser, safari] -- Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..ae974c22 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,70 @@ +name: Bug Report +description: File a bug report +title: 'issue: ' +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: version + attributes: + label: Version Number + description: What's the version number? + placeholder: Version number. + validations: + required: true + - type: input + id: codesandbox + attributes: + label: Codesandbox/Expo snack + description: Codesandbox/Expo snack link + validations: + required: true + - type: markdown + attributes: + value: | + - [JS](https://codesandbox.io/s/great-paper-deove) Template + - [TS](https://codesandbox.io/s/eager-sun-jt4df) Template + - type: textarea + id: what-happened + attributes: + label: Steps to reproduce + placeholder: Tell us what you see! + value: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: + required: true + - type: textarea + id: what-expect + attributes: + label: Expected behaviour + validations: + required: true + - type: dropdown + id: browsers + attributes: + label: What browsers are you seeing the problem on? + multiple: true + options: + - Firefox + - Chrome + - Safari + - Edge + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/react-hook-form/resolvers/blob/master/CODE_OF_CONDUCT.md) + options: + - label: I agree to follow this project's Code of Conduct + required: true \ No newline at end of file