Skip to content

Commit

Permalink
Slim down
Browse files Browse the repository at this point in the history
  • Loading branch information
tonning committed Mar 22, 2024
1 parent afa4e77 commit 6355237
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 77 deletions.
5 changes: 1 addition & 4 deletions configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,8 @@ function replaceForAllOtherOSes(): array {
str_contains($file, 'src/Skeleton.php') => rename($file, './src/' . $className . '.php'),
str_contains($file, 'src/SkeletonServiceProvider.php') => rename($file, './src/' . $className . 'ServiceProvider.php'),
str_contains($file, 'src/SkeletonFacade.php') => rename($file, './src/' . $className . 'Facade.php'),
str_contains($file, 'src/Commands/SkeletonCommand.php') => rename($file, './src/Commands/' . $className . 'Command.php'),
str_contains($file, 'src/Actions/SkeletonAction.php') => rename($file, './src/Actions/' . $className . 'Action.php'),
str_contains($file, 'src/Settings/SkeletonSettings.php') => rename($file, './src/Settings/' . $className . 'Settings.php'),
str_contains($file, 'database/migrations/create_skeleton_table.php.stub') => rename($file, './database/migrations/create_' . $packageSlugWithoutPrefix . '_table.php.stub'),
str_contains($file, 'database/migrations/settings/2021_09_30_100000_create_skeleton_settings.php') => rename($file, './database/migrations/settings/2021_09_30_100000_create_' . $packageSlugWithoutPrefix . '_settings.php'),
str_contains($file, 'database/migrations/settings/create_skeleton_settings.php') => rename($file, './database/migrations/settings/' . date('Y_m_d') . '_100000_create_' . $packageSlugWithoutPrefix . '_settings.php'),
str_contains($file, 'config/skeleton.php') => rename($file, './config/' . $packageSlugWithoutPrefix . '.php'),
str_contains($file, 'public/css/skeleton.css') => rename($file, './public/css/' . $packageSlugWithoutPrefix . '.css'),
str_contains($file, 'public/js/skeleton.js') => rename($file, './public/js/' . $packageSlugWithoutPrefix . '.js'),
Expand Down
19 changes: 0 additions & 19 deletions database/migrations/create_skeleton_table.php.stub

This file was deleted.

18 changes: 0 additions & 18 deletions src/Actions/SkeletonAction.php

This file was deleted.

17 changes: 0 additions & 17 deletions src/Commands/SkeletonCommand.php

This file was deleted.

19 changes: 0 additions & 19 deletions src/Settings/SkeletonSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,9 @@

use Helix\Lego\Settings\AppSettings;
use Illuminate\Validation\Rule;
use VendorName\Skeleton\Actions\SkeletonAction;

class SkeletonSettings extends AppSettings
{
// public string $url;

public function rules(): array
{
return [
// 'url' => Rule::requiredIf($this->enabled === true),
];
}

// protected static array $actions = [
// SkeletonAction::class,
// ];

// public static function encrypted(): array
// {
// return ['access_token'];
// }

public function description(): string
{
return 'Interact with Skeleton.';
Expand Down

0 comments on commit 6355237

Please sign in to comment.