Skip to content

Commit

Permalink
Update composer.json in order to whitelist development versions ins…
Browse files Browse the repository at this point in the history
…tead to set "minimum-stability"
  • Loading branch information
phansys committed Sep 26, 2019
1 parent bdaa8fd commit 531a028
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ for your setup.
After that you can create the project:

```
composer create-project drupal-composer/drupal-project:8.x-dev some-dir --no-interaction
composer create-project drupal-composer/drupal-project:^8.0@dev some-dir --no-interaction
```

With `composer require ...` you can download new dependencies to your
installation.

```
cd some-dir
composer require drupal/devel:~1.0
composer require drupal/devel:^1.0
```

The `composer create-project` command passes ownership of all files to the
Expand Down
18 changes: 10 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,28 @@
}
],
"require": {
"php": ">=7.0.8",
"php": "^7.0.8",
"composer/installers": "^1.2",
"cweagans/composer-patches": "^1.6.5",
"drupal-composer/drupal-scaffold": "^2.5",
"drupal/console": "^1.0.2",
"drupal/core": "^8.7.0",
"drush/drush": "^9.0.0",
"drupal/core": "^8.7",
"drush/drush": "^9",
"vlucas/phpdotenv": "^2.4",
"webflo/drupal-finder": "^1.0.0",
"webflo/drupal-finder": "^1",
"webmozart/path-util": "^2.3",
"zaporylie/composer-drupal-optimizations": "^1.0"
"zaporylie/composer-drupal-optimizations": "^1"
},
"require-dev": {
"webflo/drupal-core-require-dev": "^8.7.0"
"behat/mink": "^1.7@dev",
"behat/mink-selenium2-driver": "^1.3@dev",
"friendsofphp/php-cs-fixer": "^2.15",
"phpunit/phpunit": "^6.5",
"webflo/drupal-core-require-dev": "^8.7"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true
},
Expand Down

0 comments on commit 531a028

Please sign in to comment.