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 3f9824c commit 62e99f9
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
{
"name": "friendsofhyperf/confd",
"description": "The confd component for Hyperf.",
"license": "MIT",
"type": "library",
"keywords": [
"hyperf",
"v3.1"
],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "huangdijia",
"email": "[email protected]"
}
],
"support": {
"issues": "https://github.com/friendsofhyperf/components/issues",
"source": "https://github.com/friendsofhyperf/components",
"pull-request": "https://github.com/friendsofhyperf/components/pulls"
},
"require": {
"hyperf/codec": "~3.1.0",
"hyperf/collection": "~3.1.0",
Expand All @@ -22,11 +27,11 @@
"hyperf/framework": "~3.1.0",
"hyperf/support": "~3.1.0"
},
"suggests": {
"google/protobuf": "Required to use nacos v2 grpc apis.(~3.1.0)",
"hyperf/grpc": "Required to use nacos v2 grpc apis.(~3.1.0)",
"hyperf/http2-client": "Required to use nacos v2 grpc apis.(~3.1.0)"
"suggest": {
"hyperf/etcd": "For etcd driver.",
"hyperf/nacos": "For nacos driver."
},
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"FriendsOfHyperf\\Confd\\": "src/"
Expand All @@ -35,22 +40,17 @@
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"extra": {
"hyperf": {
"config": "FriendsOfHyperf\\Confd\\ConfigProvider"
},
"branch-alias": {
"dev-main": "3.1-dev"
},
"hyperf": {
"config": "FriendsOfHyperf\\Confd\\ConfigProvider"
}
},
"suggest": {
"hyperf/nacos": "For nacos driver.",
"hyperf/etcd": "For etcd driver."
},
"support": {
"issues": "https://github.com/friendsofhyperf/components/issues",
"source": "https://github.com/friendsofhyperf/components",
"pull-request": "https://github.com/friendsofhyperf/components/pulls"
"suggests": {
"google/protobuf": "Required to use nacos v2 grpc apis.(~3.1.0)",
"hyperf/grpc": "Required to use nacos v2 grpc apis.(~3.1.0)",
"hyperf/http2-client": "Required to use nacos v2 grpc apis.(~3.1.0)"
}
}

0 comments on commit 62e99f9

Please sign in to comment.