Skip to content

Commit

Permalink
Merge pull request #110 from lemberg/feature/composer-plugin
Browse files Browse the repository at this point in the history
Clean up Draft Environment config files upon package uninstall
  • Loading branch information
T2L committed Nov 22, 2019
2 parents 8ad073b + fa02f64 commit b83a4fe
Show file tree
Hide file tree
Showing 10 changed files with 2,816 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ before_script:
script:
- composer validate --no-check-all --ansi
- vagrant status
- ./bin/phpunit
- molecule test
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Draft Environment 3.x.x

- [GH-94](https://github.com/lemberg/draft-environment/issues/94) - Converted project to a composer-plugin. Clean up Draft Environment config files upon package uninstallation
- [GH-96](https://github.com/lemberg/draft-environment/issues/96) - Added vagrant-disksize plugin, which allows to alter VirtualBox disk size. By default VirtualBox disk size is capped at 10Gb, which is fine for most of the projects, unless project has huge database. Introduced new variable `virtualbox.disk_size` (defaults to `10Gb`)
- [GH-104](https://github.com/lemberg/draft-environment/issues/104) - Bump minimum supported Vagrant version to 2.2.6
- [GH-106](https://github.com/lemberg/draft-environment/issues/106) - Converted tests to support Molecule 2
Expand Down
19 changes: 17 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
{
"name": "lemberg/draft-environment",
"description": "Development environment for Draft Drupal.",
"type": "vm",
"type": "composer-plugin",
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"composer/composer": "^1.9",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^6.5 | ^7"
},
"require": {
"symfony/yaml": "^2.8|^3.2"
"php": "^7.2",
"composer-plugin-api": "^1.1",
"symfony/yaml": "^3.4|^4"
},
"scripts": {
"post-install-cmd": [
Expand All @@ -16,6 +23,11 @@
"Lemberg\\Draft\\Environment\\Configurer::setUp"
]
},
"autoload-dev": {
"psr-4": {
"Lemberg\\Tests\\Draft\\Environment\\": "tests/"
}
},
"autoload": {
"psr-4": {
"Lemberg\\Draft\\Environment\\": "src/"
Expand All @@ -24,5 +36,8 @@
"config": {
"bin-dir": "bin/",
"sort-packages": true
},
"extra": {
"class": "Lemberg\\Draft\\Environment\\Composer\\Plugin"
}
}

0 comments on commit b83a4fe

Please sign in to comment.