Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version bump 0.5.0 #7

Merged
merged 20 commits into from Aug 8, 2020
4 changes: 4 additions & 0 deletions .gitignore
@@ -1,6 +1,8 @@
/node_modules
/public/hot
/public/storage
/public/js
/public/css
/storage/*.key
/vendor
.env
Expand All @@ -10,3 +12,5 @@ Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log

.vercel
12 changes: 12 additions & 0 deletions api/assets.php
@@ -0,0 +1,12 @@
<?php

/**
* Built assets aren't currently routeable via vercel-php
*/
if ($_GET['type'] === 'css') {
header("Content-type: text/css; charset: UTF-8");
echo require __DIR__ . '/../public/css/' . basename($_GET['file']);
} else if ($_GET['type'] === 'js') {
header('Content-Type: application/javascript; charset: UTF-8');
echo require __DIR__ . '/../public/js/' . basename($_GET['file']);
}
6 changes: 5 additions & 1 deletion composer.json
Expand Up @@ -15,7 +15,7 @@
"guzzlehttp/guzzle": "^6.3",
"laravel/framework": "^7.0",
"laravel/tinker": "^2.0",
"phased/phase": "^0.4.0"
"phased/phase": "^0.5.0"
},
"require-dev": {
"facade/ignition": "^2.0",
Expand Down Expand Up @@ -59,6 +59,10 @@
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
],
"vercel": [
"npm install",
"npm run prod"
]
}
}