Skip to content

Commit

Permalink
⬆️ Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
siguici committed Nov 7, 2023
1 parent 2ba7b9a commit 4dc4f9c
Show file tree
Hide file tree
Showing 14 changed files with 2,348 additions and 703 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2]
bun: [1.0.4]
bun: [1.0.9]
dependencies: [lowest, highest]
experimental: [false]
name: 👷 CI PHP-${{ matrix.php }} ${{ matrix.dependencies }} with Bun-${{ matrix.bun }} on ${{ matrix.os }}
Expand Down Expand Up @@ -44,7 +44,9 @@ jobs:
coverage: pcov

- name: Install Composer dependencies
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist
run: |
composer install -q --no-ansi --no-cache --no-interaction --no-scripts --no-progress --prefer-dist
composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist
- name: Set CI Environment
run: |
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ Then visit [http://my-app.local:8000/](http://my-app.local:8000/)

#### 🧹 Keep a modern codebase

- with **Rome**:
- with **Biome**:

```shell
bun run check
bun check
```

- with **Pint**:
Expand Down Expand Up @@ -193,15 +193,16 @@ composer test
🚀 Execute end-to-end testing with **Playwright**:

```shell
bun run e2e
bun e2e
```

#### 🐛 Check all code bugs

- Frontend:

```shell
bun run debug
bun debug
```

- Backend:

Expand All @@ -211,10 +212,10 @@ composer debug

## 📋 Requirements

> - **Requires [PHP 8.1+](https://php.net/releases/)** (at least 8.1.21 recommended to avoid potential bugs).
> - **Requires [Bun 1.0+](https://bun.sh/)** (at least 1.0.4 recommended to avoid potential bugs).
> - **Requires [Composer >=2.5.8](https://getcomposer.org/)** to manage [PHP][php-link] dependencies.
> - **Requires [Git ~2.40.0](https://git-scm.com/)** to manage source code versions.
> - **Requires [PHP 8.1+](https://php.net/releases/)** (at least 8.1.24 recommended to avoid potential bugs).
> - **Requires [Bun 1.0+](https://bun.sh/)** (at least 1.0.9 recommended to avoid potential bugs).
> - **Requires [Composer >=2.6.5](https://getcomposer.org/)** to manage [PHP][php-link] dependencies.
> - **Requires [Git ~2.42.0](https://git-scm.com/)** to manage source code versions.
## 📖 Documentation

Expand Down
8 changes: 4 additions & 4 deletions app/res/assets/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import type Axios from "axios";
declare;
global;
{
interface Window {
Alpine: Alpine;
axios: Axios;
}
interface Window {
Alpine: Alpine;
axios: Axios;
}
}
47 changes: 23 additions & 24 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": true,
"ignore": ["node_modules", "vendor", "storage", "public/static"]
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": true,
"ignore": ["node_modules", "vendor", "storage", "public/static"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useBlockStatements": "error",
"useShorthandArrayType": "error",
"noShoutyConstants": "warn"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useBlockStatements": "error",
"useShorthandArrayType": "error",
"noShoutyConstants": "warn"
}
},
"ignore": ["node_modules", "vendor", "storage", "public/static"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentSize": 4,
"lineWidth": 80,
"ignore": ["node_modules", "vendor", "storage", "public/static"]
}
"ignore": ["node_modules", "vendor", "storage", "public/static"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"lineWidth": 80,
"ignore": ["node_modules", "vendor", "storage", "public/static"]
}
}
Binary file modified bun.lockb
Binary file not shown.
197 changes: 99 additions & 98 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,103 +1,104 @@
{
"type": "project",
"name": "sikessem/starter",
"description": "Start PHP applications using Laravel preconfigured with TypeScript, Livewire, AlpineJS, TailwindCSS and many others such as Vite, Rome, Vitest, Pint, PHPStan, Larastan, Rector, etc.",
"keywords": [
"alpinejs",
"composer",
"laravel",
"larastan",
"livewire",
"pest",
"pnpm",
"php",
"phpstan",
"rector",
"rome",
"sikessem",
"starter-template",
"tailwindcss",
"typescript",
"vitejs",
"vitest"
"type": "project",
"name": "sikessem/starter",
"description": "Start PHP applications using Laravel preconfigured with TypeScript, Livewire, AlpineJS, TailwindCSS and many others such as Vite, Rome, Vitest, Pint, PHPStan, Larastan, Rector, etc.",
"keywords": [
"alpinejs",
"composer",
"laravel",
"larastan",
"livewire",
"pest",
"pnpm",
"php",
"phpstan",
"rector",
"rome",
"sikessem",
"starter-template",
"tailwindcss",
"typescript",
"vitejs",
"vitest"
],
"homepage": "https://packagist.org/packages/sikessem/starter",
"license": "MIT",
"authors": [
{
"name": "Sigui Kessé Emmanuel",
"email": "contact@sigui.ci",
"homepage": "https://sigui.ci"
}
],
"support": {
"source": "https://github.com/sikessem/starter",
"issues": "https://github.com/sikessem/starter/issues",
"chat": "https://github.com/orgs/sikessem/discussions"
},
"require": {
"php": "^8.1||^8.2",
"guzzlehttp/guzzle": "^7.8",
"laravel/sanctum": "^3.3",
"laravel/tinker": "^2.8",
"livewire/livewire": "^3.1",
"sikessem/framework": "^0.3.0",
"sikessem/ui": "^0.7.0",
"spatie/laravel-sitemap": "^6.4"
},
"require-dev": {
"sikessem/laravel-devtools": "^0.8.0"
},
"autoload": {
"psr-4": {
"App\\": "app/src/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"analyse": "phpstan analyse --ansi --memory-limit=-1 --debug",
"check": "pint --test -v",
"debug": ["@check", "@analyse", "@review", "@test"],
"fix": ["@refactor", "@lint"],
"lint": "pint -v",
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"homepage": "https://packagist.org/packages/sikessem/starter",
"license": "MIT",
"authors": [
{
"name": "Sigui Kessé Emmanuel",
"email": "contact@sigui.ci",
"homepage": "https://sigui.ci"
}
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"support": {
"source": "https://github.com/sikessem/starter",
"issues": "https://github.com/sikessem/starter/issues",
"chat": "https://github.com/orgs/sikessem/discussions"
},
"require": {
"php": "^8.1||^8.2",
"guzzlehttp/guzzle": "^7.8",
"laravel/sanctum": "^3.3",
"laravel/tinker": "^2.8",
"livewire/livewire": "^3.0",
"sikessem/framework": "^0.2.0",
"sikessem/ui": "^0.7.0",
"spatie/laravel-sitemap": "^6.3"
},
"require-dev": {
"sikessem/laravel-devtools": "^0.6.1"
},
"autoload": {
"psr-4": {
"App\\": "app/src/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"analyse": "phpstan analyse --ansi --memory-limit=-1 --debug",
"check": "pint --test -v",
"debug": ["@check", "@analyse", "@review", "@test"],
"fix": ["@refactor", "@lint"],
"lint": "pint -v",
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": ["@php artisan key:generate --ansi"],
"test": "pest --colors=always",
"review": "rector --dry-run --debug",
"refactor": "rector"
},
"extra": {
"laravel": {
"dont-discover": []
},
"branch-alias": {
"dev-main": "0.x-dev"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true
}
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": ["@php artisan key:generate --ansi"],
"test": "pest --colors=always",
"review": "rector --dry-run --debug",
"refactor": "rector"
},
"extra": {
"laravel": {
"dont-discover": []
},
"minimum-stability": "stable",
"prefer-stable": true
"branch-alias": {
"dev-main": "0.x-dev"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}
Loading

0 comments on commit 4dc4f9c

Please sign in to comment.