Skip to content

Commit 9079af1

Browse files
authored
fix: publish Yup and Zod adapters (#474)
* fix: publish Yup and Zod adapters * chore: fix pnpm lock file
1 parent 280a3bf commit 9079af1

File tree

7 files changed

+35
-11
lines changed

7 files changed

+35
-11
lines changed

docs/guides/basic-concepts.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ id: basic-concepts
33
title: Basic Concepts and Terminology
44
---
55

6-
# Basic Concepts and Terminology
7-
86
This page introduces the basic concepts and terminology used in the `@tanstack/react-form` library. Familiarizing yourself with these concepts will help you better understand and work with the library.
97

108
## Form Factory

docs/guides/validation.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ id: form-validation
33
title: Form and Field Validation
44
---
55

6-
# Form and Field Validation
7-
86
At the core of TanStack Form's functionalities is the concept of validation. We currently support three mechanisms of validation:
97

108
- Synchronous functional validation

packages/yup-form-adapter/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from 'vitest/config'
22

33
export default defineConfig({
44
test: {
5-
name: 'form-core',
5+
name: 'yup-form-adapter',
66
dir: './src',
77
watch: false,
88
environment: 'jsdom',

packages/zod-form-adapter/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from 'vitest/config'
22

33
export default defineConfig({
44
test: {
5-
name: 'form-core',
5+
name: 'zod-form-adapter',
66
dir: './src',
77
watch: false,
88
environment: 'jsdom',

pnpm-lock.yaml

Lines changed: 22 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ export const packages: Package[] = [
1515
name: '@tanstack/vue-form',
1616
packageDir: 'vue-form',
1717
},
18+
{
19+
name: '@tanstack/zod-form-adapter',
20+
packageDir: 'zod-form-adapter',
21+
},
22+
{
23+
name: '@tanstack/yup-form-adapter',
24+
packageDir: 'yup-form-adapter',
25+
},
1826
// {
1927
// name: '@tanstack/solid-store',
2028
// packageDir: 'solid-store',

tsconfig.base.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"paths": {
1818
"@tanstack/form-core": ["packages/form-core"],
1919
"@tanstack/react-form": ["packages/react-form"],
20-
"@tanstack/vue-form": ["packages/vue-form"]
20+
"@tanstack/vue-form": ["packages/vue-form"],
21+
"@tanstack/yup-form-adapter": ["packages/yup-form-adapter"],
22+
"@tanstack/zod-form-adapter": ["packages/zod-form-adapter"]
2123
}
2224
},
2325
"ts-node": {

0 commit comments

Comments
 (0)