Skip to content

Commit

Permalink
feat: extender for route exclusion (#4)
Browse files Browse the repository at this point in the history
* feat: extender for route exclusion

* chore: update deps
  • Loading branch information
imorland committed Feb 4, 2024
1 parent 5cc3b4a commit 1a0e8a6
Show file tree
Hide file tree
Showing 6 changed files with 1,566 additions and 3,392 deletions.
4 changes: 4 additions & 0 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use Psr\Http\Message\ServerRequestInterface;
use SychO\PrivateFacade\Api\Controller\DeleteIllustrationController;
use SychO\PrivateFacade\Api\Controller\UploadIllustrationController;
use SychO\PrivateFacade\Providers\RouteExclusionProvider;

return [
(new Extend\Routes('api'))
Expand Down Expand Up @@ -52,6 +53,9 @@
(new Extend\View())
->namespace('sycho-private-facade', __DIR__.'/views'),

(new Extend\ServiceProvider())
->register(RouteExclusionProvider::class),

(new Extend\Settings())
->default('sycho-private-facade.header_layout', 'show_only_logo')
->default('sycho-private-facade.primary_color_bg', true)
Expand Down
10 changes: 5 additions & 5 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"private": true,
"prettier": "@flarum/prettier-config",
"dependencies": {
"flarum-webpack-config": "^1.0.0",
"flarum-tsconfig": "^1.0.1",
"@flarum/prettier-config": "^1.0.0",
"webpack": "^4.26.0",
"webpack-cli": "^3.0.7"
"flarum-tsconfig": "^1.0.1",
"flarum-webpack-config": "^1.0.0",
"webpack": "^5.90.1",
"webpack-cli": "^5.1.4"
},
"devDependencies": {
"prettier": "^2.3.0"
"prettier": "^3.2.4"
},
"scripts": {
"dev": "webpack --mode development --watch",
Expand Down
Loading

0 comments on commit 1a0e8a6

Please sign in to comment.