File tree Expand file tree Collapse file tree 12 files changed +23
-132
lines changed
Expand file tree Collapse file tree 12 files changed +23
-132
lines changed Original file line number Diff line number Diff line change 5858 "lint" : [
5959 " pint --parallel"
6060 ],
61- "test: lint" : [
61+ "lint:check " : [
6262 " pint --parallel --test"
6363 ],
64+ "ci:check" : [
65+ " Composer\\ Config::disableProcessTimeout" ,
66+ " npm run lint:check" ,
67+ " npm run format:check" ,
68+ " npm run types:check" ,
69+ " @test"
70+ ],
6471 "test" : [
6572 " @php artisan config:clear --ansi" ,
66- " @test: lint" ,
73+ " @lint:check " ,
6774 " @php artisan test"
6875 ],
6976 "post-autoload-dump" : [
Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ export default defineConfigWithVueTs(
5353 'bootstrap/ssr' ,
5454 'tailwind.config.js' ,
5555 'vite.config.ts' ,
56+ 'resources/js/actions/**' ,
5657 'resources/js/components/ui/*' ,
58+ 'resources/js/routes/**' ,
5759 ] ,
5860 } ,
5961 prettier , // Turn off all rules that might conflict with Prettier
Original file line number Diff line number Diff line change 88 "dev" : " vite" ,
99 "format" : " prettier --write resources/" ,
1010 "format:check" : " prettier --check resources/" ,
11- "lint" : " eslint . --fix"
11+ "lint" : " eslint . --fix" ,
12+ "lint:check" : " eslint ." ,
13+ "types:check" : " vue-tsc --noEmit"
1214 },
1315 "devDependencies" : {
1416 "@eslint/js" : " ^9.19.0" ,
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ import UserMenuContent from '@/components/UserMenuContent.vue';
3535import { useCurrentUrl } from ' @/composables/useCurrentUrl' ;
3636import { getInitials } from ' @/composables/useInitials' ;
3737import { toUrl } from ' @/lib/utils' ;
38- import type { BreadcrumbItem , NavItem } from ' @/types' ;
3938import { dashboard } from ' @/routes' ;
39+ import type { BreadcrumbItem , NavItem } from ' @/types' ;
4040
4141type Props = {
4242 breadcrumbs? : BreadcrumbItem [];
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ import {
1414 SidebarMenuButton ,
1515 SidebarMenuItem ,
1616} from ' @/components/ui/sidebar' ;
17- import type { NavItem } from ' @/types' ;
1817import { dashboard } from ' @/routes' ;
18+ import type { NavItem } from ' @/types' ;
1919
2020const mainNavItems: NavItem [] = [
2121 {
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { Form } from ' @inertiajs/vue3' ;
3+ import ProfileController from ' @/actions/App/Http/Controllers/Settings/ProfileController' ;
34import Heading from ' @/components/Heading.vue' ;
45import { Button } from ' @/components/ui/button' ;
56import {
@@ -12,7 +13,6 @@ import {
1213 DialogTitle ,
1314 DialogTrigger ,
1415} from ' @/components/ui/dialog' ;
15- import ProfileController from ' @/actions/App/Http/Controllers/Settings/ProfileController' ;
1616 </script >
1717
1818<template >
Original file line number Diff line number Diff line change 88 DropdownMenuSeparator ,
99} from ' @/components/ui/dropdown-menu' ;
1010import UserInfo from ' @/components/UserInfo.vue' ;
11- import type { User } from ' @/types' ;
1211import { logout } from ' @/routes' ;
1312import { edit } from ' @/routes/profile' ;
13+ import type { User } from ' @/types' ;
1414
1515type Props = {
1616 user: User ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ import { Button } from '@/components/ui/button';
55import { Separator } from ' @/components/ui/separator' ;
66import { useCurrentUrl } from ' @/composables/useCurrentUrl' ;
77import { toUrl } from ' @/lib/utils' ;
8- import type { NavItem } from ' @/types' ;
98import { edit as editAppearance } from ' @/routes/appearance' ;
109import { edit as editProfile } from ' @/routes/profile' ;
10+ import type { NavItem } from ' @/types' ;
1111
1212const sidebarNavItems: NavItem [] = [
1313 {
Original file line number Diff line number Diff line change 22import { Head } from ' @inertiajs/vue3' ;
33import PlaceholderPattern from ' @/components/PlaceholderPattern.vue' ;
44import AppLayout from ' @/layouts/AppLayout.vue' ;
5- import type { BreadcrumbItem } from ' @/types' ;
65import { dashboard } from ' @/routes' ;
6+ import type { BreadcrumbItem } from ' @/types' ;
77
88const breadcrumbs: BreadcrumbItem [] = [
99 {
You can’t perform that action at this time.
0 commit comments