Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jewei committed Jan 14, 2025
1 parent 5f50223 commit f9d4bf7
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=log
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ npm-debug.log
yarn-error.log
/.fleet
/.idea
/.nova
/.vscode
/.zed
2 changes: 1 addition & 1 deletion app/Http/Middleware/Idempotency.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ final class Idempotency
/**
* Handle an incoming request.
*
* @param Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
* @param Closure(Request): (Response) $next
*/
public function handle(Request $request, Closure $next): Response
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Middleware/ResponseWithJson.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class ResponseWithJson
/**
* Handle an incoming request.
*
* @param Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
* @param Closure(Request): (Response) $next
*/
public function handle(Request $request, Closure $next): Response
{
Expand Down
2 changes: 0 additions & 2 deletions app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
use Override;

final class User extends Authenticatable implements MustVerifyEmail
{
use HasApiTokens;
use HasFactory;
use Notifiable;

Expand Down
2 changes: 1 addition & 1 deletion bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
})
->withExceptions(function (Exceptions $exceptions): void {
$exceptions->shouldRenderJsonWhen(
fn (Request $request) => $request->is('api/*') || $request->wantsJson()
fn (Request $request): bool => $request->is('api/*') || $request->wantsJson()
);
})->create();
17 changes: 9 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"$schema": "https://getcomposer.org/schema.json",
"name": "jewei/laravel-skeleton",
"type": "project",
"description": "The skeleton application for Laravel.",
"description": "The skeleton application for the Laravel framework.",
"keywords": ["laravel", "skeleton"],
"license": "MIT",
"require": {
"php": "^8.3",
"laravel/framework": "^11.29",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.10"
"laravel/framework": "^11.31",
"laravel/tinker": "^2.9"
},
"require-dev": {
"driftingly/rector-laravel": "^1.2",
"driftingly/rector-laravel": "^2.0",
"fakerphp/faker": "^1.23",
"larastan/larastan": "^2.9",
"larastan/larastan": "^3.0",
"laravel/pail": "^1.2",
"laravel/pint": "^1.18",
"laravel/pint": "^1.19",
"laravel/sail": "^1.26",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.5",
"pestphp/pest": "^3.5",
"pestphp/pest": "^3.7",
"pestphp/pest-plugin-laravel": "^3.0"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion config/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@

'smtp' => [
'transport' => 'smtp',
'scheme' => env('MAIL_SCHEME'),
'url' => env('MAIL_URL'),
'host' => env('MAIL_HOST', '127.0.0.1'),
'port' => env('MAIL_PORT', 2525),
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
Expand Down
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@
"dev": "vite"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.9",
"alpinejs": "^3.14.3",
"alpinejs": "^3.14.8",
"autoprefixer": "^10.4.20",
"axios": "^1.7.7",
"concurrently": "^9.0.1",
"laravel-vite-plugin": "^1.0.5",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"axios": "^1.7.9",
"concurrently": "^9.1.2",
"laravel-vite-plugin": "^1.1.1",
"postcss": "^8.5.0",
"prettier": "^3.4.2",
"prettier-plugin-blade": "^2.1.19",
"prettier-plugin-tailwindcss": "^0.6.8",
"tailwindcss": "^3.4.14",
"vite": "^5.4.10"
"prettier-plugin-tailwindcss": "^0.6.9",
"tailwindcss": "^3.4.17",
"vite": "^6.0.7"
}
}
2 changes: 2 additions & 0 deletions resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -1146,3 +1146,5 @@ class="rounded-sm underline hover:text-black focus:outline-none focus-visible:ri
</div>
</body>
</html>

<?php
1 change: 1 addition & 0 deletions storage/app/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*
!private/
!public/
!.gitignore
2 changes: 2 additions & 0 deletions storage/app/private/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
9 changes: 4 additions & 5 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms';

/** @type {import('tailwindcss').Config} */
export default {
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/**/*.blade.php',
'./resources/**/*.js',
'./resources/**/*.vue',
],

theme: {
extend: {
fontFamily: {
sans: ['Figtree', ...defaultTheme.fontFamily.sans],
},
},
},

plugins: [forms],
plugins: [],
};

0 comments on commit f9d4bf7

Please sign in to comment.