Skip to content

Commit

Permalink
Update for beta 8
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkwinkelmann committed Dec 9, 2018
1 parent 61b96fd commit 0ab1128
Show file tree
Hide file tree
Showing 20 changed files with 4,171 additions and 2,757 deletions.
13 changes: 8 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
.github export-ignore
.gitignore export-ignore
.gitmodules export-ignore
js/*/src export-ignore
js/*/Gulfile.js
js/*/package.json
js/*/yarn.lock
js/src export-ignore
js/admin.js export-ignore
js/forum.js export-ignore
js/webpack.config.js export-ignore
js/package.json export-ignore
js/yarn.lock export-ignore

js/*/dist/*.js -diff
js/dist/*.js -diff
js/dist/*.map -diff
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
js/*/node_modules
js/node_modules
vendor/
composer.lock
package-lock.json
10 changes: 0 additions & 10 deletions bootstrap.php

This file was deleted.

6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
"source": "https://github.com/flagrow/html-errors"
},
"require": {
"flarum/core": "^0.1.0-beta.7"
"flarum/core": "^0.1.0-beta.8"
},
"extra": {
"flarum-extension": {
"title": "Flagrow HTML Errors",
"icon": {
"name": "exclamation-circle",
"name": "fas fa-exclamation-circle",
"backgroundColor": "#f4f4f4",
"color": "#5f4bb6"
}
},
"flagrow": {
"discuss": "https://discuss.flarum.org/d/10784-custom-html-error-pages"
"discuss": "https://discuss.flarum.org/d/10784"
}
},
"autoload": {
Expand Down
15 changes: 15 additions & 0 deletions extend.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

namespace Flagrow\HtmlErrors;

use Flarum\Extend;
use Illuminate\Contracts\Events\Dispatcher;

return [
(new Extend\Frontend('admin'))
->js(__DIR__ . '/js/dist/admin.js'),
new Extend\Locales(__DIR__ . '/locale'),
function (Dispatcher $events) {
$events->subscribe(Listeners\Middlewares::class);
},
];
1 change: 1 addition & 0 deletions js/admin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './src/admin';
7 changes: 0 additions & 7 deletions js/admin/Gulpfile.js

This file was deleted.

78 changes: 0 additions & 78 deletions js/admin/dist/extension.js

This file was deleted.

7 changes: 0 additions & 7 deletions js/admin/package.json

This file was deleted.

Loading

0 comments on commit 0ab1128

Please sign in to comment.