feat(assets): Change default CSS framework to Tailwind
* enhance(view): Add light default styling for Tailwind * chore(view): Clean up unnecessary selectors and spacing * feat(acorn): Update Acorn for Laravel 8.x * chore(acorn): Create default `bootstrap/` project directory for Laravel 8.x * refactor(acorn): Split the Acorn bootloader between `functions.php` and `bootstrap/app.php` to coincide with Laravel * refactor(assets): Lighten the out of the box CSS boilerplate * refactor(assets): Rename `dist/` to `public/` to coincide with Laravel * refactor(assets): Flatten the `assets/` directory into `resources/` to coincide with Laravel * refactor(assets): Rename `scripts/` to `js/` to coincide with Laravel * refactor(assets): Rename `styles/` to `css/` to coincide with Laravel * feat(deps): Update to Laravel Mix ^6.0 * chore(deps): Change Mix-related package.json `scripts` to the new `mix` binary * chore(deps): Remove PurgeCSS in favor of Tailwind's built in purge * chore(deps): Remove deprecated/unnecessary/unused dependencies * chore(deps): Bump minimum PHP version to 7.3 to coincide with Laravel 8.x
This commit is contained in:
120
config/app.php
120
config/app.php
@@ -24,7 +24,7 @@ return [
|
||||
|
|
||||
| This value determines the "environment" your application is currently
|
||||
| running in. This may determine how you prefer to configure various
|
||||
| services your application utilizes. Set this in your ".env" file.
|
||||
| services the application utilizes. Set this in your ".env" file.
|
||||
|
|
||||
*/
|
||||
|
||||
@@ -56,19 +56,6 @@ return [
|
||||
|
||||
'timezone' => get_option('timezone_string', 'UTC'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Preflight Checks
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value allows service providers to execute preflight tasks after
|
||||
| booting. These tasks include creating directories, databases, and files,
|
||||
| or doing any other checks to ensure the service is functional.
|
||||
|
|
||||
*/
|
||||
|
||||
'preflight' => env('WP_ENV', 'production') !== 'production',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Global Helpers
|
||||
@@ -108,6 +95,21 @@ return [
|
||||
|
||||
'fallback_locale' => 'en',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Encryption Key
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This key is used by the Illuminate encrypter service and should be set
|
||||
| to a random, 32 character string, otherwise these encrypted strings
|
||||
| will not be safe. Please do this before deploying an application!
|
||||
|
|
||||
*/
|
||||
|
||||
'key' => env('APP_KEY'),
|
||||
|
||||
'cipher' => 'AES-256-CBC',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Autoloaded Service Providers
|
||||
@@ -120,15 +122,42 @@ return [
|
||||
*/
|
||||
|
||||
'providers' => [
|
||||
/**
|
||||
* Package Service Providers
|
||||
*/
|
||||
// ExamplePackage\Providers\ExamplePackageServiceProvider::class,
|
||||
|
||||
/**
|
||||
* Application Service Providers
|
||||
/*
|
||||
* Laravel Framework Service Providers...
|
||||
*/
|
||||
// Illuminate\Auth\AuthServiceProvider::class,
|
||||
// Illuminate\Broadcasting\BroadcastServiceProvider::class,
|
||||
Illuminate\Bus\BusServiceProvider::class,
|
||||
Illuminate\Cache\CacheServiceProvider::class,
|
||||
// Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
|
||||
// Illuminate\Cookie\CookieServiceProvider::class,
|
||||
// Illuminate\Database\DatabaseServiceProvider::class,
|
||||
// Illuminate\Encryption\EncryptionServiceProvider::class,
|
||||
Illuminate\Filesystem\FilesystemServiceProvider::class,
|
||||
// Illuminate\Foundation\Providers\FoundationServiceProvider::class,
|
||||
// Illuminate\Hashing\HashServiceProvider::class,
|
||||
// Illuminate\Mail\MailServiceProvider::class,
|
||||
// Illuminate\Notifications\NotificationServiceProvider::class,
|
||||
// Illuminate\Pagination\PaginationServiceProvider::class,
|
||||
// Illuminate\Pipeline\PipelineServiceProvider::class,
|
||||
// Illuminate\Queue\QueueServiceProvider::class,
|
||||
// Illuminate\Redis\RedisServiceProvider::class,
|
||||
// Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
|
||||
// Illuminate\Session\SessionServiceProvider::class,
|
||||
// Illuminate\Translation\TranslationServiceProvider::class,
|
||||
// Illuminate\Validation\ValidationServiceProvider::class,
|
||||
Illuminate\View\ViewServiceProvider::class,
|
||||
|
||||
/*
|
||||
* Package Service Providers...
|
||||
*/
|
||||
|
||||
/*
|
||||
* Application Service Providers...
|
||||
*/
|
||||
App\Providers\ThemeServiceProvider::class,
|
||||
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -143,41 +172,44 @@ return [
|
||||
*/
|
||||
|
||||
'aliases' => [
|
||||
|
||||
'App' => Illuminate\Support\Facades\App::class,
|
||||
'Arr' => Illuminate\Support\Arr::class,
|
||||
'Artisan' => Illuminate\Support\Facades\Artisan::class,
|
||||
'Auth' => Illuminate\Support\Facades\Auth::class,
|
||||
// 'Artisan' => Illuminate\Support\Facades\Artisan::class,
|
||||
// 'Auth' => Illuminate\Support\Facades\Auth::class,
|
||||
'Blade' => Illuminate\Support\Facades\Blade::class,
|
||||
'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
|
||||
// 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
|
||||
'Bus' => Illuminate\Support\Facades\Bus::class,
|
||||
'Cache' => Illuminate\Support\Facades\Cache::class,
|
||||
'Config' => Illuminate\Support\Facades\Config::class,
|
||||
'Cookie' => Illuminate\Support\Facades\Cookie::class,
|
||||
'Crypt' => Illuminate\Support\Facades\Crypt::class,
|
||||
'DB' => Illuminate\Support\Facades\DB::class,
|
||||
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
|
||||
// 'Cookie' => Illuminate\Support\Facades\Cookie::class,
|
||||
// 'Crypt' => Illuminate\Support\Facades\Crypt::class,
|
||||
// 'DB' => Illuminate\Support\Facades\DB::class,
|
||||
// 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
|
||||
'Event' => Illuminate\Support\Facades\Event::class,
|
||||
'File' => Illuminate\Support\Facades\File::class,
|
||||
'Gate' => Illuminate\Support\Facades\Gate::class,
|
||||
'Hash' => Illuminate\Support\Facades\Hash::class,
|
||||
'Http' => Illuminate\Support\Facades\Http::class,
|
||||
'Lang' => Illuminate\Support\Facades\Lang::class,
|
||||
// 'Gate' => Illuminate\Support\Facades\Gate::class,
|
||||
// 'Hash' => Illuminate\Support\Facades\Hash::class,
|
||||
// 'Http' => Illuminate\Support\Facades\Http::class,
|
||||
// 'Lang' => Illuminate\Support\Facades\Lang::class,
|
||||
'Log' => Illuminate\Support\Facades\Log::class,
|
||||
'Mail' => Illuminate\Support\Facades\Mail::class,
|
||||
'Notification' => Illuminate\Support\Facades\Notification::class,
|
||||
'Password' => Illuminate\Support\Facades\Password::class,
|
||||
'Queue' => Illuminate\Support\Facades\Queue::class,
|
||||
'Redirect' => Illuminate\Support\Facades\Redirect::class,
|
||||
'Redis' => Illuminate\Support\Facades\Redis::class,
|
||||
'Request' => Illuminate\Support\Facades\Request::class,
|
||||
'Response' => Illuminate\Support\Facades\Response::class,
|
||||
'Route' => Illuminate\Support\Facades\Route::class,
|
||||
'Schema' => Illuminate\Support\Facades\Schema::class,
|
||||
'Session' => Illuminate\Support\Facades\Session::class,
|
||||
// 'Mail' => Illuminate\Support\Facades\Mail::class,
|
||||
// 'Notification' => Illuminate\Support\Facades\Notification::class,
|
||||
// 'Password' => Illuminate\Support\Facades\Password::class,
|
||||
// 'Queue' => Illuminate\Support\Facades\Queue::class,
|
||||
// 'Redirect' => Illuminate\Support\Facades\Redirect::class,
|
||||
// 'Redis' => Illuminate\Support\Facades\Redis::class,
|
||||
// 'Request' => Illuminate\Support\Facades\Request::class,
|
||||
// 'Response' => Illuminate\Support\Facades\Response::class,
|
||||
// 'Route' => Illuminate\Support\Facades\Route::class,
|
||||
// 'Schema' => Illuminate\Support\Facades\Schema::class,
|
||||
// 'Session' => Illuminate\Support\Facades\Session::class,
|
||||
'Storage' => Illuminate\Support\Facades\Storage::class,
|
||||
'Str' => Illuminate\Support\Str::class,
|
||||
'URL' => Illuminate\Support\Facades\URL::class,
|
||||
'Validator' => Illuminate\Support\Facades\Validator::class,
|
||||
// 'URL' => Illuminate\Support\Facades\URL::class,
|
||||
// 'Validator' => Illuminate\Support\Facades\Validator::class,
|
||||
'View' => Illuminate\Support\Facades\View::class,
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
@@ -34,9 +34,9 @@ return [
|
||||
'manifests' => [
|
||||
'theme' => [
|
||||
'strategy' => 'relative',
|
||||
'path' => get_theme_file_path('/dist'),
|
||||
'uri' => get_theme_file_uri('/dist'),
|
||||
'manifest' => get_theme_file_path('/dist/mix-manifest.json'),
|
||||
'path' => get_theme_file_path('/public'),
|
||||
'uri' => get_theme_file_uri('/public'),
|
||||
'manifest' => get_theme_file_path('/public/mix-manifest.json'),
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
@@ -17,19 +17,6 @@ return [
|
||||
|
||||
'default' => env('FILESYSTEM_DRIVER', 'local'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Cloud Filesystem Disk
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Many applications store files both locally and in the cloud. For this
|
||||
| reason, you may specify a default "cloud" driver here. This driver
|
||||
| will be bound as the Cloud disk implementation in the container.
|
||||
|
|
||||
*/
|
||||
|
||||
'cloud' => env('FILESYSTEM_CLOUD', 's3'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Filesystem Disks
|
||||
@@ -44,11 +31,10 @@ return [
|
||||
*/
|
||||
|
||||
'disks' => [
|
||||
|
||||
'local' => [
|
||||
'driver' => 'local',
|
||||
'root' => WP_CONTENT_DIR,
|
||||
'url' => content_url(),
|
||||
'visibility' => 'public',
|
||||
],
|
||||
|
||||
'wordpress' => [
|
||||
@@ -58,7 +44,7 @@ return [
|
||||
'visibility' => 'public',
|
||||
],
|
||||
|
||||
'sage' => [
|
||||
'theme' => [
|
||||
'driver' => 'local',
|
||||
'root' => get_theme_file_path(),
|
||||
'url' => get_theme_file_uri(),
|
||||
@@ -72,6 +58,9 @@ return [
|
||||
'region' => env('AWS_DEFAULT_REGION'),
|
||||
'bucket' => env('AWS_BUCKET'),
|
||||
'url' => env('AWS_URL'),
|
||||
'endpoint' => env('AWS_ENDPOINT'),
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
@@ -46,28 +46,28 @@ return [
|
||||
|
||||
'single' => [
|
||||
'driver' => 'single',
|
||||
'path' => storage_path('logs/sage.log'),
|
||||
'level' => 'debug',
|
||||
'path' => storage_path('logs/acorn.log'),
|
||||
'level' => env('LOG_LEVEL', 'debug'),
|
||||
],
|
||||
|
||||
'daily' => [
|
||||
'driver' => 'daily',
|
||||
'path' => storage_path('logs/sage.log'),
|
||||
'level' => 'debug',
|
||||
'path' => storage_path('logs/acorn.log'),
|
||||
'level' => env('LOG_LEVEL', 'debug'),
|
||||
'days' => 14,
|
||||
],
|
||||
|
||||
'slack' => [
|
||||
'driver' => 'slack',
|
||||
'url' => env('LOG_SLACK_WEBHOOK_URL'),
|
||||
'username' => 'App Log',
|
||||
'username' => 'Acorn Log',
|
||||
'emoji' => ':boom:',
|
||||
'level' => 'critical',
|
||||
'level' => env('LOG_LEVEL', 'critical'),
|
||||
],
|
||||
|
||||
'papertrail' => [
|
||||
'driver' => 'monolog',
|
||||
'level' => 'debug',
|
||||
'level' => env('LOG_LEVEL', 'debug'),
|
||||
'handler' => SyslogUdpHandler::class,
|
||||
'handler_with' => [
|
||||
'host' => env('PAPERTRAIL_URL'),
|
||||
@@ -86,12 +86,12 @@ return [
|
||||
|
||||
'syslog' => [
|
||||
'driver' => 'syslog',
|
||||
'level' => 'debug',
|
||||
'level' => env('LOG_LEVEL', 'debug'),
|
||||
],
|
||||
|
||||
'errorlog' => [
|
||||
'driver' => 'errorlog',
|
||||
'level' => 'debug',
|
||||
'level' => env('LOG_LEVEL', 'debug'),
|
||||
],
|
||||
|
||||
'null' => [
|
||||
@@ -100,7 +100,8 @@ return [
|
||||
],
|
||||
|
||||
'emergency' => [
|
||||
'path' => storage_path('logs/sage.log'),
|
||||
'path' => storage_path('logs/acorn.log'),
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user