arcway 0.1.25 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/hooks/swr-compat.js +25 -0
- package/client/hooks/use-api.js +1 -4
- package/client/hooks/use-graphql.js +1 -2
- package/client/hooks/use-mutation.js +1 -1
- package/client/hooks/web/use-local-storage.js +54 -16
- package/client/index.js +15 -55
- package/client/router.js +51 -29
- package/client/ui/index.js +62 -380
- package/package.json +1 -1
- package/server/bin/commands/build.js +3 -0
- package/server/build.js +1 -1
- package/server/config/modules/pages.js +2 -2
- package/server/index.js +8 -33
- package/server/pages/build-client.js +1 -1
- package/server/pages/chunk-graph.js +1 -0
- package/server/pages/fonts.js +14 -1
- package/server/pages/handler.js +2 -2
- package/server/pages/lazy-context.js +2 -2
- package/server/pages/out-dir.js +1 -1
- package/server/pages/vite-dev.js +38 -3
- package/server/router/api-router.js +71 -2
- package/server/router/ratelimit.js +50 -0
- package/server/router/routes.js +10 -0
- package/client/hooks/use-form.js +0 -86
package/client/ui/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export { cn } from './lib/utils.js';
|
|
2
|
+
export { AppShell, AppShellContext, useAppShell } from './app-shell.jsx';
|
|
3
|
+
export { MainContent } from './main-content.jsx';
|
|
4
|
+
export { Panel } from './panel.jsx';
|
|
5
|
+
export { Form } from './form.jsx';
|
|
6
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from './accordion.jsx';
|
|
7
|
+
export { Alert, AlertTitle, AlertDescription, AlertAction } from './alert.jsx';
|
|
8
|
+
export {
|
|
9
9
|
AlertDialog,
|
|
10
10
|
AlertDialogAction,
|
|
11
11
|
AlertDialogCancel,
|
|
@@ -19,8 +19,8 @@ import {
|
|
|
19
19
|
AlertDialogTitle,
|
|
20
20
|
AlertDialogTrigger,
|
|
21
21
|
} from './alert-dialog.jsx';
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
export { AspectRatio } from './aspect-ratio.jsx';
|
|
23
|
+
export {
|
|
24
24
|
Avatar,
|
|
25
25
|
AvatarImage,
|
|
26
26
|
AvatarFallback,
|
|
@@ -28,8 +28,8 @@ import {
|
|
|
28
28
|
AvatarGroupCount,
|
|
29
29
|
AvatarBadge,
|
|
30
30
|
} from './avatar.jsx';
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
export { Badge, badgeVariants } from './badge.jsx';
|
|
32
|
+
export {
|
|
33
33
|
Breadcrumb,
|
|
34
34
|
BreadcrumbList,
|
|
35
35
|
BreadcrumbItem,
|
|
@@ -38,15 +38,15 @@ import {
|
|
|
38
38
|
BreadcrumbSeparator,
|
|
39
39
|
BreadcrumbEllipsis,
|
|
40
40
|
} from './breadcrumb.jsx';
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
export { Button, buttonVariants } from './button.jsx';
|
|
42
|
+
export {
|
|
43
43
|
ButtonGroup,
|
|
44
44
|
ButtonGroupSeparator,
|
|
45
45
|
ButtonGroupText,
|
|
46
46
|
buttonGroupVariants,
|
|
47
47
|
} from './button-group.jsx';
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
export { Calendar, CalendarDayButton } from './calendar.jsx';
|
|
49
|
+
export {
|
|
50
50
|
Card,
|
|
51
51
|
CardHeader,
|
|
52
52
|
CardFooter,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
CardDescription,
|
|
56
56
|
CardContent,
|
|
57
57
|
} from './card.jsx';
|
|
58
|
-
|
|
58
|
+
export {
|
|
59
59
|
Carousel,
|
|
60
60
|
CarouselContent,
|
|
61
61
|
CarouselItem,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
CarouselNext,
|
|
64
64
|
useCarousel,
|
|
65
65
|
} from './carousel.jsx';
|
|
66
|
-
|
|
66
|
+
export {
|
|
67
67
|
ChartContainer,
|
|
68
68
|
ChartTooltip,
|
|
69
69
|
ChartTooltipContent,
|
|
@@ -71,9 +71,9 @@ import {
|
|
|
71
71
|
ChartLegendContent,
|
|
72
72
|
ChartStyle,
|
|
73
73
|
} from './chart.jsx';
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
export { Checkbox } from './checkbox.jsx';
|
|
75
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './collapsible.jsx';
|
|
76
|
+
export {
|
|
77
77
|
Combobox,
|
|
78
78
|
ComboboxInput,
|
|
79
79
|
ComboboxContent,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
ComboboxValue,
|
|
92
92
|
useComboboxAnchor,
|
|
93
93
|
} from './combobox.jsx';
|
|
94
|
-
|
|
94
|
+
export {
|
|
95
95
|
Command,
|
|
96
96
|
CommandDialog,
|
|
97
97
|
CommandInput,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
CommandShortcut,
|
|
103
103
|
CommandSeparator,
|
|
104
104
|
} from './command.jsx';
|
|
105
|
-
|
|
105
|
+
export {
|
|
106
106
|
ContextMenu,
|
|
107
107
|
ContextMenuTrigger,
|
|
108
108
|
ContextMenuContent,
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
ContextMenuSubTrigger,
|
|
120
120
|
ContextMenuRadioGroup,
|
|
121
121
|
} from './context-menu.jsx';
|
|
122
|
-
|
|
122
|
+
export {
|
|
123
123
|
Dialog,
|
|
124
124
|
DialogClose,
|
|
125
125
|
DialogContent,
|
|
@@ -131,8 +131,8 @@ import {
|
|
|
131
131
|
DialogTitle,
|
|
132
132
|
DialogTrigger,
|
|
133
133
|
} from './dialog.jsx';
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
export { DirectionProvider, useDirection } from './direction.jsx';
|
|
135
|
+
export {
|
|
136
136
|
Drawer,
|
|
137
137
|
DrawerPortal,
|
|
138
138
|
DrawerOverlay,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
DrawerTitle,
|
|
145
145
|
DrawerDescription,
|
|
146
146
|
} from './drawer.jsx';
|
|
147
|
-
|
|
147
|
+
export {
|
|
148
148
|
DropdownMenu,
|
|
149
149
|
DropdownMenuPortal,
|
|
150
150
|
DropdownMenuTrigger,
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
DropdownMenuSubTrigger,
|
|
162
162
|
DropdownMenuSubContent,
|
|
163
163
|
} from './dropdown-menu.jsx';
|
|
164
|
-
|
|
164
|
+
export {
|
|
165
165
|
Empty,
|
|
166
166
|
EmptyHeader,
|
|
167
167
|
EmptyTitle,
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
EmptyContent,
|
|
170
170
|
EmptyMedia,
|
|
171
171
|
} from './empty.jsx';
|
|
172
|
-
|
|
172
|
+
export {
|
|
173
173
|
Field,
|
|
174
174
|
FieldLabel,
|
|
175
175
|
FieldDescription,
|
|
@@ -181,9 +181,9 @@ import {
|
|
|
181
181
|
FieldContent,
|
|
182
182
|
FieldTitle,
|
|
183
183
|
} from './field.jsx';
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
export { HoverCard, HoverCardTrigger, HoverCardContent } from './hover-card.jsx';
|
|
185
|
+
export { Input } from './input.jsx';
|
|
186
|
+
export {
|
|
187
187
|
InputGroup,
|
|
188
188
|
InputGroupAddon,
|
|
189
189
|
InputGroupButton,
|
|
@@ -191,8 +191,8 @@ import {
|
|
|
191
191
|
InputGroupInput,
|
|
192
192
|
InputGroupTextarea,
|
|
193
193
|
} from './input-group.jsx';
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from './input-otp.jsx';
|
|
195
|
+
export {
|
|
196
196
|
Item,
|
|
197
197
|
ItemMedia,
|
|
198
198
|
ItemContent,
|
|
@@ -204,9 +204,9 @@ import {
|
|
|
204
204
|
ItemHeader,
|
|
205
205
|
ItemFooter,
|
|
206
206
|
} from './item.jsx';
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
export { Kbd, KbdGroup } from './kbd.jsx';
|
|
208
|
+
export { Label } from './label.jsx';
|
|
209
|
+
export {
|
|
210
210
|
Menubar,
|
|
211
211
|
MenubarPortal,
|
|
212
212
|
MenubarMenu,
|
|
@@ -224,8 +224,8 @@ import {
|
|
|
224
224
|
MenubarSubTrigger,
|
|
225
225
|
MenubarSubContent,
|
|
226
226
|
} from './menubar.jsx';
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
export { NativeSelect, NativeSelectOptGroup, NativeSelectOption } from './native-select.jsx';
|
|
228
|
+
export {
|
|
229
229
|
NavigationMenu,
|
|
230
230
|
NavigationMenuList,
|
|
231
231
|
NavigationMenuItem,
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
NavigationMenuViewport,
|
|
237
237
|
navigationMenuTriggerStyle,
|
|
238
238
|
} from './navigation-menu.jsx';
|
|
239
|
-
|
|
239
|
+
export {
|
|
240
240
|
Pagination,
|
|
241
241
|
PaginationContent,
|
|
242
242
|
PaginationEllipsis,
|
|
@@ -245,7 +245,7 @@ import {
|
|
|
245
245
|
PaginationNext,
|
|
246
246
|
PaginationPrevious,
|
|
247
247
|
} from './pagination.jsx';
|
|
248
|
-
|
|
248
|
+
export {
|
|
249
249
|
Popover,
|
|
250
250
|
PopoverAnchor,
|
|
251
251
|
PopoverContent,
|
|
@@ -254,11 +254,11 @@ import {
|
|
|
254
254
|
PopoverTitle,
|
|
255
255
|
PopoverTrigger,
|
|
256
256
|
} from './popover.jsx';
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
257
|
+
export { Progress } from './progress.jsx';
|
|
258
|
+
export { RadioGroup, RadioGroupItem } from './radio-group.jsx';
|
|
259
|
+
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from './resizable.jsx';
|
|
260
|
+
export { ScrollArea, ScrollBar } from './scroll-area.jsx';
|
|
261
|
+
export {
|
|
262
262
|
Select,
|
|
263
263
|
SelectContent,
|
|
264
264
|
SelectGroup,
|
|
@@ -270,8 +270,8 @@ import {
|
|
|
270
270
|
SelectTrigger,
|
|
271
271
|
SelectValue,
|
|
272
272
|
} from './select.jsx';
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
export { Separator } from './separator.jsx';
|
|
274
|
+
export {
|
|
275
275
|
Sheet,
|
|
276
276
|
SheetTrigger,
|
|
277
277
|
SheetClose,
|
|
@@ -281,7 +281,7 @@ import {
|
|
|
281
281
|
SheetTitle,
|
|
282
282
|
SheetDescription,
|
|
283
283
|
} from './sheet.jsx';
|
|
284
|
-
|
|
284
|
+
export {
|
|
285
285
|
Sidebar,
|
|
286
286
|
SidebarContent,
|
|
287
287
|
SidebarFooter,
|
|
@@ -307,12 +307,12 @@ import {
|
|
|
307
307
|
SidebarTrigger,
|
|
308
308
|
useSidebar,
|
|
309
309
|
} from './sidebar.jsx';
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
310
|
+
export { Skeleton } from './skeleton.jsx';
|
|
311
|
+
export { Slider } from './slider.jsx';
|
|
312
|
+
export { Toaster } from './sonner.jsx';
|
|
313
|
+
export { Spinner } from './spinner.jsx';
|
|
314
|
+
export { Switch } from './switch.jsx';
|
|
315
|
+
export {
|
|
316
316
|
Table,
|
|
317
317
|
TableHeader,
|
|
318
318
|
TableBody,
|
|
@@ -322,328 +322,10 @@ import {
|
|
|
322
322
|
TableCell,
|
|
323
323
|
TableCaption,
|
|
324
324
|
} from './table.jsx';
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
export {
|
|
333
|
-
Accordion,
|
|
334
|
-
AccordionContent,
|
|
335
|
-
AccordionItem,
|
|
336
|
-
AccordionTrigger,
|
|
337
|
-
Alert,
|
|
338
|
-
AlertAction,
|
|
339
|
-
AlertDescription,
|
|
340
|
-
AlertDialog,
|
|
341
|
-
AlertDialogAction,
|
|
342
|
-
AlertDialogCancel,
|
|
343
|
-
AlertDialogContent,
|
|
344
|
-
AlertDialogDescription,
|
|
345
|
-
AlertDialogFooter,
|
|
346
|
-
AlertDialogHeader,
|
|
347
|
-
AlertDialogMedia,
|
|
348
|
-
AlertDialogOverlay,
|
|
349
|
-
AlertDialogPortal,
|
|
350
|
-
AlertDialogTitle,
|
|
351
|
-
AlertDialogTrigger,
|
|
352
|
-
AlertTitle,
|
|
353
|
-
AppShell,
|
|
354
|
-
AppShellContext,
|
|
355
|
-
AspectRatio,
|
|
356
|
-
Avatar,
|
|
357
|
-
AvatarBadge,
|
|
358
|
-
AvatarFallback,
|
|
359
|
-
AvatarGroup,
|
|
360
|
-
AvatarGroupCount,
|
|
361
|
-
AvatarImage,
|
|
362
|
-
Badge,
|
|
363
|
-
Breadcrumb,
|
|
364
|
-
BreadcrumbEllipsis,
|
|
365
|
-
BreadcrumbItem,
|
|
366
|
-
BreadcrumbLink,
|
|
367
|
-
BreadcrumbList,
|
|
368
|
-
BreadcrumbPage,
|
|
369
|
-
BreadcrumbSeparator,
|
|
370
|
-
Button,
|
|
371
|
-
ButtonGroup,
|
|
372
|
-
ButtonGroupSeparator,
|
|
373
|
-
ButtonGroupText,
|
|
374
|
-
Calendar,
|
|
375
|
-
CalendarDayButton,
|
|
376
|
-
Card,
|
|
377
|
-
CardAction,
|
|
378
|
-
CardContent,
|
|
379
|
-
CardDescription,
|
|
380
|
-
CardFooter,
|
|
381
|
-
CardHeader,
|
|
382
|
-
CardTitle,
|
|
383
|
-
Carousel,
|
|
384
|
-
CarouselContent,
|
|
385
|
-
CarouselItem,
|
|
386
|
-
CarouselNext,
|
|
387
|
-
CarouselPrevious,
|
|
388
|
-
ChartContainer,
|
|
389
|
-
ChartLegend,
|
|
390
|
-
ChartLegendContent,
|
|
391
|
-
ChartStyle,
|
|
392
|
-
ChartTooltip,
|
|
393
|
-
ChartTooltipContent,
|
|
394
|
-
Checkbox,
|
|
395
|
-
Collapsible,
|
|
396
|
-
CollapsibleContent,
|
|
397
|
-
CollapsibleTrigger,
|
|
398
|
-
Combobox,
|
|
399
|
-
ComboboxChip,
|
|
400
|
-
ComboboxChips,
|
|
401
|
-
ComboboxChipsInput,
|
|
402
|
-
ComboboxCollection,
|
|
403
|
-
ComboboxContent,
|
|
404
|
-
ComboboxEmpty,
|
|
405
|
-
ComboboxGroup,
|
|
406
|
-
ComboboxInput,
|
|
407
|
-
ComboboxItem,
|
|
408
|
-
ComboboxLabel,
|
|
409
|
-
ComboboxList,
|
|
410
|
-
ComboboxSeparator,
|
|
411
|
-
ComboboxTrigger,
|
|
412
|
-
ComboboxValue,
|
|
413
|
-
Command,
|
|
414
|
-
CommandDialog,
|
|
415
|
-
CommandEmpty,
|
|
416
|
-
CommandGroup,
|
|
417
|
-
CommandInput,
|
|
418
|
-
CommandItem,
|
|
419
|
-
CommandList,
|
|
420
|
-
CommandSeparator,
|
|
421
|
-
CommandShortcut,
|
|
422
|
-
ContextMenu,
|
|
423
|
-
ContextMenuCheckboxItem,
|
|
424
|
-
ContextMenuContent,
|
|
425
|
-
ContextMenuGroup,
|
|
426
|
-
ContextMenuItem,
|
|
427
|
-
ContextMenuLabel,
|
|
428
|
-
ContextMenuPortal,
|
|
429
|
-
ContextMenuRadioGroup,
|
|
430
|
-
ContextMenuRadioItem,
|
|
431
|
-
ContextMenuSeparator,
|
|
432
|
-
ContextMenuShortcut,
|
|
433
|
-
ContextMenuSub,
|
|
434
|
-
ContextMenuSubContent,
|
|
435
|
-
ContextMenuSubTrigger,
|
|
436
|
-
ContextMenuTrigger,
|
|
437
|
-
Dialog,
|
|
438
|
-
DialogClose,
|
|
439
|
-
DialogContent,
|
|
440
|
-
DialogDescription,
|
|
441
|
-
DialogFooter,
|
|
442
|
-
DialogHeader,
|
|
443
|
-
DialogOverlay,
|
|
444
|
-
DialogPortal,
|
|
445
|
-
DialogTitle,
|
|
446
|
-
DialogTrigger,
|
|
447
|
-
DirectionProvider,
|
|
448
|
-
Drawer,
|
|
449
|
-
DrawerClose,
|
|
450
|
-
DrawerContent,
|
|
451
|
-
DrawerDescription,
|
|
452
|
-
DrawerFooter,
|
|
453
|
-
DrawerHeader,
|
|
454
|
-
DrawerOverlay,
|
|
455
|
-
DrawerPortal,
|
|
456
|
-
DrawerTitle,
|
|
457
|
-
DrawerTrigger,
|
|
458
|
-
DropdownMenu,
|
|
459
|
-
DropdownMenuCheckboxItem,
|
|
460
|
-
DropdownMenuContent,
|
|
461
|
-
DropdownMenuGroup,
|
|
462
|
-
DropdownMenuItem,
|
|
463
|
-
DropdownMenuLabel,
|
|
464
|
-
DropdownMenuPortal,
|
|
465
|
-
DropdownMenuRadioGroup,
|
|
466
|
-
DropdownMenuRadioItem,
|
|
467
|
-
DropdownMenuSeparator,
|
|
468
|
-
DropdownMenuShortcut,
|
|
469
|
-
DropdownMenuSub,
|
|
470
|
-
DropdownMenuSubContent,
|
|
471
|
-
DropdownMenuSubTrigger,
|
|
472
|
-
DropdownMenuTrigger,
|
|
473
|
-
Empty,
|
|
474
|
-
EmptyContent,
|
|
475
|
-
EmptyDescription,
|
|
476
|
-
EmptyHeader,
|
|
477
|
-
EmptyMedia,
|
|
478
|
-
EmptyTitle,
|
|
479
|
-
Field,
|
|
480
|
-
FieldContent,
|
|
481
|
-
FieldDescription,
|
|
482
|
-
FieldError,
|
|
483
|
-
FieldGroup,
|
|
484
|
-
FieldLabel,
|
|
485
|
-
FieldLegend,
|
|
486
|
-
FieldSeparator,
|
|
487
|
-
FieldSet,
|
|
488
|
-
FieldTitle,
|
|
489
|
-
Form,
|
|
490
|
-
HoverCard,
|
|
491
|
-
HoverCardContent,
|
|
492
|
-
HoverCardTrigger,
|
|
493
|
-
Input,
|
|
494
|
-
InputGroup,
|
|
495
|
-
InputGroupAddon,
|
|
496
|
-
InputGroupButton,
|
|
497
|
-
InputGroupInput,
|
|
498
|
-
InputGroupText,
|
|
499
|
-
InputGroupTextarea,
|
|
500
|
-
InputOTP,
|
|
501
|
-
InputOTPGroup,
|
|
502
|
-
InputOTPSeparator,
|
|
503
|
-
InputOTPSlot,
|
|
504
|
-
Item,
|
|
505
|
-
ItemActions,
|
|
506
|
-
ItemContent,
|
|
507
|
-
ItemDescription,
|
|
508
|
-
ItemFooter,
|
|
509
|
-
ItemGroup,
|
|
510
|
-
ItemHeader,
|
|
511
|
-
ItemMedia,
|
|
512
|
-
ItemSeparator,
|
|
513
|
-
ItemTitle,
|
|
514
|
-
Kbd,
|
|
515
|
-
KbdGroup,
|
|
516
|
-
Label,
|
|
517
|
-
MainContent,
|
|
518
|
-
Menubar,
|
|
519
|
-
MenubarCheckboxItem,
|
|
520
|
-
MenubarContent,
|
|
521
|
-
MenubarGroup,
|
|
522
|
-
MenubarItem,
|
|
523
|
-
MenubarLabel,
|
|
524
|
-
MenubarMenu,
|
|
525
|
-
MenubarPortal,
|
|
526
|
-
MenubarRadioGroup,
|
|
527
|
-
MenubarRadioItem,
|
|
528
|
-
MenubarSeparator,
|
|
529
|
-
MenubarShortcut,
|
|
530
|
-
MenubarSub,
|
|
531
|
-
MenubarSubContent,
|
|
532
|
-
MenubarSubTrigger,
|
|
533
|
-
MenubarTrigger,
|
|
534
|
-
NativeSelect,
|
|
535
|
-
NativeSelectOptGroup,
|
|
536
|
-
NativeSelectOption,
|
|
537
|
-
NavigationMenu,
|
|
538
|
-
NavigationMenuContent,
|
|
539
|
-
NavigationMenuIndicator,
|
|
540
|
-
NavigationMenuItem,
|
|
541
|
-
NavigationMenuLink,
|
|
542
|
-
NavigationMenuList,
|
|
543
|
-
NavigationMenuTrigger,
|
|
544
|
-
NavigationMenuViewport,
|
|
545
|
-
Pagination,
|
|
546
|
-
PaginationContent,
|
|
547
|
-
PaginationEllipsis,
|
|
548
|
-
PaginationItem,
|
|
549
|
-
PaginationLink,
|
|
550
|
-
PaginationNext,
|
|
551
|
-
PaginationPrevious,
|
|
552
|
-
Panel,
|
|
553
|
-
Popover,
|
|
554
|
-
PopoverAnchor,
|
|
555
|
-
PopoverContent,
|
|
556
|
-
PopoverDescription,
|
|
557
|
-
PopoverHeader,
|
|
558
|
-
PopoverTitle,
|
|
559
|
-
PopoverTrigger,
|
|
560
|
-
Progress,
|
|
561
|
-
RadioGroup,
|
|
562
|
-
RadioGroupItem,
|
|
563
|
-
ResizableHandle,
|
|
564
|
-
ResizablePanel,
|
|
565
|
-
ResizablePanelGroup,
|
|
566
|
-
ScrollArea,
|
|
567
|
-
ScrollBar,
|
|
568
|
-
Select,
|
|
569
|
-
SelectContent,
|
|
570
|
-
SelectGroup,
|
|
571
|
-
SelectItem,
|
|
572
|
-
SelectLabel,
|
|
573
|
-
SelectScrollDownButton,
|
|
574
|
-
SelectScrollUpButton,
|
|
575
|
-
SelectSeparator,
|
|
576
|
-
SelectTrigger,
|
|
577
|
-
SelectValue,
|
|
578
|
-
Separator,
|
|
579
|
-
Sheet,
|
|
580
|
-
SheetClose,
|
|
581
|
-
SheetContent,
|
|
582
|
-
SheetDescription,
|
|
583
|
-
SheetFooter,
|
|
584
|
-
SheetHeader,
|
|
585
|
-
SheetTitle,
|
|
586
|
-
SheetTrigger,
|
|
587
|
-
Sidebar,
|
|
588
|
-
SidebarContent,
|
|
589
|
-
SidebarFooter,
|
|
590
|
-
SidebarGroup,
|
|
591
|
-
SidebarGroupAction,
|
|
592
|
-
SidebarGroupContent,
|
|
593
|
-
SidebarGroupLabel,
|
|
594
|
-
SidebarHeader,
|
|
595
|
-
SidebarInput,
|
|
596
|
-
SidebarInset,
|
|
597
|
-
SidebarMenu,
|
|
598
|
-
SidebarMenuAction,
|
|
599
|
-
SidebarMenuBadge,
|
|
600
|
-
SidebarMenuButton,
|
|
601
|
-
SidebarMenuItem,
|
|
602
|
-
SidebarMenuSkeleton,
|
|
603
|
-
SidebarMenuSub,
|
|
604
|
-
SidebarMenuSubButton,
|
|
605
|
-
SidebarMenuSubItem,
|
|
606
|
-
SidebarProvider,
|
|
607
|
-
SidebarRail,
|
|
608
|
-
SidebarSeparator,
|
|
609
|
-
SidebarTrigger,
|
|
610
|
-
Skeleton,
|
|
611
|
-
Slider,
|
|
612
|
-
Spinner,
|
|
613
|
-
Switch,
|
|
614
|
-
Table,
|
|
615
|
-
TableBody,
|
|
616
|
-
TableCaption,
|
|
617
|
-
TableCell,
|
|
618
|
-
TableFooter,
|
|
619
|
-
TableHead,
|
|
620
|
-
TableHeader,
|
|
621
|
-
TableRow,
|
|
622
|
-
Tabs,
|
|
623
|
-
TabsContent,
|
|
624
|
-
TabsList,
|
|
625
|
-
TabsTrigger,
|
|
626
|
-
Textarea,
|
|
627
|
-
Toaster,
|
|
628
|
-
Toggle,
|
|
629
|
-
ToggleGroup,
|
|
630
|
-
ToggleGroupItem,
|
|
631
|
-
Tooltip,
|
|
632
|
-
TooltipContent,
|
|
633
|
-
TooltipProvider,
|
|
634
|
-
TooltipTrigger,
|
|
635
|
-
badgeVariants,
|
|
636
|
-
buttonGroupVariants,
|
|
637
|
-
buttonVariants,
|
|
638
|
-
cn,
|
|
639
|
-
navigationMenuTriggerStyle,
|
|
640
|
-
tabsListVariants,
|
|
641
|
-
toggleVariants,
|
|
642
|
-
useAppShell,
|
|
643
|
-
useCarousel,
|
|
644
|
-
useComboboxAnchor,
|
|
645
|
-
useDirection,
|
|
646
|
-
useIsMobile,
|
|
647
|
-
useSidebar,
|
|
648
|
-
useTransition,
|
|
649
|
-
};
|
|
325
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants } from './tabs.jsx';
|
|
326
|
+
export { Textarea } from './textarea.jsx';
|
|
327
|
+
export { Toggle, toggleVariants } from './toggle.jsx';
|
|
328
|
+
export { ToggleGroup, ToggleGroupItem } from './toggle-group.jsx';
|
|
329
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './tooltip.jsx';
|
|
330
|
+
export { useIsMobile } from './hooks/use-mobile.js';
|
|
331
|
+
export { useTransition } from './use-transition.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { build } from '#server/build.js';
|
|
2
|
+
import { loadEnvFiles } from '#server/env.js';
|
|
2
3
|
|
|
3
4
|
async function runBuild() {
|
|
4
5
|
const rootDir = process.cwd();
|
|
6
|
+
const mode = process.env.NODE_ENV === 'production' ? 'production' : 'development';
|
|
7
|
+
loadEnvFiles(rootDir, mode);
|
|
5
8
|
try {
|
|
6
9
|
console.log('Building pages for production...');
|
|
7
10
|
const result = await build({ rootDir });
|
package/server/build.js
CHANGED
|
@@ -4,7 +4,7 @@ import { resolvePagesOutDir } from './pages/out-dir.js';
|
|
|
4
4
|
|
|
5
5
|
async function build(options) {
|
|
6
6
|
const rootDir = options?.rootDir ?? process.cwd();
|
|
7
|
-
const config = await makeConfig(rootDir)
|
|
7
|
+
const config = await makeConfig(rootDir);
|
|
8
8
|
const buildTarget = config?.build?.target ?? 'node22';
|
|
9
9
|
|
|
10
10
|
let pages;
|
package/server/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export { type } from 'arktype';
|
|
2
|
+
export { buildContext } from './context.js';
|
|
3
|
+
export * as vault from './lib/vault/index.js';
|
|
4
|
+
export { default as boot } from './boot.js';
|
|
5
|
+
export {
|
|
6
6
|
Arcway,
|
|
7
7
|
Solo,
|
|
8
8
|
createTestContext,
|
|
@@ -13,41 +13,16 @@ import {
|
|
|
13
13
|
createMailStub,
|
|
14
14
|
createLoggerStub,
|
|
15
15
|
} from './testing/index.js';
|
|
16
|
-
|
|
16
|
+
export {
|
|
17
17
|
createRateLimitMiddleware,
|
|
18
18
|
MemoryRateLimitStore,
|
|
19
19
|
RedisRateLimitStore,
|
|
20
20
|
} from './rate-limit/index.js';
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
export { wsSendToSocket, wsBroadcastToPath } from './ws/registry.js';
|
|
22
|
+
export {
|
|
23
23
|
SYSTEM_JOB_DOMAIN,
|
|
24
24
|
addSystemJobEntry,
|
|
25
25
|
registerSystemJobs,
|
|
26
26
|
validateNoSystemJobCollision,
|
|
27
27
|
getApplicableSystemJobs,
|
|
28
28
|
} from './system-jobs/index.js';
|
|
29
|
-
export {
|
|
30
|
-
MemoryRateLimitStore,
|
|
31
|
-
RedisRateLimitStore,
|
|
32
|
-
Arcway,
|
|
33
|
-
SYSTEM_JOB_DOMAIN,
|
|
34
|
-
Solo,
|
|
35
|
-
addSystemJobEntry,
|
|
36
|
-
boot,
|
|
37
|
-
buildContext,
|
|
38
|
-
createCacheStub,
|
|
39
|
-
createEventStub,
|
|
40
|
-
createFilesStub,
|
|
41
|
-
createLoggerStub,
|
|
42
|
-
createMailStub,
|
|
43
|
-
createQueueStub,
|
|
44
|
-
createRateLimitMiddleware,
|
|
45
|
-
createTestContext,
|
|
46
|
-
getApplicableSystemJobs,
|
|
47
|
-
registerSystemJobs,
|
|
48
|
-
type,
|
|
49
|
-
validateNoSystemJobCollision,
|
|
50
|
-
vault,
|
|
51
|
-
wsBroadcastToPath,
|
|
52
|
-
wsSendToSocket,
|
|
53
|
-
};
|