Oliver Davies
e7fc07fd54
refactor(astro): create TemplateFile directly
2023-09-24 23:05:54 +01:00
Oliver Davies
c9faf7bda3
refactor(drupal): reorganise templates
2023-09-24 22:55:07 +01:00
Oliver Davies
b7beba70e8
build: use direnv
2023-09-24 22:55:07 +01:00
Oliver Davies
7db995f109
fix(astro): incorrect template name
2023-09-24 21:50:35 +01:00
Oliver Davies
ff5f2aa875
feat(astro): add .gitignore
2023-09-24 21:49:02 +01:00
Oliver Davies
9c450a850e
revert(astro): move projects into a language
...
This reverts commit f5803212e5
.
2023-09-24 21:24:19 +01:00
Oliver Davies
f5803212e5
refactor(astro): move projects into a language
...
...directory
2023-09-24 18:55:06 +01:00
Oliver Davies
cd4355bbc1
feat: add support for Astro projects
2023-09-24 18:10:24 +01:00
Oliver Davies
022315edd3
refactor: rename node
to typescript
2023-09-24 15:52:49 +01:00
Oliver Davies
5f14dba7ad
chore: remove public/index.php
2023-09-24 15:26:17 +01:00
Oliver Davies
a7d62ae38a
build: add project name and description
2023-09-24 15:25:55 +01:00
Oliver Davies
33563446d1
chore(justfile): remove test-watch
2023-09-24 15:25:22 +01:00
Oliver Davies
8f48eea65f
feat(flakes): add direnv support
...
Generate an `.envrc` file to add support for Nix Flakes for projects
that use them.
I currently have `.direnv` directories ignored globally though this
could be added to a `.gitignore` template when one is added.
Refs: OD-43
2023-08-29 23:24:47 +01:00
Oliver Davies
1a70ba7c17
refactor(git-hooks): remove comment
2023-08-27 00:18:04 +01:00
Oliver Davies
452b779fa4
feat(git-hooks): allow issue IDs on multiple lines
2023-08-27 00:03:35 +01:00
Oliver Davies
b5fd94b369
refactor(git-hooks): move description text
2023-08-26 23:42:17 +01:00
Oliver Davies
050c28901a
fix(git-hooks): make it executable
2023-08-26 23:15:12 +01:00
Oliver Davies
f16ccb81bb
fix: extensions
could be null
...
Warning: Undefined array key "extensions" in /home/opdavies/Code/github.com/OliverDaviesLtd/build-configs/src/Action/CreateFinalConfigurationData.php on line 44
Warning: Trying to access array offset on value of type null in /home/opdavies/Code/github.com/OliverDaviesLtd/build-configs/src/Action/CreateFinalConfigurationData.php on line 44
2023-08-26 23:08:44 +01:00
Oliver Davies
ec494d934f
fix(git-hooks): always create the commit msg hook
2023-08-26 23:05:51 +01:00
Oliver Davies
acd73bcb4f
chore(git): change placeholder to Refs:
...
This is more inline with the conventional commits approach and
encourages it to be replaced manually if not being done with commit
hooks.
2023-08-26 22:27:00 +01:00
Oliver Davies
ac854bf8c7
feat(git): automatically add refs
to commit
...
...messages
Add a `prepare-commit-msg` hook to automaically add `Refs` values, such
as issue IDs or commit SHAs to a Git commit message body by replacing an
`ISSUE_ID` placeholder that can be added to a commit message template.
2023-08-26 22:19:35 +01:00
Oliver Davies
17142d868f
feat(github-actions): run tests first
...
The tests are the most valuable part of the CI pipeline, so these should
be run first.
If a PHPCS or PHPStan error occurs but the tests pass, we know the
functionality works and the error can be addressed.
If a test fails, the CI pipeline will fail sooner.
In the future, the tasks could be split into separate jobs though it
would need to be done in a way that doesn't add a lot of repetition.
Refs: OD-41
2023-08-19 08:40:15 +01:00
Oliver Davies
c68bca3d56
chore: rename drupal-project to drupal
2023-07-22 10:40:02 +01:00
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