Skip to content

Commit

Permalink
Merge pull request #126 from palantirnet/drupal-10
Browse files Browse the repository at this point in the history
test drupal 10
  • Loading branch information
byrond authored Jan 13, 2023
2 parents 334150b + 6d795fd commit bea0ec2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .ddev/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ hooks:
# This allows ddev to manage its own settings.ddev.php file.
disable_settings_management: false

type: drupal9
type: drupal10
router_http_port: "80"
router_https_port: "443"
provider: default
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ Enter a short name for your project [example] :
```
composer create-project palantirnet/drupal-skeleton example dev-develop --no-interaction
```

This skeleton is based on Drupal 10. If you would like to install and use Drupal 9 instead, run:
```
composer create-project palantirnet/drupal-skeleton example dev-drupal9 --no-interaction
```

2. Go into your new project directory and update the ddev configuration in `.ddev/config.yml`:

```
Expand Down Expand Up @@ -84,6 +90,11 @@ Use composer to create a new project based on this skeleton, replacing `PROJECTN
composer create-project palantirnet/drupal-skeleton PROJECTNAME dev-develop --no-interaction
```

This skeleton is based on Drupal 10. If you would like to install and use Drupal 9 instead, run:
```
composer create-project palantirnet/drupal-skeleton PROJECTNAME dev-drupal9 --no-interaction
```

### Update your documentation

Update the `README`:
Expand Down
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
}
],
"require": {
"composer/installers": "^1.9",
"drupal/admin_toolbar": "^3.0",
"drupal/config_ignore": "^2.3",
"drupal/config_split": "^1.7",
"drupal/core-composer-scaffold": "^9",
"drupal/core-recommended": "^9",
"drupal/devel": ">=4.1",
"drupal/workbench": "^1.3",
"drupal/workbench_tabs": "^1.5",
"composer/installers": "^2.0",
"drupal/admin_toolbar": "^3",
"drupal/config_split": "^1",
"drupal/core-composer-scaffold": "^10",
"drupal/core-recommended": "^10",
"drupal/devel": "^5",
"drupal/workbench": "^1",
"drupal/workbench_tabs": "^1",
"drush/drush": "^11"
},
"require-dev": {
"drupal/core-dev": "^9",
"drupal/drupal-extension": "^4.1.0",
"palantirnet/the-build": "^4@alpha"
"behat/mink-goutte-driver": "^2.0",
"drupal/core-dev": "^10",
"drupal/drupal-extension": "^5@alpha",
"palantirnet/the-build": "^4@beta"
},
"suggest": {
"cweagans/composer-patches": "Try ^1.7. Apply patches to packages, especially Drupal.org contrib.",
Expand Down

0 comments on commit bea0ec2

Please sign in to comment.