Skip to content

Commit

Permalink
Normalized composer.json (#675)
Browse files Browse the repository at this point in the history
* Normalized composer.json

* chore: Update composer.json and normalize formatting

The changes in composer.json include updating the "json-fix" script to also run the "composer normalize" command. This ensures that the composer.json file is properly formatted and adheres to the defined standards. Additionally, the script now applies the "composer normalize" command to all composer.json files found in the ./src directory.

Based on the recent user commits and repository commits, the commit message follows the established convention of using a prefix to indicate the type of change (`chore` for general maintenance or housekeeping).

* chore: Update composer.json script to run "composer normalize" and apply it to all composer.json files in ./src directory

* chore: Update composer.json script to run "composer normalize" and apply it to all composer.json files in ./src directory

---------

Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
  • Loading branch information
huangdijia and huangdijia authored Jun 17, 2024
1 parent 43fcb35 commit dbb7fcf
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "friendsofhyperf/macros",
"description": "The commonly used macros for Hyperf.",
"license": "MIT",
"type": "library",
"keywords": [
"hyperf",
"v3.1"
],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "huangdijia",
Expand All @@ -24,12 +24,7 @@
"hyperf/macroable": "~3.1.0",
"hyperf/stringable": "~3.1.20",
"hyperf/support": "~3.1.0",
"nesbot/carbon": "^2.0|^3.0"
},
"autoload": {
"psr-4": {
"FriendsOfHyperf\\Macros\\": "src/"
}
"nesbot/carbon": "^2.0 || ^3.0"
},
"suggest": {
"hyperf/http-server": "Required to use (~3.1.0)",
Expand All @@ -39,15 +34,20 @@
"symfony/uid": "Required to generate ULIDs (^6.0|^7.0).",
"voku/portable-ascii": "Required to use (^1.4|^1.5)"
},
"extra": {
"hyperf": {
"config": "FriendsOfHyperf\\Macros\\ConfigProvider"
},
"branch-alias": {
"dev-main": "3.1-dev"
"autoload": {
"psr-4": {
"FriendsOfHyperf\\Macros\\": "src/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-main": "3.1-dev"
},
"hyperf": {
"config": "FriendsOfHyperf\\Macros\\ConfigProvider"
}
}
}

0 comments on commit dbb7fcf

Please sign in to comment.