Skip to content

Commit fc5eb35

Browse files
committed
feat: enhance development and testing setup with new scripts and configurations
1 parent 08929a8 commit fc5eb35

File tree

6 files changed

+20
-10
lines changed

6 files changed

+20
-10
lines changed

composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@
7474
],
7575
"post-create-project-cmd": [
7676
"@php artisan key:generate --ansi"
77+
],
78+
"dev": [
79+
"Composer\\Config::disableProcessTimeout",
80+
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
81+
],
82+
"test": [
83+
"@php artisan config:clear --ansi",
84+
"@php artisan test"
7785
]
7886
},
7987
"extra": {

config/logging.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@
9898
'driver' => 'monolog',
9999
'level' => env('LOG_LEVEL', 'debug'),
100100
'handler' => StreamHandler::class,
101-
'formatter' => env('LOG_STDERR_FORMATTER'),
102-
'with' => [
101+
'handler_with' => [
103102
'stream' => 'php://stderr',
104103
],
104+
'formatter' => env('LOG_STDERR_FORMATTER'),
105105
'processors' => [PsrLogMessageProcessor::class],
106106
],
107107

config/mail.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
'smtp',
8686
'log',
8787
],
88+
'retry_after' => 60,
8889
],
8990

9091
'roundrobin' => [
@@ -93,6 +94,7 @@
9394
'ses',
9495
'postmark',
9596
],
97+
'retry_after' => 60,
9698
],
9799

98100
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"devDependencies": {
99
"@tailwindcss/vite": "^4.0.0",
10-
"axios": "^1.7.4",
10+
"axios": "^1.8.2",
1111
"concurrently": "^9.0.1",
1212
"laravel-vite-plugin": "^1.2.0",
1313
"tailwindcss": "^4.0.0",

phpunit.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
<env name="APP_MAINTENANCE_DRIVER" value="file"/>
2323
<env name="BCRYPT_ROUNDS" value="4"/>
2424
<env name="CACHE_STORE" value="array"/>
25-
<env name="DB_DATABASE" value="testing"/>
25+
<env name="DB_CONNECTION" value="sqlite"/>
26+
<env name="DB_DATABASE" value=":memory:"/>
2627
<env name="MAIL_MAILER" value="array"/>
2728
<env name="PULSE_ENABLED" value="false"/>
2829
<env name="QUEUE_CONNECTION" value="sync"/>
2930
<env name="SESSION_DRIVER" value="array"/>
3031
<env name="TELESCOPE_ENABLED" value="false"/>
3132
</php>
32-
</phpunit>
33+
</phpunit>

resources/css/app.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
44
@source '../../storage/framework/views/*.php';
5-
@source "../**/*.blade.php";
6-
@source "../**/*.js";
7-
@source "../**/*.vue";
5+
@source '../**/*.blade.php';
6+
@source '../**/*.js';
87

98
@theme {
10-
--font-sans: Figtree, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
11-
'Noto Color Emoji';
9+
--font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
10+
'Segoe UI Symbol', 'Noto Color Emoji';
1211
}

0 commit comments

Comments
 (0)