Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing peerdeps because Valibot has 0 as major #18

Merged
merged 2 commits into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions schemas/valibot/numbers/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# @SchemasJS/valibot-numbers

[![version](https://img.shields.io/npm/v/%40schemasjs%2Fvalibot-numbers
)](https://www.npmjs.com/package/@schemasjs/valibot-numbers) [![Bundle size minified](https://img.shields.io/bundlephobia/min/%40schemasjs/valibot-numbers/latest
)](https://bundlephobia.com/package/@schemasjs/valibot-numbers) [![build](https://github.com/crisconru/schemasjs/actions/workflows/valibot-numbers.yml/badge.svg)](https://github.com/crisconru/schemasjs/actions/workflows/valibot-numbers.yml)
[![version](https://img.shields.io/npm/v/%40schemasjs%2Fvalibot-numbers)](https://www.npmjs.com/package/@schemasjs/valibot-numbers) [![Bundle size minified](https://img.shields.io/bundlephobia/min/%40schemasjs/valibot-numbers/latest)](https://bundlephobia.com/package/@schemasjs/valibot-numbers) [![build](https://github.com/crisconru/schemasjs/actions/workflows/valibot-numbers.yml/badge.svg)](https://github.com/crisconru/schemasjs/actions/workflows/valibot-numbers.yml)

Valibot schemas for numbers and their types.

Expand Down
4 changes: 2 additions & 2 deletions schemas/valibot/numbers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@schemasjs/valibot-numbers",
"version": "1.0.12",
"version": "1.0.13",
"description": "Javascript (and Typescript) valibot number schemas",
"author": "Cristobal Contreras Rubio",
"license": "MIT",
Expand Down Expand Up @@ -58,7 +58,7 @@
"test:coverage": "vitest run --coverage"
},
"peerDependencies": {
"valibot": "^0.33.3"
"valibot": ">0.31.0"
},
"ts-standard": {
"ignore": [
Expand Down
7 changes: 1 addition & 6 deletions validator/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# @SchemasJS/validator

[![version](https://img.shields.io/npm/v/%40schemasjs%2Fvalidator)](https://img.shields.io/npm/v/%40schemasjs%2Fvalidator)

[![Bundle size minified](https://img.shields.io/bundlephobia/min/%40schemasjs/validator/latest
)](https://bundlephobia.com/package/@schemasjs/validator)

[![build](https://github.com/crisconru/schemasjs/actions/workflows/validator.yml/badge.svg)](https://github.com/crisconru/schemasjs/actions/workflows/validator.yml)
[![version](https://img.shields.io/npm/v/%40schemasjs%2Fvalidator)](https://img.shields.io/npm/v/%40schemasjs%2Fvalidator) [![Bundle size minified](https://img.shields.io/bundlephobia/min/%40schemasjs/validator/latest)](https://bundlephobia.com/package/@schemasjs/validator) [![build](https://github.com/crisconru/schemasjs/actions/workflows/validator.yml/badge.svg)](https://github.com/crisconru/schemasjs/actions/workflows/validator.yml)

If you love type validators like Zod or Valibot, probably you load a ton of logic
inside schemas. If suddenly you wanted to swap from one type validator to another,
Expand Down
4 changes: 2 additions & 2 deletions validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@schemasjs/validator",
"version": "1.0.0",
"version": "1.0.1",
"description": "An opinionated type validator API indpendent from schema validators like Zod, Valibot, etc",
"author": "Cristobal Contreras Rubio",
"license": "MIT",
Expand Down Expand Up @@ -52,7 +52,7 @@
"test:coverage": "vitest run --coverage"
},
"optionalDependencies": {
"valibot": "^0.32.0",
"valibot": ">0.31.0",
"zod": "^3.23.8"
},
"devDependencies": {
Expand Down