Skip to content

Commit e74f4f6

Browse files
authored
feat(valibot): creates schema-valibot-adapter package (#25)
* feat(schema-valibot-adapter): adds valibot.Functor, valibot.toString * chore: commits changeset
1 parent 722ccab commit e74f4f6

File tree

26 files changed

+1196
-37
lines changed

26 files changed

+1196
-37
lines changed

.changeset/hot-pugs-bake.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@traversable/schema-valibot-adapter": patch
3+
"@traversable/schema-zod-adapter": patch
4+
"@traversable/json": patch
5+
---
6+
7+
feat(valibot): adds `schema-valibot-adapter` package

config/__generated__/package-list.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# @traversable/schema-valibot-adapter
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "@traversable/schema-valibot-adapter",
3+
"type": "module",
4+
"version": "0.0.0",
5+
"private": false,
6+
"description": "",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/traversable/schema.git",
10+
"directory": "packages/schema-valibot-adapter"
11+
},
12+
"bugs": {
13+
"url": "https://github.com/traversable/schema/issues",
14+
"email": "ahrjarrett@gmail.com"
15+
},
16+
"@traversable": {
17+
"generateExports": {
18+
"include": [
19+
"**/*.ts"
20+
]
21+
},
22+
"generateIndex": {
23+
"include": [
24+
"**/*.ts"
25+
]
26+
}
27+
},
28+
"publishConfig": {
29+
"access": "public"
30+
},
31+
"scripts": {
32+
"bench": "echo NOTHING TO BENCH",
33+
"build": "pnpm build:esm && pnpm build:cjs && pnpm build:annotate",
34+
"build:annotate": "babel build --plugins annotate-pure-calls --out-dir build --source-maps",
35+
"build:esm": "tsc -b tsconfig.build.json",
36+
"build:cjs": "babel build/esm --plugins @babel/transform-export-namespace-from --plugins @babel/transform-modules-commonjs --out-dir build/cjs --source-maps",
37+
"check": "tsc -b tsconfig.json",
38+
"clean": "pnpm run \"/^clean:.*/\"",
39+
"clean:build": "rm -rf .tsbuildinfo dist build",
40+
"clean:deps": "rm -rf node_modules",
41+
"test": "vitest"
42+
},
43+
"peerDependencies": {
44+
"@traversable/json": "workspace:^",
45+
"@traversable/registry": "workspace:^",
46+
"valibot": "1.0.0-rc.1"
47+
},
48+
"peerDependenciesMeta": {
49+
"@traversable/json": { "optional": false },
50+
"@traversable/registry": { "optional": false },
51+
"valibot": { "optional": false }
52+
},
53+
"devDependencies": {
54+
"@traversable/json": "workspace:^",
55+
"@traversable/registry": "workspace:^",
56+
"valibot": "1.0.0-rc.1"
57+
}
58+
}

packages/schema-valibot-adapter/src/__generated__/__manifest__.ts

Lines changed: 41 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export * from './version.js'
2+
export {
3+
fromConstant,
4+
fromUnknown,
5+
fromConstantToSchemaString,
6+
toString,
7+
} from './functor.js'

0 commit comments

Comments
 (0)