Commit graph

208 commits

Author SHA1 Message Date
Oliver Davies b3f61a43da feat(config): add vuejs as a type 2023-07-06 22:46:41 +01:00
Oliver Davies 22e5e7aed5 ci: create the traefik network 2023-06-27 21:35:58 +01:00
Oliver Davies ca2b0731e5 fix(docker-compose): set network as external 2023-06-27 21:20:59 +01:00
Oliver Davies 99ffb87446 feat(flake): generate nix.flake instead of Docker
...files if a `flake` key exists in a `build.yaml` file.

Refs: OD-37
2023-06-27 17:29:59 +01:00
Oliver Davies 04160ad7de revert: update managed text
Change the managed text to use the .uk domain again, instead of the .dev
domain.

This reverts commit 3bd588d2f1.
2023-06-23 20:43:03 +01:00
Oliver Davies 5e8b836aa5 refactor(flake): use flake-parts 2023-06-23 20:37:01 +01:00
Oliver Davies db76011b91 fix(docker-compose): remove empty anchors 2023-06-11 01:07:30 +01:00
Oliver Davies 7af6ec5d8a fix: use Traefik with PHP Apache images 2023-06-05 23:02:01 +01:00
Oliver Davies 1c7f1f2e2b feat(php): make ini values configurable
Refs: OD-28
2023-06-05 22:01:10 +01:00
Oliver Davies b121f2fb77 fix: jpg support for image styles 2023-06-05 21:51:31 +01:00
Oliver Davies 590cb8ffc0 feat(justfile): add test-watch recipe
Automatically re-run tests when files change using nodemon.
2023-05-11 20:50:44 +01:00
Oliver Davies 3841a223f4 chore: update managed text 2023-05-09 21:30:52 +01:00
Oliver Davies 3bd588d2f1 chore: update managed text 2023-05-09 21:27:49 +01:00
Oliver Davies 76140850f3 feat(dockerfile): allow for specifying custom PHP
...extensions
2023-05-09 21:01:56 +01:00
Oliver Davies 701f382ccd chore: remove bcmath
This isn't used on the majority of projects so I'm removing it as a
default extension.
2023-05-09 20:47:27 +01:00
Oliver Davies 34e85ccdb4 fix(justfile): running tests in Drupal 2023-05-09 20:24:21 +01:00
Oliver Davies 6531efe56e fix: indentation error 2023-05-09 20:09:12 +01:00
Oliver Davies 0cd35db6db fix: only generate a web service if it's
...included in the `services` list in `build.yaml`.
2023-05-09 19:40:43 +01:00
Oliver Davies 1e9fcc8a75 refactor!: change services into a list of names
Previously:

```yaml
docker-compose:
  services:
    database: ~
    php:
      build:
        target: build
```

Now:

```yaml
docker-compose:
  services:
    - database
    - php
```
2023-05-09 19:13:32 +01:00
Oliver Davies ce60f21aa5 fix: missing PHP extensions to install 2023-05-09 18:21:23 +01:00
Oliver Davies 8e888529e0 refactor: simplify packages and PHP extensions
Refs: OD-34
2023-05-09 00:19:09 +01:00
Oliver Davies 64457770b9 fix: use outputDir property 2023-05-08 22:54:17 +01:00
Oliver Davies 356b97cbde refactor(docker-compose): simplify the build
...stage

Hard-code more of these values as they're the same for all projects.
2023-05-02 22:55:30 +01:00
Oliver Davies 33103417de refactor: use the Config DTO to output the project
...name
2023-04-25 14:56:45 +01:00
Oliver Davies 3e1ced3aff refactor: rename variable 2023-04-25 00:43:50 +01:00
Oliver Davies a294d94449 refactor: rename class 2023-04-25 00:41:45 +01:00
Oliver Davies d19fcbdede refactor: use Illuminate Pipelines 2023-04-25 00:32:26 +01:00
Oliver Davies 830c37c681 fix: add missing managed text 2023-04-24 23:00:25 +01:00
Oliver Davies 2afdf43cd2 feat: add and enable pre-push Git hooks 2023-04-24 22:54:34 +01:00
Oliver Davies c419332bad fix: incorrect directory name 2023-04-24 20:30:34 +01:00
Oliver Davies 2a9d4ca7b4 feat(justfile): add start and stop recipes 2023-04-24 20:26:34 +01:00
Oliver Davies fc87a82688 fix: only add if CI config is generated 2023-04-24 19:41:23 +01:00
Oliver Davies 8db64458b1 refactor(*): change to a Symfony Console app 2023-04-24 01:05:07 +01:00
Oliver Davies 4af661bad4 fix(phpcs): Drupal standard missing if standards
...are empty
2023-04-23 20:47:08 +01:00
Oliver Davies e715496e76 feat(phpstan): include baseline file 2023-04-23 20:15:08 +01:00
Oliver Davies a947001772 fix(phpcs): duplicate Drupal rule 2023-04-23 20:14:04 +01:00
Oliver Davies c6fe47aff2 feat(phpcs): run in CI 2023-04-23 19:19:04 +01:00
Oliver Davies 315890165c fix(phpstan): increase memory limit 2023-04-23 19:18:49 +01:00
Oliver Davies e67a7180a7 feat(phpcs): add rule overrides 2023-04-23 17:37:27 +01:00
Oliver Davies d1be2d631b fix(phpcs): incorrect rule formatting 2023-04-23 17:20:21 +01:00
Oliver Davies 3b0fc2c8a0 fix(phpcs): incorrect rule formatting 2023-04-23 17:16:32 +01:00
Oliver Davies 642b479934 fix(phpstan): correct key 2023-04-21 23:22:17 +01:00
Oliver Davies d9cdc2bac6 fix(phpstan): ignore test files by default 2023-04-21 23:14:56 +01:00
Oliver Davies 82889f1fa9 chore: update managed text 2023-04-21 22:36:31 +01:00
Oliver Davies a6e7e7bf57 refactor: split commands into separate classes
This reverts commit d701f0e2a3.
2023-04-21 22:34:01 +01:00
Oliver Davies d701f0e2a3 refactor: split commands into separate classes
Use mnapoli/silly-php-di which allows for using a dependency injection
container and for separating commands into separate classes and files.o

Refs: OD-20
2023-04-21 22:24:19 +01:00
Oliver Davies 0165029423 feat: run PHPStan in CI if enabled 2023-04-21 21:30:57 +01:00
Oliver Davies 5ee6810c95 feat: only create PHPStan file if it's set
Only create a `phpstan.neon.dist` file if the `php.phpstan` object is
set within the project's `build.yaml` file.
2023-04-21 12:39:05 +01:00
Oliver Davies 27ce1dc100 chore: rename commands
- Renamed `generate-build-file` to `init` as it's initialising a new
  project.
- Renamed `run` to `generate` as it's generating the configuration
  files.
2023-04-21 11:51:28 +01:00
Oliver Davies 02c8b41194 feat: generate GitHub Actions configuration
Generate a GitHub Actions workflow file if a project is opted-in for
this feature.

Refs: OD-29
2023-04-21 01:39:43 +01:00