Merge branch '9.x'

# Conflicts:
#	composer.json
This commit is contained in:
Dries Vints 2022-07-25 11:04:49 +02:00
commit 2bbb0ef6a0
No known key found for this signature in database
GPG Key ID: E1529B3ACC4A5A76
13 changed files with 41 additions and 15 deletions

1
.gitattributes vendored
View File

@ -8,3 +8,4 @@
/.github export-ignore
CHANGELOG.md export-ignore
.styleci.yml export-ignore

View File

@ -8,7 +8,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2

1
.gitignore vendored
View File

@ -9,6 +9,7 @@
.phpunit.result.cache
Homestead.json
Homestead.yaml
auth.json
npm-debug.log
yarn-error.log
/.idea

View File

@ -1,6 +1,26 @@
# Release Notes
## [Unreleased](https://github.com/laravel/laravel/compare/v9.2.0...9.x)
## [Unreleased](https://github.com/laravel/laravel/compare/v9.3.0...9.x)
## [v9.3.0](https://github.com/laravel/laravel/compare/v9.2.1...v9.3.0) - 2022-07-20
### Added
- Uses `laravel/pint` for styling by @nunomaduro in https://github.com/laravel/laravel/pull/5945
### Changed
- Bump axios version by @ankurk91 in https://github.com/laravel/laravel/pull/5946
- Vite 3 support by @timacdonald in https://github.com/laravel/laravel/pull/5944
## [v9.2.1](https://github.com/laravel/laravel/compare/v9.2.0...v9.2.1) - 2022-07-13
### Changed
- Add auth.json to skeleton by @driesvints in https://github.com/laravel/laravel/pull/5924
- Update `bootstrap.js` by @irsyadadl in https://github.com/laravel/laravel/pull/5929
- Add default reloading to skeleton by @timacdonald in https://github.com/laravel/laravel/pull/5927
- Update to the latest version of laravel-vite-plugin by @jessarcher in https://github.com/laravel/laravel/pull/5943
## [v9.2.0](https://github.com/laravel/laravel/compare/v9.1.10...v9.2.0) - 2022-06-28

View File

@ -2,7 +2,7 @@
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
// use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

View File

@ -2,8 +2,8 @@
namespace App\Providers;
// use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Gate;
class AuthServiceProvider extends ServiceProvider
{

View File

@ -13,6 +13,7 @@
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.0",
"laravel/sail": "dev-develop",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.1",

View File

@ -2,7 +2,7 @@
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder

View File

@ -5,10 +5,10 @@
"build": "vite build"
},
"devDependencies": {
"axios": "^0.25",
"laravel-vite-plugin": "^0.2.1",
"axios": "^0.27",
"laravel-vite-plugin": "^0.5.0",
"lodash": "^4.17.19",
"postcss": "^8.1.14",
"vite": "^2.9.11"
"vite": "^3.0.0"
}
}

View File

@ -26,7 +26,7 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
// window.Echo = new Echo({
// broadcaster: 'pusher',
// key: import.meta.env.VITE_PUSHER_APP_KEY,
// wsHost: import.meta.env.VITE_PUSHER_HOST ?? `ws-${import.meta.env.VITE_PUSHER_CLUSTER}.pusher.com`,
// wsHost: import.meta.env.VITE_PUSHER_HOST ?? `ws-${import.meta.env.VITE_PUSHER_APP_CLUSTER}.pusher.com`,
// wsPort: import.meta.env.VITE_PUSHER_PORT ?? 80,
// wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443,
// forceTLS: (import.meta.env.VITE_PUSHER_SCHEME ?? 'https') === 'https',

View File

@ -7,7 +7,7 @@
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet">
<!-- Styles -->
<style>

View File

@ -2,7 +2,7 @@
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
// use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase

View File

@ -3,9 +3,12 @@ import laravel from 'laravel-vite-plugin';
export default defineConfig({
plugins: [
laravel([
'resources/css/app.css',
'resources/js/app.js',
]),
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js',
],
refresh: true,
}),
],
});