Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4165bfb95d | |||
| 570dbf747e | |||
| 14cbd0a845 | |||
| c99634bb46 |
@@ -8,7 +8,7 @@
|
||||
<title>@yield('title') - Lucent Data Platform</title>
|
||||
@if(config("lucent.env") == "production")
|
||||
<!-- if production -->
|
||||
<link rel="stylesheet" href="/vendor/lucent/dist/{{ $manifest['main.css']["file"] }}"/>
|
||||
<link rel="stylesheet" href="/vendor/lucent/dist/{{ $manifest['main.js']["css"][0] }}"/>
|
||||
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']["file"] }}"></script>
|
||||
@else
|
||||
<!-- if development -->
|
||||
|
||||
@@ -10,7 +10,7 @@ export default defineConfig({
|
||||
|
||||
outDir: '../dist',
|
||||
emptyOutDir: true,
|
||||
manifest: true,
|
||||
manifest: "manifest.json",
|
||||
rollupOptions: {
|
||||
// overwrite default .html entry
|
||||
input: path.resolve(__dirname, 'js/main.js')
|
||||
|
||||
@@ -28,7 +28,7 @@ class BuildController extends Controller
|
||||
unlink($buildLogFile);
|
||||
}
|
||||
|
||||
exec("cd " . base_path() . " && php8.2 artisan {$this->channelService->channel->generateCommand} > " . $buildLogFile . " 2>&1 & echo $!", $op);
|
||||
exec("cd " . base_path() . " && php8.3 artisan {$this->channelService->channel->generateCommand} > " . $buildLogFile . " 2>&1 & echo $!", $op);
|
||||
$pid = (int)$op[0];
|
||||
return redirect($this->channelService->channel->lucentUrl . "/build-report");
|
||||
}
|
||||
|
||||
@@ -261,6 +261,12 @@ final class Query
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function onlyPublished(): Query
|
||||
{
|
||||
$this->options->status = ["published"];
|
||||
return $this;
|
||||
}
|
||||
|
||||
public
|
||||
function orderByQuery(Builder $query): Builder
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user