From 0dd4054baa45516394112f60708343a39d23e79c Mon Sep 17 00:00:00 2001 From: Samuel De Backer Date: Wed, 10 Mar 2021 15:46:25 +0100 Subject: [PATCH] Files moved --- .travis.yml | 13 ------------- {src/database => database}/migrations/.gitkeep | 0 .../migrations/create_events_table.php.stub | 0 phpunit.xml | 18 ------------------ .../scss/public/_event-list.scss | 0 .../scss/public/_event.scss | 0 .../views/admin/_form.blade.php | 0 .../views/admin/create.blade.php | 0 .../views/admin/edit.blade.php | 0 .../views/admin/index.blade.php | 0 .../views/public/_itemlist-json-ld.blade.php | 0 .../views/public/_json-ld.blade.php | 0 .../views/public/_list-item.blade.php | 0 .../views/public/_list-results.blade.php | 0 .../views/public/_list.blade.php | 0 .../views/public/index.blade.php | 0 .../views/public/past.blade.php | 0 .../views/public/show.blade.php | 0 src/Providers/ModuleServiceProvider.php | 8 ++++---- 19 files changed, 4 insertions(+), 35 deletions(-) delete mode 100644 .travis.yml rename {src/database => database}/migrations/.gitkeep (100%) rename {src/database => database}/migrations/create_events_table.php.stub (100%) delete mode 100644 phpunit.xml rename {src/resources => resources}/scss/public/_event-list.scss (100%) rename {src/resources => resources}/scss/public/_event.scss (100%) rename {src/resources => resources}/views/admin/_form.blade.php (100%) rename {src/resources => resources}/views/admin/create.blade.php (100%) rename {src/resources => resources}/views/admin/edit.blade.php (100%) rename {src/resources => resources}/views/admin/index.blade.php (100%) rename {src/resources => resources}/views/public/_itemlist-json-ld.blade.php (100%) rename {src/resources => resources}/views/public/_json-ld.blade.php (100%) rename {src/resources => resources}/views/public/_list-item.blade.php (100%) rename {src/resources => resources}/views/public/_list-results.blade.php (100%) rename {src/resources => resources}/views/public/_list.blade.php (100%) rename {src/resources => resources}/views/public/index.blade.php (100%) rename {src/resources => resources}/views/public/past.blade.php (100%) rename {src/resources => resources}/views/public/show.blade.php (100%) diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f60bbe0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: php - -php: - - 5.4 - - 5.5 - - 5.6 - - hhvm - -before_script: - - travis_retry composer self-update - - travis_retry composer install --prefer-source --no-interaction --dev - -script: phpunit diff --git a/src/database/migrations/.gitkeep b/database/migrations/.gitkeep similarity index 100% rename from src/database/migrations/.gitkeep rename to database/migrations/.gitkeep diff --git a/src/database/migrations/create_events_table.php.stub b/database/migrations/create_events_table.php.stub similarity index 100% rename from src/database/migrations/create_events_table.php.stub rename to database/migrations/create_events_table.php.stub diff --git a/phpunit.xml b/phpunit.xml deleted file mode 100644 index 3347b75..0000000 --- a/phpunit.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - ./tests/ - - - diff --git a/src/resources/scss/public/_event-list.scss b/resources/scss/public/_event-list.scss similarity index 100% rename from src/resources/scss/public/_event-list.scss rename to resources/scss/public/_event-list.scss diff --git a/src/resources/scss/public/_event.scss b/resources/scss/public/_event.scss similarity index 100% rename from src/resources/scss/public/_event.scss rename to resources/scss/public/_event.scss diff --git a/src/resources/views/admin/_form.blade.php b/resources/views/admin/_form.blade.php similarity index 100% rename from src/resources/views/admin/_form.blade.php rename to resources/views/admin/_form.blade.php diff --git a/src/resources/views/admin/create.blade.php b/resources/views/admin/create.blade.php similarity index 100% rename from src/resources/views/admin/create.blade.php rename to resources/views/admin/create.blade.php diff --git a/src/resources/views/admin/edit.blade.php b/resources/views/admin/edit.blade.php similarity index 100% rename from src/resources/views/admin/edit.blade.php rename to resources/views/admin/edit.blade.php diff --git a/src/resources/views/admin/index.blade.php b/resources/views/admin/index.blade.php similarity index 100% rename from src/resources/views/admin/index.blade.php rename to resources/views/admin/index.blade.php diff --git a/src/resources/views/public/_itemlist-json-ld.blade.php b/resources/views/public/_itemlist-json-ld.blade.php similarity index 100% rename from src/resources/views/public/_itemlist-json-ld.blade.php rename to resources/views/public/_itemlist-json-ld.blade.php diff --git a/src/resources/views/public/_json-ld.blade.php b/resources/views/public/_json-ld.blade.php similarity index 100% rename from src/resources/views/public/_json-ld.blade.php rename to resources/views/public/_json-ld.blade.php diff --git a/src/resources/views/public/_list-item.blade.php b/resources/views/public/_list-item.blade.php similarity index 100% rename from src/resources/views/public/_list-item.blade.php rename to resources/views/public/_list-item.blade.php diff --git a/src/resources/views/public/_list-results.blade.php b/resources/views/public/_list-results.blade.php similarity index 100% rename from src/resources/views/public/_list-results.blade.php rename to resources/views/public/_list-results.blade.php diff --git a/src/resources/views/public/_list.blade.php b/resources/views/public/_list.blade.php similarity index 100% rename from src/resources/views/public/_list.blade.php rename to resources/views/public/_list.blade.php diff --git a/src/resources/views/public/index.blade.php b/resources/views/public/index.blade.php similarity index 100% rename from src/resources/views/public/index.blade.php rename to resources/views/public/index.blade.php diff --git a/src/resources/views/public/past.blade.php b/resources/views/public/past.blade.php similarity index 100% rename from src/resources/views/public/past.blade.php rename to resources/views/public/past.blade.php diff --git a/src/resources/views/public/show.blade.php b/resources/views/public/show.blade.php similarity index 100% rename from src/resources/views/public/show.blade.php rename to resources/views/public/show.blade.php diff --git a/src/Providers/ModuleServiceProvider.php b/src/Providers/ModuleServiceProvider.php index dc2d041..042a259 100644 --- a/src/Providers/ModuleServiceProvider.php +++ b/src/Providers/ModuleServiceProvider.php @@ -23,18 +23,18 @@ public function boot() $modules = $this->app['config']['typicms']['modules']; $this->app['config']->set('typicms.modules', array_merge(['events' => ['linkable_to_page']], $modules)); - $this->loadViewsFrom(__DIR__.'/../resources/views/', 'events'); + $this->loadViewsFrom(__DIR__.'/../../resources/views/', 'events'); $this->publishes([ - __DIR__.'/../database/migrations/create_events_table.php.stub' => getMigrationFileName('create_events_table'), + __DIR__.'/../../database/migrations/create_events_table.php.stub' => getMigrationFileName('create_events_table'), ], 'migrations'); $this->publishes([ - __DIR__.'/../resources/views' => resource_path('views/vendor/events'), + __DIR__.'/../../resources/views' => resource_path('views/vendor/events'), ], 'views'); $this->publishes([ - __DIR__.'/../resources/scss' => resource_path('scss'), + __DIR__.'/../../resources/scss' => resource_path('scss'), ], 'resources'); AliasLoader::getInstance()->alias('Events', Events::class);