Repository navigation
What's Changed
With the version 3.0.0, now the artifact generation have important new features:
- The artifact is generated from a clean folder.
- It is possible to run commands before the command generate adding
commandsinto the configuration.
- Allow excluding files
- Allow the fully clean generation of artifact
- Issue #24: Minor fixes by @omarlopesino in #26
Full Changelog: 2.1.5...3.0.0
Breaking changes
- Now it is required to add the branch parameter to all commands.
- Before, the composer libraries and npm packages were copied from the local repository. Now it is done independently and it must be configured. Check upgrade instructions for more details.
Upgrade from 2.x to 3.x
To be able to bring composer libraries and compile the custom theme, configure commands in .drupal-artifact-builder.yml.
Example:
```yaml
commands:
- composer install --no-dev
- cd web/themes/custom/foo/ && npm install && npm run production
```