generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Cosnavel/feature/make-ready-for-laravel-9
- Loading branch information
Showing
8 changed files
with
92 additions
and
32 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,21 @@ | ||
name: normalize composer.json | ||
|
||
on: | ||
push: | ||
paths: | ||
- "composer.json" | ||
|
||
jobs: | ||
normalize: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: normalize composer.json | ||
run: | | ||
composer global require ergebnis/composer-normalize | ||
composer normalize | ||
- uses: stefanzweifel/[email protected] | ||
with: | ||
commit_message: normalize composer.json |
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,28 @@ | ||
name: "Update Changelog" | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: main | ||
|
||
- name: Update Changelog | ||
uses: stefanzweifel/changelog-updater-action@v1 | ||
with: | ||
latest-version: ${{ github.event.release.name }} | ||
release-notes: ${{ github.event.release.body }} | ||
|
||
- name: Commit updated CHANGELOG | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
branch: main | ||
commit_message: Update CHANGELOG | ||
file_pattern: CHANGELOG.md |
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,34 +1,39 @@ | ||
{ | ||
"name": "cosnavel/laravel-query-localization", | ||
"description": "Query String Localization Package for Laravel", | ||
"license": "MIT", | ||
"keywords": [ | ||
"Cosnavel", | ||
"laravel", | ||
"laravel-query-localization" | ||
], | ||
"homepage": "https://github.com/cosnavel/laravel-query-localization", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Cosnavel", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
} | ||
], | ||
"homepage": "https://github.com/cosnavel/laravel-query-localization", | ||
"require": { | ||
"php": "^8.0", | ||
"illuminate/contracts": "^8.37", | ||
"spatie/laravel-package-tools": "^1.4.3", | ||
"timacdonald/has-parameters": "^1.2" | ||
"illuminate/contracts": "^8.73 || ^9.0", | ||
"spatie/laravel-package-tools": "^1.11" | ||
}, | ||
"require-dev": { | ||
"brianium/paratest": "^6.2", | ||
"nunomaduro/collision": "^5.3", | ||
"orchestra/testbench": "^6.15", | ||
"livewire/livewire": "^2.10", | ||
"nunomaduro/collision": "^5.3 || ^6.1", | ||
"orchestra/testbench": "^6.23 || ^7.0", | ||
"phpstan/extension-installer": "^1.1", | ||
"phpstan/phpstan-deprecation-rules": "^1.0", | ||
"phpstan/phpstan-phpunit": "^1.0", | ||
"phpunit/phpunit": "^9.3", | ||
"spatie/laravel-ray": "^1.23", | ||
"vimeo/psalm": "^4.8" | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"autoload": { | ||
"psr-4": { | ||
"Cosnavel\\LaravelQueryLocalization\\": "src", | ||
|
@@ -40,24 +45,27 @@ | |
"Cosnavel\\LaravelQueryLocalization\\Tests\\": "tests" | ||
} | ||
}, | ||
"scripts": { | ||
"psalm": "vendor/bin/psalm", | ||
"test": "./vendor/bin/testbench package:test --parallel --no-coverage", | ||
"test-coverage": "vendor/bin/phpunit --coverage-html coverage" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"composer/package-versions-deprecated": true, | ||
"phpstan/extension-installer": true | ||
}, | ||
"sort-packages": true | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Cosnavel\\LaravelQueryLocalization\\LaravelQueryLocalizationServiceProvider" | ||
], | ||
"aliases": { | ||
"LaravelQueryLocalization": "Cosnavel\\LaravelQueryLocalization\\LaravelQueryLocalizationFacade" | ||
} | ||
}, | ||
"providers": [ | ||
"Cosnavel\\LaravelQueryLocalization\\LaravelQueryLocalizationServiceProvider" | ||
] | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
"scripts": { | ||
"analyse": "vendor/bin/phpstan analyse", | ||
"psalm": "vendor/bin/psalm", | ||
"test": "./vendor/bin/testbench package:test --no-coverage", | ||
"test-coverage": "vendor/bin/phpunit --coverage-html coverage" | ||
} | ||
} |
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,8 @@ | ||
parameters: | ||
level: 5 | ||
paths: | ||
- src | ||
- config | ||
- database | ||
tmpDir: build/phpstan | ||
checkMissingIterableValueType: 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
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