Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Commit 39a6731

Browse files
author
GoodM4ven
committed
Release v1.2.0
- Fixed Livewire's HMR issue - Downgraded related packages - Added PX-REM converter extension - Added VSC keybindings to version-control - Integrated Good Night package - Added new environment variables at the bottom! - Updated [README]
1 parent b174b17 commit 39a6731

File tree

16 files changed

+498
-490
lines changed

16 files changed

+498
-490
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"deanhjjiang.split-line",
5757
"wwm.better-align",
5858
"cshum.convert-newline-list-to-array",
59+
"sainoba.px-to-rem",
5960
// Recommended
6061
"Gruntfuggly.todo-tree",
6162
"aaron-bond.better-comments",

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ VITE_PUSHER_PORT="${PUSHER_PORT}"
6969
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
7070
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
7171

72+
GOOD_LOADER_FONT='Mulish'
73+
GOOD_LOADER_SENTENCE='Loading...'
74+
GOOD_NIGHT_ENABLED=false
75+
GOOD_NIGHT_POSITION='top-right'
76+
7277
WWWGROUP=1000
7378
WWWUSER=1000
7479
SAIL_XDEBUG_MODE=develop,debug,coverage

.env.production

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,8 @@ VITE_PUSHER_HOST="${PUSHER_HOST}"
6969
VITE_PUSHER_PORT="${PUSHER_PORT}"
7070
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
7171
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
72+
73+
GOOD_LOADER_FONT='Mulish'
74+
GOOD_LOADER_SENTENCE='Loading...'
75+
GOOD_NIGHT_ENABLED=false
76+
GOOD_NIGHT_POSITION='top-right'

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ yarn-error.log
1414
/.idea
1515
/.vscode
1616

17-
# VSC Settings
17+
# VSC Settings & Bindings
1818
!/.vscode
1919
/.vscode/*
2020
!/.vscode/settings.json
21+
!/.vscode/keybindings.json
2122

22-
# Xdebug
23+
# VSC Debug Settings (Xdebug)
2324
!/.vscode/launch.json
2425

2526
# Laravel Sail

.vscode/keybindings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
// Unassignments
3+
{
4+
"key": "alt+s",
5+
"command": "-extension.pxPerRem"
6+
},
7+
{
8+
"key": "alt+z",
9+
"command": "-extension.pxToremAndRemToPx"
10+
}
11+
]

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ Until the customization feature is ready, this preset is clearly *opinionated*.
2929
- [Alpine.js](https://alpinejs.dev) v3.10.2 ([Focus](https://alpinejs.dev/plugins/focus) Plugin Installed)
3030
- [Livewire](https://laravel-livewire.com) v2.10.6
3131
- [Laravel](https://laravel.com) v9.20.0
32-
- [Vite.js](https://vitejs.dev/guide/why.html#the-problems) v3.0.2 (**Livewire Supportive**)
32+
- [Vite.js](https://vitejs.dev/guide/why.html#the-problems) v2.9.14
33+
- [Laravel Plugin](https://github.com/laravel/vite-plugin) v0.2.4
34+
- [Livewire Plugin](@defstudio/vite-livewire-plugin@) v0.1.15
3335
- [TALL Stack Builder](https://github.com/GoodM4ven/tall-stack-builder) v1.0.0
3436

3537
### Opinionated (To Be Optional)
@@ -41,6 +43,7 @@ Until the customization feature is ready, this preset is clearly *opinionated*.
4143
- [Filament](https://filamentphp.com) v2.0.0 ([Admin](https://filamentphp.com/docs/admin), [Forms](https://filamentphp.com/docs/forms) and [Tables](https://filamentphp.com/docs/tables))
4244
- Including Spatie's [Media-Library](https://filamentphp.com/docs/2.x/spatie-laravel-media-library-plugin/installation) Plugin
4345
- [Good Loader](https://github.com/GoodM4ven/good-loader) v1.1.1
46+
- [Good Night](https://github.com/GoodM4ven/good-night) v1.0.0
4447

4548
### Modifications
4649

@@ -60,6 +63,8 @@ Until the customization feature is ready, this preset is clearly *opinionated*.
6063

6164
- You should check them out. Especially the HTML attribute wrapping strategy, `wrapAttribute`, used by Blade Formatter extension.
6265

66+
- A bit of essential [keybindings](.vscode/keybindings.json) too.
67+
6368
- Laravel Sail package in order for this whole thing to work **with only Docker installed**.
6469

6570
- Xdebug dev-container VSC settings to start debugging easily.
@@ -246,6 +251,8 @@ Most of the following process is done with [VSC](https://code.visualstudio.com/)
246251

247252
> **[Warning](www.google.com)**: You must ensure that Vite is running throughout development; an exception will be thrown for loading without it!
248253

254+
- Remember that, when you're tired of it, you can disable the VSC notification - that appreas after running this command - from the cog in its corner!
255+
249256
Now you can visit **[`http://localhost`](http://localhost)** and build something tall! 🙂
250257
251258
- If you close the running VSC window, it will gracefully close down the container with it; after 10 seconds.

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"filament/spatie-laravel-media-library-plugin": "^2.0",
2626
"filament/tables": "^2.0",
2727
"goodm4ven/good-loader": "^1.1",
28+
"goodm4ven/good-night": "^1.0",
2829
"goodm4ven/tall-stack-builder": "^1.0.0",
2930
"guzzlehttp/guzzle": "^7.2",
3031
"laravel/framework": "^9.21",

composer.lock

Lines changed: 64 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/good-night.php

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Default Mode
8+
|--------------------------------------------------------------------------
9+
|
10+
| Determine the default dark/light mode that the app will start with.
11+
|
12+
| The default is `light` and is stored in `$store.goodNightMode`.
13+
|
14+
*/
15+
16+
'default-mode' => env('GOOD_NIGHT_DEFAULT', 'light'),
17+
18+
19+
/*
20+
|--------------------------------------------------------------------------
21+
| Switcher Enabled
22+
|--------------------------------------------------------------------------
23+
|
24+
| Decide whether to show or hide the corner dark-mode switcher in the page.
25+
|
26+
| Either way, the package won't work without `@goodNight` directive.
27+
|
28+
*/
29+
30+
'switcher-enabled' => env('GOOD_NIGHT_ENABLED', true),
31+
32+
33+
/*
34+
|--------------------------------------------------------------------------
35+
| Switcher Position
36+
|--------------------------------------------------------------------------
37+
|
38+
| Determine the position of the corner switcher button when shown in the page.
39+
|
40+
| Available positions are: top-right, top-left, bottom-left, bottom-right.
41+
|
42+
*/
43+
44+
'switcher-position' => env('GOOD_NIGHT_POSITION', 'top-right'),
45+
46+
];

0 commit comments

Comments
 (0)