diff --git a/.github/workflows/pr-joomla-tests.yml b/.github/workflows/pr-joomla-tests.yml index 3d497e2..311bb39 100644 --- a/.github/workflows/pr-joomla-tests.yml +++ b/.github/workflows/pr-joomla-tests.yml @@ -39,9 +39,8 @@ jobs: with: node-version: ${{ matrix.node-version }} registry-url: https://registry.npmjs.org - cache: npm - name: Install NPM dependencies - run: npm clean-install --production --prefer-offline --frozen-lockfile + run: npm clean-install --production - name: Bundle Deps uses: lando/prepare-release-action@v3 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bbbc48..b12ba9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }}) +* Added defaults for initialization. * Updated `@lando/php` to `^1.11.1` ## v1.10.0 - [February 18, 2026](https://github.com/lando/joomla/releases/tag/v1.10.0) diff --git a/examples/joomla-init/README.md b/examples/joomla-init/README.md index a2b25d0..9be7d33 100644 --- a/examples/joomla-init/README.md +++ b/examples/joomla-init/README.md @@ -52,6 +52,10 @@ lando mysql -ujoomla -pjoomla joomla -e quit # Should have console available cd joomla lando composer list + +# Should have defaults in the .lando.yml file +cd joomla +cat .lando.yml | grep "via: apache" ``` ## Destroy tests diff --git a/inits/joomla.js b/inits/joomla.js index b9c449b..8b6c2a5 100644 --- a/inits/joomla.js +++ b/inits/joomla.js @@ -5,4 +5,10 @@ */ module.exports = { name: 'joomla', + defaults: { + php: '7.4', + via: 'apache', + xdebug: false, + database: 'mysql', + }, };