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 <[email protected]>
  • Loading branch information
huangdijia and huangdijia authored Jun 17, 2024
1 parent d84763f commit 9c91100
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
{
"name": "friendsofhyperf/openai-client",
"description": "The openai client component for Hyperf.",
"license": "MIT",
"type": "library",
"keywords": [
"hyperf",
"openai",
"v3.1"
],
"homepage": "https://github.com/friendsofhyperf/openai-client",
"license": "MIT",
"authors": [
{
"name": "huangdijia",
"email": "[email protected]"
}
],
"homepage": "https://github.com/friendsofhyperf/openai-client",
"support": {
"issues": "https://github.com/friendsofhyperf/components/issues",
"source": "https://github.com/friendsofhyperf/components",
"pull-request": "https://github.com/friendsofhyperf/components/pulls"
},
"require": {
"php": ">=8.1",
"hyperf/config": "~3.1.0",
"hyperf/di": "~3.1.0",
"hyperf/guzzle": "~3.1.0",
"openai-php/client": "^0.10.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"FriendsOfHyperf\\OpenAi\\": "src/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"hyperf": {
"config": "FriendsOfHyperf\\OpenAi\\ConfigProvider"
},
"branch-alias": {
"dev-main": "3.1-dev"
},
"hyperf": {
"config": "FriendsOfHyperf\\OpenAi\\ConfigProvider"
}
},
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"support": {
"issues": "https://github.com/friendsofhyperf/components/issues",
"source": "https://github.com/friendsofhyperf/components",
"pull-request": "https://github.com/friendsofhyperf/components/pulls"
}
}

0 comments on commit 9c91100

Please sign in to comment.