Skip to content

Commit 6ec59ac

Browse files
Ghost CompilerGhost Compiler
authored andcommitted
Initial
0 parents  commit 6ec59ac

170 files changed

Lines changed: 33335 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2
16+
17+
[{compose,docker-compose}.{yml,yaml}]
18+
indent_size = 4

.env.example

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
APP_NAME=Laravel
2+
APP_ENV=local
3+
APP_KEY=
4+
APP_DEBUG=true
5+
APP_URL=http://localhost
6+
7+
APP_LOCALE=en
8+
APP_FALLBACK_LOCALE=en
9+
APP_FAKER_LOCALE=en_US
10+
11+
APP_MAINTENANCE_DRIVER=file
12+
# APP_MAINTENANCE_STORE=database
13+
14+
# PHP_CLI_SERVER_WORKERS=4
15+
16+
BCRYPT_ROUNDS=12
17+
18+
LOG_CHANNEL=stack
19+
LOG_STACK=single
20+
LOG_DEPRECATIONS_CHANNEL=null
21+
LOG_LEVEL=debug
22+
23+
DB_CONNECTION=sqlite
24+
# DB_HOST=127.0.0.1
25+
# DB_PORT=3306
26+
# DB_DATABASE=laravel
27+
# DB_USERNAME=root
28+
# DB_PASSWORD=
29+
30+
SESSION_DRIVER=database
31+
SESSION_LIFETIME=120
32+
SESSION_ENCRYPT=false
33+
SESSION_PATH=/
34+
SESSION_DOMAIN=null
35+
36+
BROADCAST_CONNECTION=log
37+
FILESYSTEM_DISK=local
38+
QUEUE_CONNECTION=database
39+
40+
CACHE_STORE=database
41+
# CACHE_PREFIX=
42+
43+
MEMCACHED_HOST=127.0.0.1
44+
45+
REDIS_CLIENT=phpredis
46+
REDIS_HOST=127.0.0.1
47+
REDIS_PASSWORD=null
48+
REDIS_PORT=6379
49+
50+
MAIL_MAILER=log
51+
MAIL_SCHEME=null
52+
MAIL_HOST=127.0.0.1
53+
MAIL_PORT=2525
54+
MAIL_USERNAME=null
55+
MAIL_PASSWORD=null
56+
MAIL_FROM_ADDRESS="hello@example.com"
57+
MAIL_FROM_NAME="${APP_NAME}"
58+
59+
AWS_ACCESS_KEY_ID=
60+
AWS_SECRET_ACCESS_KEY=
61+
AWS_DEFAULT_REGION=us-east-1
62+
AWS_BUCKET=
63+
AWS_USE_PATH_STYLE_ENDPOINT=false
64+
65+
VITE_APP_NAME="${APP_NAME}"

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
* text=auto eol=lf
2+
3+
*.blade.php diff=html
4+
*.css diff=css
5+
*.html diff=html
6+
*.md diff=markdown
7+
*.php diff=php
8+
9+
/.github export-ignore
10+
CHANGELOG.md export-ignore
11+
.styleci.yml export-ignore

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
cooldown:
8+
default-days: 5
9+
groups:
10+
github-actions:
11+
patterns:
12+
- "*"

.github/workflows/lint.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: linter
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- main
8+
- master
9+
- workos
10+
pull_request:
11+
branches:
12+
- develop
13+
- main
14+
- master
15+
- workos
16+
17+
permissions:
18+
contents: write
19+
20+
jobs:
21+
quality:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
25+
with:
26+
persist-credentials: false
27+
28+
- name: Setup PHP
29+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # v2
30+
with:
31+
php-version: '8.4'
32+
33+
- name: Install Dependencies
34+
run: |
35+
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
36+
npm install
37+
38+
- name: Run Pint
39+
run: composer lint
40+
41+
- name: Format Frontend
42+
run: npm run format
43+
44+
- name: Lint Frontend
45+
run: npm run lint
46+
47+
# - name: Commit Changes
48+
# uses: stefanzweifel/git-auto-commit-action@v7
49+
# with:
50+
# commit_message: fix code style
51+
# commit_options: '--no-verify'

.github/workflows/tests.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- main
8+
- master
9+
- workos
10+
pull_request:
11+
branches:
12+
- develop
13+
- main
14+
- master
15+
- workos
16+
17+
permissions:
18+
contents: read
19+
20+
jobs:
21+
ci:
22+
runs-on: ubuntu-latest
23+
strategy:
24+
matrix:
25+
php-version: ['8.3', '8.4', '8.5']
26+
27+
steps:
28+
- name: Checkout code
29+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
30+
with:
31+
persist-credentials: false
32+
33+
- name: Setup PHP
34+
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # v2
35+
with:
36+
php-version: ${{ matrix.php-version }}
37+
tools: composer:v2
38+
coverage: xdebug
39+
40+
- name: Setup Node
41+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
42+
with:
43+
node-version: '22'
44+
45+
- name: Install Node Dependencies
46+
run: npm i
47+
48+
- name: Install Dependencies
49+
run: composer install --no-interaction --prefer-dist --optimize-autoloader
50+
51+
- name: Copy Environment File
52+
run: cp .env.example .env
53+
54+
- name: Generate Application Key
55+
run: php artisan key:generate
56+
57+
- name: Build Assets
58+
run: npm run build
59+
60+
- name: Tests
61+
run: ./vendor/bin/phpunit

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/.phpunit.cache
2+
/bootstrap/ssr
3+
/node_modules
4+
/public/build
5+
/public/fonts-manifest.dev.json
6+
/public/hot
7+
/public/storage
8+
/storage/*.key
9+
/storage/pail
10+
/resources/js/actions
11+
/resources/js/routes
12+
/resources/js/wayfinder
13+
/vendor
14+
.DS_Store
15+
.env
16+
.env.backup
17+
.env.production
18+
.phpactor.json
19+
.phpunit.result.cache
20+
Homestead.json
21+
Homestead.yaml
22+
npm-debug.log
23+
yarn-error.log
24+
/auth.json
25+
/.fleet
26+
/.idea
27+
/.nova
28+
/.vscode
29+
/.zed
30+
.npmrc
31+
.vscode

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resources/js/components/ui/*
2+
resources/views/mail/*

.prettierrc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"singleAttributePerLine": false,
5+
"htmlWhitespaceSensitivity": "css",
6+
"printWidth": 80,
7+
"plugins": [
8+
"prettier-plugin-tailwindcss"
9+
],
10+
"tailwindFunctions": [
11+
"clsx",
12+
"cn",
13+
"cva"
14+
],
15+
"tailwindStylesheet": "resources/css/app.css",
16+
"tabWidth": 4,
17+
"overrides": [
18+
{
19+
"files": "**/*.yml",
20+
"options": {
21+
"tabWidth": 2
22+
}
23+
}
24+
]
25+
}

0 commit comments

Comments
 (0)