Skip to content

Commit 0684b02

Browse files
authored
[v2] Fix coderabbit and type generation (#2321)
* add alpha branch to coderabbit coverage * chore: simplify type reference generation
1 parent 07aa51c commit 0684b02

18 files changed

Lines changed: 32 additions & 154 deletions

File tree

.coderabbit.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
base_branches:
2+
- alpha
3+
- main

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
3737
"dev": "pnpm run watch",
3838
"format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
39+
"pregenerate-docs": "pnpm --dir packages/form-core build",
3940
"generate-docs": "node scripts/generate-docs.ts",
4041
"changeset": "changeset",
4142
"changeset:publish": "changeset publish",

packages/angular-form/src/index.ts

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
export * from '@tanstack/form-core'
22

3-
export { TanStackAppArrayField, TanStackAppField } from './app-field'
4-
export { injectForm } from './inject-form'
5-
export { injectSelector } from './inject-selector'
6-
export { TanStackFormGroup } from './form-group'
7-
export {
8-
TanStackArrayField,
9-
TanStackField,
10-
type AngularFieldApi,
11-
} from './tanstack-field'
12-
export { TanStackFieldInjectable, injectField } from './injectable'
13-
export type { AngularFormType, AnyAngularFormApi } from './form-type'
3+
export * from './app-field'
4+
export * from './inject-form'
5+
export * from './inject-selector'
6+
export * from './form-group'
7+
export * from './tanstack-field'
8+
export * from './injectable'
9+
export type * from './form-type'

packages/angular-form/tsconfig.docs.json

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

packages/form-core/tsconfig.docs.json

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

packages/lit-form/src/index.ts

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
11
export * from '@tanstack/form-core'
22

3-
export { getFormType } from './get-form-type.js'
4-
export type { LitFormType } from './get-form-type.js'
5-
export { TanStackFormController } from './tanstack-form-controller.js'
6-
export type {
7-
LitFieldMethods,
8-
LitFormGroupApi,
9-
LitSubscribeMethod,
10-
} from './tanstack-form-controller.js'
11-
export { defineFieldGroup } from './with-fields.js'
12-
export type {
13-
AnyFieldGroupFieldSlot,
14-
DefineFieldGroupFn,
15-
FieldGroupDefinition,
16-
FieldGroupFieldBindings,
17-
FieldGroupFieldBindingsOf,
18-
FieldGroupFieldData,
19-
FieldGroupFieldSlot,
20-
FieldGroupFields,
21-
FieldGroupFieldsOf,
22-
FieldGroupHelper,
23-
FieldGroupWithFieldsFn,
24-
LitFieldGroup,
25-
LitFieldGroupApi,
26-
} from './with-fields.js'
3+
export * from './get-form-type.js'
4+
export * from './tanstack-form-controller.js'
5+
export * from './with-fields.js'

packages/lit-form/tsconfig.docs.json

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

packages/preact-form/tsconfig.docs.json

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

packages/react-form-devtools/tsconfig.docs.json

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

packages/react-form-nextjs/tsconfig.docs.json

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

0 commit comments

Comments
 (0)