Skip to content

Commit

Permalink
fix: publish Yup and Zod adapters (#474)
Browse files Browse the repository at this point in the history
* fix: publish Yup and Zod adapters

* chore: fix pnpm lock file
  • Loading branch information
crutchcorn authored Oct 18, 2023
1 parent 280a3bf commit 9079af1
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 11 deletions.
2 changes: 0 additions & 2 deletions docs/guides/basic-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ id: basic-concepts
title: Basic Concepts and Terminology
---

# Basic Concepts and Terminology

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.

## Form Factory
Expand Down
2 changes: 0 additions & 2 deletions docs/guides/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ id: form-validation
title: Form and Field Validation
---

# Form and Field Validation

At the core of TanStack Form's functionalities is the concept of validation. We currently support three mechanisms of validation:

- Synchronous functional validation
Expand Down
2 changes: 1 addition & 1 deletion packages/yup-form-adapter/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'vitest/config'

export default defineConfig({
test: {
name: 'form-core',
name: 'yup-form-adapter',
dir: './src',
watch: false,
environment: 'jsdom',
Expand Down
2 changes: 1 addition & 1 deletion packages/zod-form-adapter/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'vitest/config'

export default defineConfig({
test: {
name: 'form-core',
name: 'zod-form-adapter',
dir: './src',
watch: false,
environment: 'jsdom',
Expand Down
26 changes: 22 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ export const packages: Package[] = [
name: '@tanstack/vue-form',
packageDir: 'vue-form',
},
{
name: '@tanstack/zod-form-adapter',
packageDir: 'zod-form-adapter',
},
{
name: '@tanstack/yup-form-adapter',
packageDir: 'yup-form-adapter',
},
// {
// name: '@tanstack/solid-store',
// packageDir: 'solid-store',
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"paths": {
"@tanstack/form-core": ["packages/form-core"],
"@tanstack/react-form": ["packages/react-form"],
"@tanstack/vue-form": ["packages/vue-form"]
"@tanstack/vue-form": ["packages/vue-form"],
"@tanstack/yup-form-adapter": ["packages/yup-form-adapter"],
"@tanstack/zod-form-adapter": ["packages/zod-form-adapter"]
}
},
"ts-node": {
Expand Down

0 comments on commit 9079af1

Please sign in to comment.