Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita372b95

Browse files
authored
ci: script for checking type exports (#2822)
* chore: add a script for checking type exports* fix: export missing types* fix: remove duplicated exports
1 parent6f8aaf6 commita372b95

File tree

57 files changed

+450
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+450
-143
lines changed

‎.changeset/public-ducks-spend.md‎

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
"@zag-js/navigation-menu":patch
3+
"@zag-js/floating-panel":patch
4+
"@zag-js/password-input":patch
5+
"@zag-js/image-cropper":patch
6+
"@zag-js/signature-pad":patch
7+
"@zag-js/angle-slider":patch
8+
"@zag-js/color-picker":patch
9+
"@zag-js/number-input":patch
10+
"@zag-js/rating-group":patch
11+
"@zag-js/toggle-group":patch
12+
"@zag-js/collapsible":patch
13+
"@zag-js/date-picker":patch
14+
"@zag-js/file-upload":patch
15+
"@zag-js/radio-group":patch
16+
"@zag-js/scroll-area":patch
17+
"@zag-js/async-list":patch
18+
"@zag-js/hover-card":patch
19+
"@zag-js/pagination":patch
20+
"@zag-js/tags-input":patch
21+
"@zag-js/accordion":patch
22+
"@zag-js/clipboard":patch
23+
"@zag-js/pin-input":patch
24+
"@zag-js/tree-view":patch
25+
"@zag-js/carousel":patch
26+
"@zag-js/checkbox":patch
27+
"@zag-js/combobox":patch
28+
"@zag-js/editable":patch
29+
"@zag-js/progress":patch
30+
"@zag-js/splitter":patch
31+
"@zag-js/listbox":patch
32+
"@zag-js/marquee":patch
33+
"@zag-js/popover":patch
34+
"@zag-js/qr-code":patch
35+
"@zag-js/tooltip":patch
36+
"@zag-js/avatar":patch
37+
"@zag-js/dialog":patch
38+
"@zag-js/select":patch
39+
"@zag-js/slider":patch
40+
"@zag-js/switch":patch
41+
"@zag-js/toggle":patch
42+
"@zag-js/steps":patch
43+
"@zag-js/timer":patch
44+
"@zag-js/toast":patch
45+
"@zag-js/menu":patch
46+
"@zag-js/tabs":patch
47+
"@zag-js/tour":patch
48+
---
49+
50+
Export missing types

‎.github/workflows/quality.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,16 @@ jobs:
8888

8989
-name:Run TypeScript type check
9090
run:pnpm typecheck
91+
92+
checks:
93+
name:Check for various issues
94+
runs-on:ubuntu-latest
95+
steps:
96+
-name:Checkout
97+
uses:actions/checkout@v5
98+
99+
-name:Install
100+
uses:./.github/composite-actions/install
101+
102+
-name:Check type exports
103+
run:pnpm check-type-exports

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"document-types":"tsx scripts/typedocs.ts",
5252
"document-attr":"tsx scripts/data-attr.ts",
5353
"document-css-vars":"tsx scripts/css-vars.ts",
54+
"check-type-exports":"tsx scripts/check-type-exports.ts",
5455
"website":"pnpm --filter=./website",
5556
"sync-submodules":"pnpm vercel-submodules --all"
5657
},

‎packages/machines/accordion/src/index.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ export { machine } from "./accordion.machine"
44
export*from"./accordion.props"
55
exporttype{
66
AccordionApiasApi,
7+
AccordionMachineasMachine,
8+
AccordionPropsasProps,
9+
AccordionServiceasService,
710
ElementIds,
811
FocusChangeDetails,
912
ItemProps,
1013
ItemState,
11-
AccordionMachineasMachine,
12-
AccordionPropsasProps,
13-
AccordionServiceasService,
1414
ValueChangeDetails,
1515
}from"./accordion.types"

‎packages/machines/angle-slider/src/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ export { machine } from "./angle-slider.machine"
44
export*from"./angle-slider.props"
55
exporttype{
66
AngleSliderApiasApi,
7-
ElementIds,
87
AngleSliderMachineasMachine,
9-
MarkerProps,
108
AngleSliderPropsasProps,
119
AngleSliderServiceasService,
10+
ElementIds,
11+
MarkerProps,
1212
ValueChangeDetails,
1313
}from"./angle-slider.types"

‎packages/machines/async-list/src/index.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
export{connect}from"./async-list.connect"
22
export{machine}from"./async-list.machine"
33
exporttype{
4-
AsyncListServiceasService,
5-
AsyncListSchemaasSchema,
4+
AsyncListApiasApi,
65
AsyncListMachineasMachine,
76
AsyncListPropsasProps,
8-
AsyncListApiasApi,
7+
AsyncListServiceasService,
98
LoadDependency,
109
LoadDetails,
1110
LoadResult,

‎packages/machines/avatar/src/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ export { machine } from "./avatar.machine"
44
export*from"./avatar.props"
55
exporttype{
66
AvatarApiasApi,
7-
ElementIds,
8-
LoadStatus,
97
AvatarMachineasMachine,
108
AvatarPropsasProps,
119
AvatarServiceasService,
10+
ElementIds,
11+
LoadStatus,
1212
StatusChangeDetails,
1313
}from"./avatar.types"

‎packages/machines/carousel/src/index.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ export { machine } from "./carousel.machine"
44
export*from"./carousel.props"
55
exporttype{
66
CarouselApiasApi,
7+
CarouselMachineasMachine,
8+
CarouselServiceasService,
9+
CarouselPropsasProps,
710
AutoplayStatusDetails,
811
DragStatusDetails,
912
ElementIds,
1013
IndicatorProps,
1114
IntlTranslations,
1215
ItemProps,
13-
CarouselMachineasMachine,
1416
Orientation,
1517
PageChangeDetails,
1618
ProgressTextDetails,
17-
CarouselPropsasProps,
18-
CarouselServiceasService,
1919
}from"./carousel.types"

‎packages/machines/checkbox/src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type {
66
CheckboxApiasApi,
77
CheckboxMachineasMachine,
88
CheckboxPropsasProps,
9-
CheckboxSchemaasSchema,
9+
CheckboxServiceasService,
1010
CheckedChangeDetails,
1111
CheckedState,
1212
ElementIds,

‎packages/machines/clipboard/src/index.ts‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ export { machine } from "./clipboard.machine"
44
export*from"./clipboard.props"
55
exporttype{
66
ClipboardApiasApi,
7+
ClipboardMachineasMachine,
8+
ClipboardPropsasProps,
9+
ClipboardServiceasService,
710
CopyStatusDetails,
811
ValueChangeDetails,
912
ElementIds,
1013
IndicatorProps,
11-
ClipboardMachineasMachine,
12-
ClipboardPropsasProps,
13-
ClipboardSchemaasSchema,
14-
ClipboardServiceasService,
1514
}from"./clipboard.types"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp