Skip to content

Commit 0a92136

Browse files
committed
chore: use repo-check
1 parent abd7adb commit 0a92136

File tree

3 files changed

+77
-16
lines changed

3 files changed

+77
-16
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Validation lib comparaison
22

3+
[![Project license](https://img.shields.io/github/license/Shuunen/validation-lib-comparison.svg?color=informational)](https://github.com/Shuunen/validation-lib-comparison/blob/master/LICENSE)
4+
35
## The goal of this project
46

57
The goal is to compare different libraries and approaches to validate data in a TypeScript ecosystem.
@@ -80,4 +82,11 @@ Just open an issue or a PR, I'll be happy to discuss it with you <3
8082
- [Shields.io](https://shields.io) : for the nice badges on top of this readme
8183
- [Valibot](https://github.com/fabian-hiller/valibot) : for making this comparison possible
8284
- [Zod](https://github.com/colinhacks/zod) : for making this comparison possible
83-
85+
86+
## Stargazers over time
87+
88+
[![Stargazers over time](https://starchart.cc/Shuunen/validation-lib-comparison.svg?variant=adaptive)](https://starchart.cc/Shuunen/validation-lib-comparison)
89+
90+
## Page views
91+
92+
[![Free Website Counter](https://www.websitecounterfree.com/c.php?d=9&id=65903&s=12)](https://www.websitecounterfree.com)

bun.lock

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"workspaces": {
44
"": {
55
"dependencies": {
6-
"arktype": "^2.0.4",
7-
"valibot": "^1.0.0-rc.1",
8-
"zod": "^3.24.2",
6+
"arktype": "^2.0",
7+
"valibot": "latest",
8+
"zod": "^3.24",
99
},
1010
"devDependencies": {
11+
"@tsconfig/strictest": "^2.0",
1112
"@types/bun": "latest",
12-
},
13-
"peerDependencies": {
14-
"typescript": "^5.7.3",
13+
"repo-check": "^1.40",
14+
"typescript": "^5.7",
1515
},
1616
},
1717
},
@@ -20,16 +20,38 @@
2020

2121
"@ark/util": ["@ark/[email protected]", "", {}, "sha512-90APHVklk8BP4kku7hIh1BgrhuyKYqoZ4O7EybtFRo7cDl9mIyc/QUbGvYDg//73s0J2H0I/gW9pzroA1R4IBQ=="],
2222

23+
"@tsconfig/strictest": ["@tsconfig/[email protected]", "", {}, "sha512-ec4tjL2Rr0pkZ5hww65c+EEPYwxOi4Ryv+0MtjeaSQRJyq322Q27eOQiFbuNgw2hpL4hB1/W/HBGk3VKS43osg=="],
24+
2325
"@types/bun": ["@types/[email protected]", "", { "dependencies": { "bun-types": "1.2.2" } }, "sha512-tr74gdku+AEDN5ergNiBnplr7hpDp3V1h7fqI2GcR/rsUaM39jpSeKH0TFibRvU0KwniRx5POgaYnaXbk0hU+w=="],
2426

2527
"@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.20.0" } }, "sha512-ywP2X0DYtX3y08eFVx5fNIw7/uIv8hYUKgXoK8oayJlLnKcRfEYCxWMVE1XagUdVtCJlZT1AU4LXEABW+L1Peg=="],
2628

2729
"@types/ws": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw=="],
2830

31+
"arg": ["[email protected]", "", {}, "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="],
32+
2933
"arktype": ["[email protected]", "", { "dependencies": { "@ark/schema": "0.39.0", "@ark/util": "0.39.0" } }, "sha512-S68rWVDnJauwH7/QCm8zCUM3aTe9Xk6oRihdcc3FSUAtxCo/q1Fwq46JhcwB5Ufv1YStwdQRz+00Y/URlvbhAQ=="],
3034

3135
"bun-types": ["[email protected]", "", { "dependencies": { "@types/node": "*", "@types/ws": "~8.5.10" } }, "sha512-RCbMH5elr9gjgDGDhkTTugA21XtJAy/9jkKe/G3WR2q17VPGhcquf9Sir6uay9iW+7P/BV0CAHA1XlHXMAVKHg=="],
3236

37+
"detect-indent": ["[email protected]", "", {}, "sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g=="],
38+
39+
"detect-newline": ["[email protected]", "", {}, "sha512-CwffZFvlJffUg9zZA0uqrjQayUTC8ob94pnr5sFwaVv3IOmkfUHcWH+jXaQK3askE51Cqe8/9Ql/0uXNwqZ8Zg=="],
40+
41+
"globalyzer": ["[email protected]", "", {}, "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q=="],
42+
43+
"globrex": ["[email protected]", "", {}, "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg=="],
44+
45+
"minimist": ["[email protected]", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="],
46+
47+
"repo-check": ["[email protected]", "", { "dependencies": { "arg": "5.0", "shuutils": "10.1", "sort-json": "2.0" }, "bin": { "repo-check": "dist/repo-check.min.cjs" } }, "sha512-EO5AKEYlUU8cRDq/9PVEkTsQ19371lCdw38KTHVWH48Nxq7kS6uJXYEHBii/AQ0kXRVxJP57uMi84lGH5zNRZQ=="],
48+
49+
"shuutils": ["[email protected]", "", { "dependencies": { "tiny-glob": "0.2" }, "bin": { "unique-mark": "dist/unique-mark.cjs" } }, "sha512-Q+8PaUIik4W3bEE2xtDMZvYC7y4B8mnh3x7cneXPJmry0esVRir+hSZHh5Kjh6rtV0pYj+eKtAXBxJ8LDqPZhA=="],
50+
51+
"sort-json": ["[email protected]", "", { "dependencies": { "detect-indent": "^5.0.0", "detect-newline": "^2.1.0", "minimist": "^1.2.0" }, "bin": { "sort-json": "app/cmd.js" } }, "sha512-s8cs2bcsQCzo/P2T/uoU6Js4dS/jnX8+4xunziNoq9qmSpZNCrRIAIvp4avsz0ST18HycV4z/7myJ7jsHWB2XQ=="],
52+
53+
"tiny-glob": ["[email protected]", "", { "dependencies": { "globalyzer": "0.1.0", "globrex": "^0.1.2" } }, "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg=="],
54+
3355
"typescript": ["[email protected]", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw=="],
3456

3557
"undici-types": ["[email protected]", "", {}, "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="],

package.json

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,55 @@
11
{
2+
"$schema": "https://json.schemastore.org/package",
3+
"author": "Jordan Boyer",
4+
"bugs": "https://github.com/Shuunen/validation-lib-comparison/issues",
5+
"contributors": [
6+
{
7+
"name": "Jordan Boyer"
8+
},
9+
{
10+
"email": "[email protected]",
11+
"name": "Romain Racamier-Lafon"
12+
}
13+
],
214
"dependencies": {
3-
"arktype": "^2.0.4",
4-
"valibot": "^1.0.0-rc.1",
5-
"zod": "^3.24.2"
15+
"arktype": "^2.0",
16+
"valibot": "latest",
17+
"zod": "^3.24"
618
},
19+
"description": "Comparison of different TypeScript validation libraries",
720
"devDependencies": {
8-
"@types/bun": "latest"
21+
"@tsconfig/strictest": "^2.0",
22+
"@types/bun": "latest",
23+
"repo-check": "^1.40",
24+
"typescript": "^5.7"
925
},
26+
"files": [
27+
"dist"
28+
],
29+
"homepage": "https://github.com/Shuunen/validation-lib-comparison#readme",
30+
"keywords": [
31+
"shuunen",
32+
"typescript",
33+
"validation",
34+
"comparison"
35+
],
36+
"license": "MIT",
1037
"module": "index.ts",
1138
"name": "validation-lib-comparaison",
12-
"peerDependencies": {
13-
"typescript": "^5.7.3"
39+
"private": true,
40+
"repository": {
41+
"type": "git",
42+
"url": "git+https://github.com/Shuunen/validation-lib-comparison.git"
1443
},
1544
"scripts": {
1645
"bench": "bun bench:bun --warmup 5 --runs 25",
1746
"bench:bun": "hyperfine 'bun src/arktype.ts' 'bun src/valibot.ts' 'bun src/zod.ts'",
1847
"bench:node": "hyperfine --runs 30 'node dist/arktype.js' 'node dist/valibot.js' 'node dist/zod.js'",
1948
"build": "bun scripts/build.ts && echo build success",
20-
"check": "bun check:tsc && bun run build && bun check:once && echo check success",
49+
"check": "repo-check && bun check:tsc && bun run build && bun check:once && echo check success",
2150
"check:once": "bun bench:bun --runs 1 && echo check:once success",
2251
"check:tsc": "tsc --noEmit && echo check:tsc success"
2352
},
24-
"type": "module"
25-
}
53+
"type": "module",
54+
"version": "1.0.0"
55+
}

0 commit comments

Comments
 (0)