Skip to content

Commit 61c05ef

Browse files
committed
fix: knip
1 parent 851e9cb commit 61c05ef

File tree

16 files changed

+30
-46
lines changed

16 files changed

+30
-46
lines changed

packages/react-form-nextjs/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,14 @@
4747
],
4848
"dependencies": {
4949
"@tanstack/react-form": "workspace:*",
50-
"decode-formdata": "^0.9.0",
51-
"devalue": "^5.3.2"
50+
"decode-formdata": "^0.9.0"
5251
},
5352
"devDependencies": {
5453
"@tanstack/react-start": "^1.132.32",
5554
"@types/react": "^19.0.7",
56-
"@types/react-dom": "^19.0.3",
5755
"@vitejs/plugin-react": "^4.7.0",
5856
"eslint-plugin-react-compiler": "19.1.0-rc.2",
5957
"react": "^19.0.0",
60-
"react-dom": "^19.0.0",
6158
"vite": "^7.1.6"
6259
},
6360
"peerDependencies": {

packages/react-form-nextjs/src/createServerValidate.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ import {
33
isGlobalFormValidationError,
44
isStandardSchemaValidator,
55
standardSchemaValidators,
6-
} from '@tanstack/form-core'
6+
} from '@tanstack/react-form'
77
import { ServerValidateError } from './error'
8+
89
import type {
910
FormAsyncValidateOrFn,
1011
FormOptions,
1112
FormValidateAsyncFn,
1213
FormValidateOrFn,
14+
ServerFormState,
1315
UnwrapFormAsyncValidateOrFn,
14-
} from '@tanstack/form-core'
15-
import type { ServerFormState } from '@tanstack/react-form'
16+
} from '@tanstack/react-form'
1617

1718
interface CreateServerValidateOptions<
1819
TFormData,

packages/react-form-nextjs/src/error.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
import type { FormAsyncValidateOrFn } from '@tanstack/form-core'
2-
import type { ServerFormState } from '@tanstack/react-form'
1+
import type {
2+
FormAsyncValidateOrFn,
3+
ServerFormState,
4+
} from '@tanstack/react-form'
35

46
interface ServerValidateErrorState<
57
TFormData,

packages/react-form-nextjs/src/useTransform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { AnyFormApi, FormTransform } from '@tanstack/form-core'
1+
import type { AnyFormApi, FormTransform } from '@tanstack/react-form'
22

33
export function useTransform(
44
fn: (formBase: AnyFormApi) => AnyFormApi,

packages/react-form-nextjs/tests/utils.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/react-form-remix/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,14 @@
4747
],
4848
"dependencies": {
4949
"@tanstack/react-form": "workspace:*",
50-
"@tanstack/react-store": "^0.7.7",
51-
"decode-formdata": "^0.9.0",
52-
"devalue": "^5.3.2"
50+
"decode-formdata": "^0.9.0"
5351
},
5452
"devDependencies": {
5553
"@tanstack/react-start": "^1.132.32",
5654
"@types/react": "^19.0.7",
57-
"@types/react-dom": "^19.0.3",
5855
"@vitejs/plugin-react": "^4.7.0",
5956
"eslint-plugin-react-compiler": "19.1.0-rc.2",
6057
"react": "^19.0.0",
61-
"react-dom": "^19.0.0",
6258
"vite": "^7.1.6"
6359
},
6460
"peerDependencies": {

packages/react-form-remix/src/createServerValidate.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ import {
33
isGlobalFormValidationError,
44
isStandardSchemaValidator,
55
standardSchemaValidators,
6-
} from '@tanstack/form-core'
6+
} from '@tanstack/react-form'
77
import { ServerValidateError } from './error'
8+
89
import type {
910
FormAsyncValidateOrFn,
1011
FormOptions,
1112
FormValidateAsyncFn,
1213
FormValidateOrFn,
14+
ServerFormState,
1315
UnwrapFormAsyncValidateOrFn,
14-
} from '@tanstack/form-core'
15-
import type { ServerFormState } from '@tanstack/react-form'
16+
} from '@tanstack/react-form'
1617

1718
interface CreateServerValidateOptions<
1819
TFormData,

packages/react-form-remix/src/error.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
import type { FormAsyncValidateOrFn } from '@tanstack/form-core'
2-
import type { ServerFormState } from '@tanstack/react-form'
1+
import type {
2+
FormAsyncValidateOrFn,
3+
ServerFormState,
4+
} from '@tanstack/react-form'
35

46
interface ServerValidateErrorState<
57
TFormData,

packages/react-form-remix/src/useTransform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { AnyFormApi, FormTransform } from '@tanstack/form-core'
1+
import type { AnyFormApi, FormTransform } from '@tanstack/react-form'
22

33
export function useTransform(
44
fn: (formBase: AnyFormApi) => AnyFormApi,

packages/react-form-remix/tests/utils.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)