-
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
202 changed files
with
31,037 additions
and
4,455 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
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 was deleted.
Oops, something went wrong.
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,42 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "bun", | ||
"internalConsoleOptions": "openOnSessionStart", | ||
"request": "launch", | ||
"name": "Serve Frontend", | ||
"program": "dev", | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false | ||
}, | ||
{ | ||
"type": "bun", | ||
"internalConsoleOptions": "neverOpen", | ||
"request": "launch", | ||
"name": "Debug File", | ||
"program": "${file}", | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"watchMode": false | ||
}, | ||
{ | ||
"type": "bun", | ||
"internalConsoleOptions": "neverOpen", | ||
"request": "launch", | ||
"name": "Run File", | ||
"program": "${file}", | ||
"cwd": "${workspaceFolder}", | ||
"noDebug": true, | ||
"watchMode": false | ||
}, | ||
{ | ||
"type": "bun", | ||
"internalConsoleOptions": "neverOpen", | ||
"request": "attach", | ||
"name": "Attach Bun", | ||
"url": "ws://localhost:6499/", | ||
"stopOnEntry": false | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -1,9 +1,16 @@ | ||
{ | ||
"artisan.docker.enabled": true, | ||
"artisan.docker.command": "./vendor/bin/sail", | ||
"editor.rulers": [100], | ||
"[php]": { | ||
"editor.defaultFormatter": "junstyle.php-cs-fixer" | ||
}, | ||
"php-cs-fixer.allowRisky": true | ||
"editor.rulers": [ | ||
100 | ||
], | ||
"[php]": { | ||
"editor.defaultFormatter": "open-southeners.laravel-pint" | ||
}, | ||
"intelephense.codeLens.implementations.enable": true, | ||
"intelephense.codeLens.overrides.enable": true, | ||
"intelephense.codeLens.parent.enable": true, | ||
"intelephense.codeLens.references.enable": true, | ||
"intelephense.codeLens.usages.enable": true, | ||
"intelephense.format.enable": false, | ||
"editor.formatOnSave": true, | ||
"laravel-pint.enable": true | ||
} |
Oops, something went wrong.