From 7fdab8601f7abbac7b673621cdb764bed4c5eac6 Mon Sep 17 00:00:00 2001 From: Alexis Date: Sun, 27 Jul 2025 14:30:30 +0200 Subject: [PATCH] Migration to nuxt 4 Used codemods CLI and reworked most alias'd path that stopped working --- app.vue => app/app.vue | 0 {assets => app/assets}/_colors.css | 0 {assets => app/assets}/_content.css | 0 {assets => app/assets}/_typography.css | 0 {assets => app/assets}/main.css | 2 +- {assets => app/assets}/theme.css | 0 .../components}/calendar/Calendar.vue | 2 +- .../components}/calendar/CategoriesCTA.vue | 0 .../components}/calendar/CurrentDate.vue | 0 .../components}/calendar/OptionsCTA.vue | 4 +- .../components}/calendar/PreviewCard.vue | 8 +- .../components}/calendar/SearchCTA.vue | 0 .../components}/calendar/SearchMode.ts | 0 .../components}/calendar/category/List.vue | 2 +- .../calendar/category/ListItem.vue | 2 +- .../components}/calendar/category/Table.vue | 2 +- .../calendar/category/TableFooter.vue | 2 +- .../calendar/category/TableHeader.vue | 0 .../calendar/category/TableRow.vue | 4 +- .../calendar/dialog/Categories.vue | 0 .../components}/calendar/dialog/Create.vue | 2 +- .../calendar/dialog/CreateEvent.vue | 2 +- .../components}/calendar/dialog/Delete.vue | 2 +- .../calendar/dialog/DeleteEvent.vue | 0 .../calendar/dialog/QuickCreateEvent.vue | 0 .../components}/calendar/dialog/Update.vue | 4 +- .../calendar/dialog/UpdateEvent.vue | 0 .../components}/calendar/event/Details.vue | 10 +- .../components}/calendar/event/Event.vue | 6 +- .../components}/calendar/form/Create.vue | 2 +- .../components}/calendar/form/CreateEvent.vue | 2 +- .../calendar/form/DeleteCategory.vue | 0 .../components}/calendar/form/DeleteEvent.vue | 0 .../components}/calendar/form/Update.vue | 4 +- .../components}/calendar/form/UpdateEvent.vue | 2 +- .../calendar/input/EventCategories.vue | 2 +- .../calendar/input/EventCategory.vue | 4 +- .../components}/calendar/input/MonthList.vue | 4 +- .../components}/calendar/input/RPGDate.vue | 2 +- .../calendar/input/TodaySelect.vue | 4 +- .../components}/calendar/menu/Menu.vue | 2 +- .../components}/calendar/menu/MenuSubnav.vue | 0 .../components}/calendar/menu/MenuToday.vue | 0 .../calendar/search/CalendarSearch.vue | 10 +- .../search/lists/CharacterCallout.vue | 6 +- .../calendar/search/lists/EventCallout.vue | 6 +- .../calendar/search/lists/SearchList.vue | 8 +- .../calendar/state/centennially/Layout.vue | 0 .../calendar/state/decennially/Layout.vue | 0 .../calendar/state/monthly/DayTile.vue | 4 +- .../calendar/state/monthly/Layout.vue | 4 +- .../calendar/state/yearly/DayTile.vue | 2 +- .../calendar/state/yearly/Layout.vue | 2 +- .../calendar/state/yearly/MonthTile.vue | 2 +- .../components}/global/AddCard.vue | 0 .../components}/global/Breadcrumb.vue | 0 .../components}/global/Heading.vue | 0 .../components}/global/LoadingCard.vue | 0 .../components}/global/Spacing.vue | 2 +- .../components}/global/input/Color.vue | 4 +- .../components}/global/input/ContentState.vue | 2 +- .../components}/global/sidebar/Sidebar.vue | 2 +- .../global/sidebar/SidebarProps.ts | 0 .../global/sidebar/SidebarToggle.vue | 0 .../components}/global/user/CTA.vue | 2 +- .../ui/alert-dialog/AlertDialog.vue | 0 .../ui/alert-dialog/AlertDialogAction.vue | 2 +- .../ui/alert-dialog/AlertDialogCancel.vue | 2 +- .../ui/alert-dialog/AlertDialogClose.vue | 0 .../ui/alert-dialog/AlertDialogContent.vue | 2 +- .../alert-dialog/AlertDialogDescription.vue | 2 +- .../ui/alert-dialog/AlertDialogFooter.vue | 2 +- .../ui/alert-dialog/AlertDialogHeader.vue | 2 +- .../ui/alert-dialog/AlertDialogTitle.vue | 2 +- .../ui/alert-dialog/AlertDialogTrigger.vue | 0 app/components/ui/alert-dialog/index.ts | 9 + .../components}/ui/avatar/Avatar.vue | 2 +- .../components}/ui/avatar/AvatarFallback.vue | 0 .../components}/ui/avatar/AvatarImage.vue | 0 .../components}/ui/avatar/index.ts | 6 +- .../components}/ui/badge/Badge.vue | 2 +- .../components}/ui/badge/index.ts | 2 +- .../components}/ui/breadcrumb/Breadcrumb.vue | 0 .../ui/breadcrumb/BreadcrumbEllipsis.vue | 2 +- .../ui/breadcrumb/BreadcrumbItem.vue | 2 +- .../ui/breadcrumb/BreadcrumbLink.vue | 2 +- .../ui/breadcrumb/BreadcrumbList.vue | 2 +- .../ui/breadcrumb/BreadcrumbPage.vue | 2 +- .../ui/breadcrumb/BreadcrumbSeparator.vue | 2 +- app/components/ui/breadcrumb/index.ts | 7 + .../components}/ui/button/Button.vue | 2 +- .../components}/ui/button/index.ts | 2 +- .../components}/ui/card/Card.vue | 2 +- .../components}/ui/card/CardContent.vue | 2 +- .../components}/ui/card/CardDescription.vue | 2 +- .../components}/ui/card/CardFooter.vue | 2 +- .../components}/ui/card/CardHeader.vue | 2 +- .../components}/ui/card/CardTitle.vue | 2 +- app/components/ui/card/index.ts | 6 + .../components}/ui/checkbox/Checkbox.vue | 2 +- app/components/ui/checkbox/index.ts | 1 + .../components}/ui/command/Command.vue | 2 +- .../components}/ui/command/CommandDialog.vue | 0 .../components}/ui/command/CommandEmpty.vue | 2 +- .../components}/ui/command/CommandGroup.vue | 2 +- .../components}/ui/command/CommandInput.vue | 2 +- .../components}/ui/command/CommandItem.vue | 2 +- .../components}/ui/command/CommandList.vue | 2 +- .../ui/command/CommandSeparator.vue | 2 +- .../ui/command/CommandShortcut.vue | 2 +- app/components/ui/command/index.ts | 11 + .../components}/ui/dialog/Dialog.vue | 0 .../components}/ui/dialog/DialogClose.vue | 0 .../components}/ui/dialog/DialogContent.vue | 2 +- .../ui/dialog/DialogDescription.vue | 2 +- .../components}/ui/dialog/DialogFooter.vue | 2 +- .../components}/ui/dialog/DialogHeader.vue | 2 +- .../ui/dialog/DialogScrollContent.vue | 2 +- .../components}/ui/dialog/DialogTitle.vue | 2 +- .../components}/ui/dialog/DialogTrigger.vue | 0 app/components/ui/dialog/index.ts | 9 + .../ui/dropdown-menu/DropdownMenu.vue | 0 .../ui/dropdown-menu/DropdownMenuArrow.vue | 0 .../DropdownMenuCheckboxItem.vue | 2 +- .../ui/dropdown-menu/DropdownMenuContent.vue | 2 +- .../ui/dropdown-menu/DropdownMenuGroup.vue | 0 .../ui/dropdown-menu/DropdownMenuItem.vue | 2 +- .../ui/dropdown-menu/DropdownMenuLabel.vue | 2 +- .../dropdown-menu/DropdownMenuRadioGroup.vue | 0 .../dropdown-menu/DropdownMenuRadioItem.vue | 2 +- .../dropdown-menu/DropdownMenuSeparator.vue | 2 +- .../ui/dropdown-menu/DropdownMenuShortcut.vue | 2 +- .../ui/dropdown-menu/DropdownMenuSub.vue | 0 .../dropdown-menu/DropdownMenuSubContent.vue | 2 +- .../dropdown-menu/DropdownMenuSubTrigger.vue | 2 +- .../ui/dropdown-menu/DropdownMenuTrigger.vue | 0 app/components/ui/dropdown-menu/index.ts | 17 + .../components}/ui/input/Input.vue | 2 +- app/components/ui/input/index.ts | 1 + .../components}/ui/label/Label.vue | 2 +- app/components/ui/label/index.ts | 1 + .../ui/pagination/PaginationEllipsis.vue | 2 +- .../ui/pagination/PaginationFirst.vue | 2 +- .../ui/pagination/PaginationLast.vue | 2 +- .../ui/pagination/PaginationNext.vue | 2 +- .../ui/pagination/PaginationPrev.vue | 2 +- app/components/ui/pagination/index.ts | 6 + .../components}/ui/popover/Popover.vue | 0 .../components}/ui/popover/PopoverContent.vue | 2 +- .../components}/ui/popover/PopoverTrigger.vue | 0 app/components/ui/popover/index.ts | 3 + .../components}/ui/progress/Progress.vue | 2 +- app/components/ui/progress/index.ts | 1 + .../components}/ui/select/Select.vue | 0 .../components}/ui/select/SelectContent.vue | 2 +- .../components}/ui/select/SelectGroup.vue | 2 +- .../components}/ui/select/SelectItem.vue | 2 +- .../components}/ui/select/SelectItemText.vue | 0 .../components}/ui/select/SelectLabel.vue | 2 +- .../ui/select/SelectScrollDownButton.vue | 2 +- .../ui/select/SelectScrollUpButton.vue | 2 +- .../components}/ui/select/SelectSeparator.vue | 2 +- .../components}/ui/select/SelectTrigger.vue | 2 +- .../components}/ui/select/SelectValue.vue | 0 app/components/ui/select/index.ts | 11 + .../components}/ui/skeleton/Skeleton.vue | 2 +- app/components/ui/skeleton/index.ts | 1 + .../components}/ui/switch/Switch.vue | 2 +- app/components/ui/switch/index.ts | 1 + .../components}/ui/table/Table.vue | 2 +- .../components}/ui/table/TableBody.vue | 2 +- .../components}/ui/table/TableCaption.vue | 2 +- .../components}/ui/table/TableCell.vue | 2 +- .../components}/ui/table/TableEmpty.vue | 2 +- .../components}/ui/table/TableFooter.vue | 2 +- .../components}/ui/table/TableHead.vue | 2 +- .../components}/ui/table/TableHeader.vue | 2 +- .../components}/ui/table/TableRow.vue | 2 +- app/components/ui/table/index.ts | 9 + .../components}/ui/tabs/Tabs.vue | 0 .../components}/ui/tabs/TabsContent.vue | 2 +- .../components}/ui/tabs/TabsList.vue | 2 +- .../components}/ui/tabs/TabsTrigger.vue | 2 +- app/components/ui/tabs/index.ts | 4 + .../components}/ui/tags-input/TagsInput.vue | 2 +- .../ui/tags-input/TagsInputInput.vue | 2 +- .../ui/tags-input/TagsInputItem.vue | 2 +- .../ui/tags-input/TagsInputItemDelete.vue | 2 +- .../ui/tags-input/TagsInputItemText.vue | 2 +- app/components/ui/tags-input/index.ts | 5 + .../components}/ui/toast/Toast.vue | 2 +- .../components}/ui/toast/ToastAction.vue | 2 +- .../components}/ui/toast/ToastClose.vue | 2 +- .../components}/ui/toast/ToastDescription.vue | 2 +- .../components}/ui/toast/ToastProvider.vue | 0 .../components}/ui/toast/ToastTitle.vue | 2 +- .../components}/ui/toast/ToastViewport.vue | 2 +- .../components}/ui/toast/Toaster.vue | 0 .../components}/ui/toast/index.ts | 16 +- .../components}/ui/toast/use-toast.ts | 2 +- .../ui/toggle-group/ToggleGroup.vue | 2 +- .../ui/toggle-group/ToggleGroupItem.vue | 2 +- app/components/ui/toggle-group/index.ts | 2 + .../components}/ui/toggle/Toggle.vue | 2 +- .../components}/ui/toggle/index.ts | 2 +- .../components}/ui/tooltip/Tooltip.vue | 0 .../components}/ui/tooltip/TooltipContent.vue | 2 +- .../ui/tooltip/TooltipProvider.vue | 0 .../components}/ui/tooltip/TooltipTrigger.vue | 0 app/components/ui/tooltip/index.ts | 4 + .../components}/world/PreviewCard.vue | 4 +- .../components}/world/dialog/Create.vue | 0 .../components}/world/dialog/Delete.vue | 2 +- .../components}/world/dialog/Edit.vue | 2 +- .../components}/world/form/Create.vue | 2 +- .../components}/world/form/Update.vue | 2 +- error.vue => app/error.vue | 0 {lib => app/lib}/utils.ts | 0 {middleware => app/middleware}/authGuard.ts | 0 {middleware => app/middleware}/resetMenu.ts | 0 .../middleware}/sidebar.global.ts | 0 {pages => app/pages}/about.vue | 0 {pages => app/pages}/calendars/[id].vue | 2 +- {pages => app/pages}/explore.vue | 2 +- {pages => app/pages}/index.vue | 0 {pages => app/pages}/my/calendars/[id].vue | 2 +- {pages => app/pages}/my/index.vue | 2 +- {pages => app/pages}/my/worlds/[id].vue | 4 +- {stores => app/stores}/CalendarStore.ts | 10 +- {stores => app/stores}/CategoryStore.ts | 2 +- {stores => app/stores}/CharacterStore.ts | 2 +- {stores => app/stores}/UiStore.ts | 0 {utils => app/utils}/Regex.ts | 0 {utils => app/utils}/Strings.ts | 0 {utils => app/utils}/TryCatch.ts | 0 components/ui/alert-dialog/index.ts | 9 - components/ui/breadcrumb/index.ts | 7 - components/ui/card/index.ts | 6 - components/ui/checkbox/index.ts | 1 - components/ui/command/index.ts | 11 - components/ui/dialog/index.ts | 9 - components/ui/dropdown-menu/index.ts | 17 - components/ui/input/index.ts | 1 - components/ui/label/index.ts | 1 - components/ui/pagination/index.ts | 6 - components/ui/popover/index.ts | 3 - components/ui/progress/index.ts | 1 - components/ui/select/index.ts | 11 - components/ui/skeleton/index.ts | 1 - components/ui/switch/index.ts | 1 - components/ui/table/index.ts | 9 - components/ui/tabs/index.ts | 4 - components/ui/tags-input/index.ts | 5 - components/ui/toggle-group/index.ts | 2 - components/ui/tooltip/index.ts | 4 - eslint.config.mjs | 2 +- nuxt.config.ts | 4 +- package.json | 2 +- pnpm-lock.yaml | 675 +++++++++++++----- server/api/calendars/[id].delete.ts | 2 +- server/api/calendars/[id].patch.ts | 4 +- .../api/calendars/categories/[id].delete.ts | 2 +- server/api/calendars/categories/[id].patch.ts | 4 +- .../api/calendars/categories/create.post.ts | 2 +- server/api/calendars/categories/query.get.ts | 2 +- server/api/calendars/create.post.ts | 4 +- server/api/calendars/events/[id].delete.ts | 2 +- server/api/calendars/events/[id].patch.ts | 2 +- server/api/calendars/events/create.post.ts | 4 +- server/api/calendars/events/query.get.ts | 2 +- server/api/calendars/months/[id].delete.ts | 2 +- server/api/calendars/months/[id].patch.ts | 2 +- server/api/calendars/months/create.post.ts | 2 +- server/api/calendars/months/query.get.ts | 2 +- server/api/calendars/query.get.ts | 2 +- server/api/characters/query.get.ts | 2 +- server/api/worlds/[id].delete.ts | 2 +- server/api/worlds/[id].patch.ts | 2 +- server/api/worlds/create.post.ts | 4 +- server/api/worlds/query.get.ts | 2 +- 280 files changed, 847 insertions(+), 496 deletions(-) rename app.vue => app/app.vue (100%) rename {assets => app/assets}/_colors.css (100%) rename {assets => app/assets}/_content.css (100%) rename {assets => app/assets}/_typography.css (100%) rename {assets => app/assets}/main.css (96%) rename {assets => app/assets}/theme.css (100%) rename {components => app/components}/calendar/Calendar.vue (96%) rename {components => app/components}/calendar/CategoriesCTA.vue (100%) rename {components => app/components}/calendar/CurrentDate.vue (100%) rename {components => app/components}/calendar/OptionsCTA.vue (96%) rename {components => app/components}/calendar/PreviewCard.vue (93%) rename {components => app/components}/calendar/SearchCTA.vue (100%) rename {components => app/components}/calendar/SearchMode.ts (100%) rename {components => app/components}/calendar/category/List.vue (82%) rename {components => app/components}/calendar/category/ListItem.vue (82%) rename {components => app/components}/calendar/category/Table.vue (97%) rename {components => app/components}/calendar/category/TableFooter.vue (99%) rename {components => app/components}/calendar/category/TableHeader.vue (100%) rename {components => app/components}/calendar/category/TableRow.vue (98%) rename {components => app/components}/calendar/dialog/Categories.vue (100%) rename {components => app/components}/calendar/dialog/Create.vue (96%) rename {components => app/components}/calendar/dialog/CreateEvent.vue (97%) rename {components => app/components}/calendar/dialog/Delete.vue (97%) rename {components => app/components}/calendar/dialog/DeleteEvent.vue (100%) rename {components => app/components}/calendar/dialog/QuickCreateEvent.vue (100%) rename {components => app/components}/calendar/dialog/Update.vue (93%) rename {components => app/components}/calendar/dialog/UpdateEvent.vue (100%) rename {components => app/components}/calendar/event/Details.vue (96%) rename {components => app/components}/calendar/event/Event.vue (94%) rename {components => app/components}/calendar/form/Create.vue (98%) rename {components => app/components}/calendar/form/CreateEvent.vue (99%) rename {components => app/components}/calendar/form/DeleteCategory.vue (100%) rename {components => app/components}/calendar/form/DeleteEvent.vue (100%) rename {components => app/components}/calendar/form/Update.vue (97%) rename {components => app/components}/calendar/form/UpdateEvent.vue (99%) rename {components => app/components}/calendar/input/EventCategories.vue (97%) rename {components => app/components}/calendar/input/EventCategory.vue (96%) rename {components => app/components}/calendar/input/MonthList.vue (98%) rename {components => app/components}/calendar/input/RPGDate.vue (98%) rename {components => app/components}/calendar/input/TodaySelect.vue (95%) rename {components => app/components}/calendar/menu/Menu.vue (95%) rename {components => app/components}/calendar/menu/MenuSubnav.vue (100%) rename {components => app/components}/calendar/menu/MenuToday.vue (100%) rename {components => app/components}/calendar/search/CalendarSearch.vue (98%) rename {components => app/components}/calendar/search/lists/CharacterCallout.vue (94%) rename {components => app/components}/calendar/search/lists/EventCallout.vue (96%) rename {components => app/components}/calendar/search/lists/SearchList.vue (86%) rename {components => app/components}/calendar/state/centennially/Layout.vue (100%) rename {components => app/components}/calendar/state/decennially/Layout.vue (100%) rename {components => app/components}/calendar/state/monthly/DayTile.vue (98%) rename {components => app/components}/calendar/state/monthly/Layout.vue (96%) rename {components => app/components}/calendar/state/yearly/DayTile.vue (97%) rename {components => app/components}/calendar/state/yearly/Layout.vue (93%) rename {components => app/components}/calendar/state/yearly/MonthTile.vue (86%) rename {components => app/components}/global/AddCard.vue (100%) rename {components => app/components}/global/Breadcrumb.vue (100%) rename {components => app/components}/global/Heading.vue (100%) rename {components => app/components}/global/LoadingCard.vue (100%) rename {components => app/components}/global/Spacing.vue (92%) rename {components => app/components}/global/input/Color.vue (91%) rename {components => app/components}/global/input/ContentState.vue (90%) rename {components => app/components}/global/sidebar/Sidebar.vue (99%) rename {components => app/components}/global/sidebar/SidebarProps.ts (100%) rename {components => app/components}/global/sidebar/SidebarToggle.vue (100%) rename {components => app/components}/global/user/CTA.vue (99%) rename {components => app/components}/ui/alert-dialog/AlertDialog.vue (100%) rename {components => app/components}/ui/alert-dialog/AlertDialogAction.vue (94%) rename {components => app/components}/ui/alert-dialog/AlertDialogCancel.vue (94%) rename {components => app/components}/ui/alert-dialog/AlertDialogClose.vue (100%) rename {components => app/components}/ui/alert-dialog/AlertDialogContent.vue (97%) rename {components => app/components}/ui/alert-dialog/AlertDialogDescription.vue (94%) rename {components => app/components}/ui/alert-dialog/AlertDialogFooter.vue (90%) rename {components => app/components}/ui/alert-dialog/AlertDialogHeader.vue (89%) rename {components => app/components}/ui/alert-dialog/AlertDialogTitle.vue (94%) rename {components => app/components}/ui/alert-dialog/AlertDialogTrigger.vue (100%) create mode 100644 app/components/ui/alert-dialog/index.ts rename {components => app/components}/ui/avatar/Avatar.vue (93%) rename {components => app/components}/ui/avatar/AvatarFallback.vue (100%) rename {components => app/components}/ui/avatar/AvatarImage.vue (100%) rename {components => app/components}/ui/avatar/index.ts (69%) rename {components => app/components}/ui/badge/Badge.vue (91%) rename {components => app/components}/ui/badge/index.ts (92%) rename {components => app/components}/ui/breadcrumb/Breadcrumb.vue (100%) rename {components => app/components}/ui/breadcrumb/BreadcrumbEllipsis.vue (93%) rename {components => app/components}/ui/breadcrumb/BreadcrumbItem.vue (88%) rename {components => app/components}/ui/breadcrumb/BreadcrumbLink.vue (95%) rename {components => app/components}/ui/breadcrumb/BreadcrumbList.vue (90%) rename {components => app/components}/ui/breadcrumb/BreadcrumbPage.vue (90%) rename {components => app/components}/ui/breadcrumb/BreadcrumbSeparator.vue (92%) create mode 100644 app/components/ui/breadcrumb/index.ts rename {components => app/components}/ui/button/Button.vue (96%) rename {components => app/components}/ui/button/index.ts (94%) rename {components => app/components}/ui/card/Card.vue (96%) rename {components => app/components}/ui/card/CardContent.vue (87%) rename {components => app/components}/ui/card/CardDescription.vue (88%) rename {components => app/components}/ui/card/CardFooter.vue (89%) rename {components => app/components}/ui/card/CardHeader.vue (88%) rename {components => app/components}/ui/card/CardTitle.vue (89%) create mode 100644 app/components/ui/card/index.ts rename {components => app/components}/ui/checkbox/Checkbox.vue (97%) create mode 100644 app/components/ui/checkbox/index.ts rename {components => app/components}/ui/command/Command.vue (96%) rename {components => app/components}/ui/command/CommandDialog.vue (100%) rename {components => app/components}/ui/command/CommandEmpty.vue (94%) rename {components => app/components}/ui/command/CommandGroup.vue (96%) rename {components => app/components}/ui/command/CommandInput.vue (96%) rename {components => app/components}/ui/command/CommandItem.vue (96%) rename {components => app/components}/ui/command/CommandList.vue (96%) rename {components => app/components}/ui/command/CommandSeparator.vue (94%) rename {components => app/components}/ui/command/CommandShortcut.vue (89%) create mode 100644 app/components/ui/command/index.ts rename {components => app/components}/ui/dialog/Dialog.vue (100%) rename {components => app/components}/ui/dialog/DialogClose.vue (100%) rename {components => app/components}/ui/dialog/DialogContent.vue (98%) rename {components => app/components}/ui/dialog/DialogDescription.vue (94%) rename {components => app/components}/ui/dialog/DialogFooter.vue (89%) rename {components => app/components}/ui/dialog/DialogHeader.vue (89%) rename {components => app/components}/ui/dialog/DialogScrollContent.vue (98%) rename {components => app/components}/ui/dialog/DialogTitle.vue (94%) rename {components => app/components}/ui/dialog/DialogTrigger.vue (100%) create mode 100644 app/components/ui/dialog/index.ts rename {components => app/components}/ui/dropdown-menu/DropdownMenu.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuArrow.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuCheckboxItem.vue (97%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuContent.vue (97%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuGroup.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuItem.vue (96%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuLabel.vue (95%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuRadioGroup.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuRadioItem.vue (97%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuSeparator.vue (94%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuShortcut.vue (89%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuSub.vue (100%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuSubContent.vue (97%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuSubTrigger.vue (97%) rename {components => app/components}/ui/dropdown-menu/DropdownMenuTrigger.vue (100%) create mode 100644 app/components/ui/dropdown-menu/index.ts rename {components => app/components}/ui/input/Input.vue (96%) create mode 100644 app/components/ui/input/index.ts rename {components => app/components}/ui/label/Label.vue (94%) create mode 100644 app/components/ui/label/index.ts rename {components => app/components}/ui/pagination/PaginationEllipsis.vue (95%) rename {components => app/components}/ui/pagination/PaginationFirst.vue (95%) rename {components => app/components}/ui/pagination/PaginationLast.vue (95%) rename {components => app/components}/ui/pagination/PaginationNext.vue (95%) rename {components => app/components}/ui/pagination/PaginationPrev.vue (95%) create mode 100644 app/components/ui/pagination/index.ts rename {components => app/components}/ui/popover/Popover.vue (100%) rename {components => app/components}/ui/popover/PopoverContent.vue (97%) rename {components => app/components}/ui/popover/PopoverTrigger.vue (100%) create mode 100644 app/components/ui/popover/index.ts rename {components => app/components}/ui/progress/Progress.vue (96%) create mode 100644 app/components/ui/progress/index.ts rename {components => app/components}/ui/select/Select.vue (100%) rename {components => app/components}/ui/select/SelectContent.vue (98%) rename {components => app/components}/ui/select/SelectGroup.vue (93%) rename {components => app/components}/ui/select/SelectItem.vue (97%) rename {components => app/components}/ui/select/SelectItemText.vue (100%) rename {components => app/components}/ui/select/SelectLabel.vue (91%) rename {components => app/components}/ui/select/SelectScrollDownButton.vue (95%) rename {components => app/components}/ui/select/SelectScrollUpButton.vue (95%) rename {components => app/components}/ui/select/SelectSeparator.vue (93%) rename {components => app/components}/ui/select/SelectTrigger.vue (97%) rename {components => app/components}/ui/select/SelectValue.vue (100%) create mode 100644 app/components/ui/select/index.ts rename {components => app/components}/ui/skeleton/Skeleton.vue (89%) create mode 100644 app/components/ui/skeleton/index.ts rename {components => app/components}/ui/switch/Switch.vue (97%) create mode 100644 app/components/ui/switch/index.ts rename {components => app/components}/ui/table/Table.vue (90%) rename {components => app/components}/ui/table/TableBody.vue (88%) rename {components => app/components}/ui/table/TableCaption.vue (89%) rename {components => app/components}/ui/table/TableCell.vue (90%) rename {components => app/components}/ui/table/TableEmpty.vue (95%) rename {components => app/components}/ui/table/TableFooter.vue (89%) rename {components => app/components}/ui/table/TableHead.vue (90%) rename {components => app/components}/ui/table/TableHeader.vue (88%) rename {components => app/components}/ui/table/TableRow.vue (90%) create mode 100644 app/components/ui/table/index.ts rename {components => app/components}/ui/tabs/Tabs.vue (100%) rename {components => app/components}/ui/tabs/TabsContent.vue (95%) rename {components => app/components}/ui/tabs/TabsList.vue (94%) rename {components => app/components}/ui/tabs/TabsTrigger.vue (96%) create mode 100644 app/components/ui/tabs/index.ts rename {components => app/components}/ui/tags-input/TagsInput.vue (95%) rename {components => app/components}/ui/tags-input/TagsInputInput.vue (94%) rename {components => app/components}/ui/tags-input/TagsInputItem.vue (95%) rename {components => app/components}/ui/tags-input/TagsInputItemDelete.vue (95%) rename {components => app/components}/ui/tags-input/TagsInputItemText.vue (94%) create mode 100644 app/components/ui/tags-input/index.ts rename {components => app/components}/ui/toast/Toast.vue (95%) rename {components => app/components}/ui/toast/ToastAction.vue (96%) rename {components => app/components}/ui/toast/ToastClose.vue (96%) rename {components => app/components}/ui/toast/ToastDescription.vue (93%) rename {components => app/components}/ui/toast/ToastProvider.vue (100%) rename {components => app/components}/ui/toast/ToastTitle.vue (93%) rename {components => app/components}/ui/toast/ToastViewport.vue (94%) rename {components => app/components}/ui/toast/Toaster.vue (100%) rename {components => app/components}/ui/toast/index.ts (69%) rename {components => app/components}/ui/toast/use-toast.ts (98%) rename {components => app/components}/ui/toggle-group/ToggleGroup.vue (96%) rename {components => app/components}/ui/toggle-group/ToggleGroupItem.vue (97%) create mode 100644 app/components/ui/toggle-group/index.ts rename {components => app/components}/ui/toggle/Toggle.vue (96%) rename {components => app/components}/ui/toggle/index.ts (92%) rename {components => app/components}/ui/tooltip/Tooltip.vue (100%) rename {components => app/components}/ui/tooltip/TooltipContent.vue (97%) rename {components => app/components}/ui/tooltip/TooltipProvider.vue (100%) rename {components => app/components}/ui/tooltip/TooltipTrigger.vue (100%) create mode 100644 app/components/ui/tooltip/index.ts rename {components => app/components}/world/PreviewCard.vue (97%) rename {components => app/components}/world/dialog/Create.vue (100%) rename {components => app/components}/world/dialog/Delete.vue (98%) rename {components => app/components}/world/dialog/Edit.vue (97%) rename {components => app/components}/world/form/Create.vue (98%) rename {components => app/components}/world/form/Update.vue (98%) rename error.vue => app/error.vue (100%) rename {lib => app/lib}/utils.ts (100%) rename {middleware => app/middleware}/authGuard.ts (100%) rename {middleware => app/middleware}/resetMenu.ts (100%) rename {middleware => app/middleware}/sidebar.global.ts (100%) rename {pages => app/pages}/about.vue (100%) rename {pages => app/pages}/calendars/[id].vue (97%) rename {pages => app/pages}/explore.vue (95%) rename {pages => app/pages}/index.vue (100%) rename {pages => app/pages}/my/calendars/[id].vue (97%) rename {pages => app/pages}/my/index.vue (98%) rename {pages => app/pages}/my/worlds/[id].vue (98%) rename {stores => app/stores}/CalendarStore.ts (99%) rename {stores => app/stores}/CategoryStore.ts (98%) rename {stores => app/stores}/CharacterStore.ts (83%) rename {stores => app/stores}/UiStore.ts (100%) rename {utils => app/utils}/Regex.ts (100%) rename {utils => app/utils}/Strings.ts (100%) rename {utils => app/utils}/TryCatch.ts (100%) delete mode 100644 components/ui/alert-dialog/index.ts delete mode 100644 components/ui/breadcrumb/index.ts delete mode 100644 components/ui/card/index.ts delete mode 100644 components/ui/checkbox/index.ts delete mode 100644 components/ui/command/index.ts delete mode 100644 components/ui/dialog/index.ts delete mode 100644 components/ui/dropdown-menu/index.ts delete mode 100644 components/ui/input/index.ts delete mode 100644 components/ui/label/index.ts delete mode 100644 components/ui/pagination/index.ts delete mode 100644 components/ui/popover/index.ts delete mode 100644 components/ui/progress/index.ts delete mode 100644 components/ui/select/index.ts delete mode 100644 components/ui/skeleton/index.ts delete mode 100644 components/ui/switch/index.ts delete mode 100644 components/ui/table/index.ts delete mode 100644 components/ui/tabs/index.ts delete mode 100644 components/ui/tags-input/index.ts delete mode 100644 components/ui/toggle-group/index.ts delete mode 100644 components/ui/tooltip/index.ts diff --git a/app.vue b/app/app.vue similarity index 100% rename from app.vue rename to app/app.vue diff --git a/assets/_colors.css b/app/assets/_colors.css similarity index 100% rename from assets/_colors.css rename to app/assets/_colors.css diff --git a/assets/_content.css b/app/assets/_content.css similarity index 100% rename from assets/_content.css rename to app/assets/_content.css diff --git a/assets/_typography.css b/app/assets/_typography.css similarity index 100% rename from assets/_typography.css rename to app/assets/_typography.css diff --git a/assets/main.css b/app/assets/main.css similarity index 96% rename from assets/main.css rename to app/assets/main.css index 14b2187..97c64d7 100644 --- a/assets/main.css +++ b/app/assets/main.css @@ -1,6 +1,6 @@ @import 'tailwindcss'; -@config '../tailwind.config.js'; +@config '../../tailwind.config.js'; @import "./theme.css" layer(theme); @import "./_typography.css" layer(theme); diff --git a/assets/theme.css b/app/assets/theme.css similarity index 100% rename from assets/theme.css rename to app/assets/theme.css diff --git a/components/calendar/Calendar.vue b/app/components/calendar/Calendar.vue similarity index 96% rename from components/calendar/Calendar.vue rename to app/components/calendar/Calendar.vue index c221ca9..8e4e5f9 100644 --- a/components/calendar/Calendar.vue +++ b/app/components/calendar/Calendar.vue @@ -1,5 +1,5 @@ diff --git a/components/ui/dialog/DialogHeader.vue b/app/components/ui/dialog/DialogHeader.vue similarity index 89% rename from components/ui/dialog/DialogHeader.vue rename to app/components/ui/dialog/DialogHeader.vue index 717e9aa..ee1b66a 100644 --- a/components/ui/dialog/DialogHeader.vue +++ b/app/components/ui/dialog/DialogHeader.vue @@ -1,6 +1,6 @@ diff --git a/components/ui/select/SelectScrollDownButton.vue b/app/components/ui/select/SelectScrollDownButton.vue similarity index 95% rename from components/ui/select/SelectScrollDownButton.vue rename to app/components/ui/select/SelectScrollDownButton.vue index 1fd6014..9342373 100644 --- a/components/ui/select/SelectScrollDownButton.vue +++ b/app/components/ui/select/SelectScrollDownButton.vue @@ -5,7 +5,7 @@ import { type SelectScrollDownButtonProps, useForwardProps } from "radix-vue" -import { cn } from "~/lib/utils" +import { cn } from "@/lib/utils" import { PhCaretDown } from "@phosphor-icons/vue"; const props = defineProps() diff --git a/components/ui/select/SelectScrollUpButton.vue b/app/components/ui/select/SelectScrollUpButton.vue similarity index 95% rename from components/ui/select/SelectScrollUpButton.vue rename to app/components/ui/select/SelectScrollUpButton.vue index 9d93db9..924297c 100644 --- a/components/ui/select/SelectScrollUpButton.vue +++ b/app/components/ui/select/SelectScrollUpButton.vue @@ -1,7 +1,7 @@