Skip to content

Commit fab1639

Browse files
Update Tailwind config, composer packages, and file tracking (#27)
* Update Tailwind config, composer packages, and file tracking Added new paths to Tailwind's content array and Vite refresh paths to reflect updated project structure. Replaced 'app-wrapper' with 'laravel-sabhero-wrapper' in composer dependencies and commands, and removed unused package 'spatie/image-optimizer'. Adjusted `.gitignore` for additional ignored files. * Fix styling * Fix styling * Fix styling * Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 (#26) * Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.2.0 to 2.3.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](dependabot/fetch-metadata@v2.2.0...v2.3.0) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix styling * Fix styling --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua Mitchener <[email protected]> * Fix styling --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 64544cc commit fab1639

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ yarn-error.log
3030
php.ini
3131
error_log
3232
.DS_Store
33+
/.DS_Store
3334
.php-cs-fixer.cache
3435
composer.lock

src/Commands/InstallComposerPackagesCommand.php

+4-6
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,14 @@ public function handle(): void
2525
private function installComposerPackages(): void
2626
{
2727
$packages = [
28-
'fuelviews/app-wrapper:">=0.0"',
28+
'fuelviews/laravel-sabhero-wrapper:">=0.0"',
2929
'fuelviews/laravel-cloudflare-cache:">=0.0"',
3030
'fuelviews/laravel-robots-txt:">=0.0"',
3131
'fuelviews/laravel-sitemap:">=0.0"',
3232
'ralphjsmit/laravel-seo:">=0.0"',
3333
'ralphjsmit/laravel-glide:">=0.0"',
3434
'livewire/livewire:">=0.0"',
3535
'spatie/laravel-google-fonts:">=0.0"',
36-
'spatie/image-optimizer:">=0.0"',
3736
];
3837

3938
$packagesDev = [
@@ -80,16 +79,15 @@ private function runPackageInstallCommands(): void
8079
$this->runShellCommand("php artisan vendor:publish --tag=cloudflare-cache-config {$force}");
8180
$this->runShellCommand("php artisan vendor:publish --tag=sitemap-config {$force}");
8281
$this->runShellCommand("php artisan vendor:publish --tag=robots-txt-config {$force}");
83-
$this->runShellCommand("php artisan vendor:publish --tag=app-wrapper-seeders {$force}");
84-
$this->runShellCommand("php artisan vendor:publish --tag=app-wrapper-welcome {$force}");
82+
$this->runShellCommand("php artisan vendor:publish --tag=laravel-sabhero-wrapper-seeders {$force}");
83+
$this->runShellCommand("php artisan vendor:publish --tag=laravel-sabhero-wrapper-welcome {$force}");
8584
$this->runShellCommand("php artisan vendor:publish --tag=seo-migrations {$force}");
8685
$this->runShellCommand("php artisan vendor:publish --tag=seo-config {$force}");
8786

8887
$this->runShellCommand("php artisan vendor:publish --tag=google-fonts-config {$force}");
8988

90-
$this->runShellCommand('php artisan app-wrapper:install');
89+
$this->runShellCommand('php artisan sabhero-wrapper:install');
9190

92-
// Check if storage is already linked before linking
9391
if (! $this->isStorageLinked()) {
9492
$this->runShellCommand('php artisan storage:link');
9593
}

stubs/tailwind.config.js.stub

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ export default {
77
content: [
88
'./resources/**/*.{js,vue,blade.php}',
99
'./vendor/fuelviews/laravel-*/resources/**/*.{js,vue,blade.php}',
10+
'./vendor/fuelviews/laravel-navigation/resources/**/*.{js,vue,blade.php}',
11+
'./vendor/fuelviews/laravel-*/resources/**/*.{js,vue,blade.php}',
12+
'./vendor/fuelviews/laravel-sabhero-blog/src/**/*.php',
13+
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
1014
],
1115
theme: {
1216
extend: {

stubs/vite.config.js.stub

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ export default defineConfig({
1717
refresh: [
1818
...refreshPaths,
1919
'app/View/**',
20+
'app/Components/**',
21+
'app/Filament/**',
22+
'app/Resources/**',
23+
'app/Models/**',
2024
'app/Livewire/**',
2125
'resources/views/**/*.blade.php',
2226
],

0 commit comments

Comments
 (0)