diff --git a/src/FilamentKanbanServiceProvider.php b/src/FilamentKanbanServiceProvider.php index 682cf3d..41ff175 100644 --- a/src/FilamentKanbanServiceProvider.php +++ b/src/FilamentKanbanServiceProvider.php @@ -2,12 +2,9 @@ namespace Mokhosh\FilamentKanban; -use Filament\Support\Assets\AlpineComponent; use Filament\Support\Assets\Asset; use Filament\Support\Assets\Css; -use Filament\Support\Assets\Js; use Filament\Support\Facades\FilamentAsset; -use Filament\Support\Facades\FilamentIcon; use Illuminate\Filesystem\Filesystem; use Livewire\Features\SupportTesting\Testable; use Mokhosh\FilamentKanban\Commands\MakeKanbanBoardCommand; @@ -29,8 +26,6 @@ public function configurePackage(Package $package): void ->hasInstallCommand(function (InstallCommand $command) { $command ->publishConfigFile() - ->publishMigrations() - ->askToRunMigrations() ->askToStarRepoOnGitHub('mokhosh/filament-kanban'); }); @@ -45,10 +40,6 @@ public function configurePackage(Package $package): void } } - public function packageRegistered(): void - { - } - public function packageBooted(): void { // Asset Registration @@ -57,14 +48,6 @@ public function packageBooted(): void $this->getAssetPackageName() ); - FilamentAsset::registerScriptData( - $this->getScriptData(), - $this->getAssetPackageName() - ); - - // Icon Registration - FilamentIcon::register($this->getIcons()); - // Handle Stubs if (app()->runningInConsole()) { foreach (app(Filesystem::class)->files(__DIR__ . '/../stubs/') as $file) { @@ -90,8 +73,8 @@ protected function getAssets(): array { return [ // AlpineComponent::make('filament-kanban', __DIR__ . '/../resources/dist/components/filament-kanban.js'), + // Js::make('filament-kanban-scripts', __DIR__ . '/../resources/dist/filament-kanban.js'), Css::make('filament-kanban-styles', __DIR__ . '/../resources/dist/filament-kanban.css'), - Js::make('filament-kanban-scripts', __DIR__ . '/../resources/dist/filament-kanban.js'), ]; } @@ -104,20 +87,4 @@ protected function getCommands(): array MakeKanbanBoardCommand::class, ]; } - - /** - * @return array - */ - protected function getIcons(): array - { - return []; - } - - /** - * @return array - */ - protected function getScriptData(): array - { - return []; - } }