Skip to content

Commit

Permalink
Add metapackage to avoid child dependency installs
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Oct 19, 2023
1 parent 435e443 commit 7330e41
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@
"php": "7.2.9"
}
},
"repositories": [
{
"type": "path",
"url": "./replacer"
}
],
"require": {
"php": ">=7.2",
"repl/acer": "@dev",
"ipl/html": "^0.8.0",
"ipl/i18n": "^0.2.0",
"ipl/orm": "^0.6.0",
Expand All @@ -21,8 +28,6 @@
"ipl/validator": "^0.5.0",
"ipl/web": "^0.9.0"
},
"require-dev": {
},
"autoload": {
"psr-0": { "AssetLoader": "" }
},
Expand Down
18 changes: 18 additions & 0 deletions replacer/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "repl/acer",
"type": "metapackage",
"description": "Replaces third party packages as they are included in icinga-php-thirdparty",
"license": "MIT",
"replace": {
"psr/http-message": "*",
"guzzlehttp/psr7": "*",
"dragonmantank/cron-expression": "*",
"psr/log": "*",
"ramsey/uuid": "*",
"react/event-loop": "*",
"react/promise": "*",
"simshaun/recurr": "*",
"evenement/evenement": "*",
"wikimedia/less.php": "*"
}
}

0 comments on commit 7330e41

Please sign in to comment.