Skip to content

Commit

Permalink
Merge pull request #141 from localgovdrupal/3.x
Browse files Browse the repository at this point in the history
3.0.0 release
  • Loading branch information
finnlewis authored Nov 9, 2023
2 parents 3cdb32b + d5827af commit 34abcc4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ jobs:
ref: php${{ matrix.php-version }}

- name: Create LocalGov Drupal project
run: |
composer create-project --stability dev localgovdrupal/localgov-project:${COMPOSER_REF} ./html
composer --working-dir=./html require drupal/group
run: composer create-project --stability dev localgovdrupal/localgov-project:${COMPOSER_REF} ./html

- name: Obtain all dev dependencies for LocalGov Drupal
run: jq --raw-output '.packages[] | select(.name | startswith("localgovdrupal/")) | ."require-dev" | values | to_entries[] | @sh "\(.key):\(.value)"' ./html/composer.lock | sort | uniq | xargs composer --working-dir=./html require --dev --no-interaction

phpcs:
name: Coding standards checks
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ This project template should provide a kickstart for managing your site dependen

For guidance on installing see:

- [Installing LocalGov Drupal locally with composer](https://github.com/localgovdrupal/localgov/blob/2.x/README.md#installing-localgov-drupal-locally-with-composer)
- [Installing LocalGov Drupal locally with composer](https://github.com/localgovdrupal/localgov#installing-localgov-drupal-locally-with-composer)
- [Getting started on LocalGov Drupal docs](https://docs.localgovdrupal.org/devs/getting-started/)

## composer.json and composer.lock

We expect most projects using this package will start with the composer.json in this package, committing it to your own project repository as your own root composer.json. You can then extend composer.json, requiring other Drupal and composer packages and evolve your codebase as needed.

Once you have run a `composer create-project` command, it is usually desirable to commit the composer.lock file to your project repository and use this lock file to control the specific version of packages that you deploy to dev, test and ultimately production hosting environments.

## Gitpod

Gitpod allows you to run a virtual development environment in the cloud in your browser.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"cweagans/composer-patches": "^1.6",
"drupal/core-composer-scaffold": "^10.0",
"drupal/core-recommended": "^10.0",
"localgovdrupal/localgov": "^3.0@alpha",
"localgovdrupal/localgov": "^3.0",
"localgovdrupal/localgov_search_solr": "^1.1"
},
"require-dev": {
Expand Down

0 comments on commit 34abcc4

Please sign in to comment.