-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
228 changed files
with
32,302 additions
and
5,042 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// https://aka.ms/devcontainer.json | ||
{ | ||
"name": "Goonhub", | ||
"dockerComposeFile": [ | ||
"../docker-compose.yml" | ||
], | ||
"service": "laravel.test", | ||
"workspaceFolder": "/var/www/html", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"mikestead.dotenv", | ||
"amiralizadeh9480.laravel-extra-intellisense", | ||
"ryannaddy.laravel-artisan", | ||
"onecentlin.laravel5-snippets", | ||
"onecentlin.laravel-blade", | ||
"Vue.volar", | ||
"EditorConfig.EditorConfig", | ||
"dbaeumer.vscode-eslint", | ||
"christian-kohler.npm-intellisense", | ||
"bmewburn.vscode-intelephense-client", | ||
"esbenp.prettier-vscode", | ||
"georgykurian.laravel-ide-helper", | ||
"open-southeners.laravel-pint", | ||
"eamodio.gitlens", | ||
"oven.bun-vscode" | ||
], | ||
"settings": {} | ||
} | ||
}, | ||
"remoteUser": "sail", | ||
"initializeCommand": "sh .devcontainer/init.sh", | ||
"postCreateCommand": "chown -R 1000:1000 /var/www/html 2>/dev/null || true && composer install && bun install" | ||
// "forwardPorts": [], | ||
// "runServices": [], | ||
// "shutdownAction": "none", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env sh | ||
|
||
if [ ! -d "vendor" ]; then | ||
docker run --rm \ | ||
-u "$(id -u):$(id -g)" \ | ||
-v "$(pwd):/var/www/html" \ | ||
-w /var/www/html \ | ||
laravelsail/php83-composer:latest \ | ||
composer install --ignore-platform-reqs --no-autoloader --no-scripts | ||
fi | ||
|
||
if [ ! -f ".env" ]; then | ||
cp .env.example .env | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/.phpunit.cache | ||
/node_modules | ||
/public/build | ||
/public/hot | ||
/public/storage | ||
/storage/*.key | ||
/storage/app/public | ||
/storage/debugbar | ||
/storage/ssr | ||
/storage/clockwork | ||
/storage/logs | ||
/storage/pail | ||
.phpunit.result.cache | ||
Homestead.json | ||
Homestead.yaml | ||
npm-debug.log | ||
yarn-error.log | ||
/vendor | ||
.env.backup | ||
/.idea/sonarlint | ||
.phpstorm.meta.php | ||
_ide_helper_models.php | ||
_ide_helper.php | ||
.php-cs-fixer.cache | ||
.husky | ||
/.vscode | ||
**/.DS_Store | ||
/public/page-cache | ||
.phpunit.database.checksum | ||
.phpunit.cache | ||
rr | ||
.rr.yaml | ||
frankenphp | ||
.config | ||
.data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Fix Code Style | ||
|
||
on: [push] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
php: [8.3] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: json, dom, curl, libxml, mbstring | ||
coverage: none | ||
|
||
- name: Install Pint | ||
run: composer global require laravel/pint | ||
|
||
- name: Run Pint | ||
run: pint | ||
|
||
- name: Commit linted files | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "Fixes coding style" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,6 @@ yarn-error.log | |
/.fleet | ||
/.idea | ||
horizon.log | ||
**/.DS_Store | ||
.config | ||
.data |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.