Oliver Davies
f911d52573
feat(drupal): re-add phpstan.neon.dist
2023-10-06 15:26:10 +01:00
Oliver Davies
af24a4b4fa
feat(terraform): add support for terraform repos
...
Add terraform as a project type, make the language optional, and add a
.gitignore and justfile template for Terraform repositories.
2023-09-27 18:57:04 +01:00
Oliver Davies
9176f34444
refactor: remove old code and templates
2023-09-25 00:57:06 +01:00
Oliver Davies
ad86e066cb
fix(git-hooks): re-add
2023-09-25 00:52:09 +01:00
Oliver Davies
ef928cbb3a
chore: add TODOs
2023-09-25 00:26:19 +01:00
Oliver Davies
783d76fcf5
refactor(drupal): reorganise templates
2023-09-25 00:25:11 +01:00
Oliver Davies
578340ca8f
refactor: remove unused method
2023-09-25 00:19:06 +01:00
Oliver Davies
cfbdeb375e
refactor(fractal): reorganise templates
...
Refs: OD-44
2023-09-25 00:17:41 +01:00
Oliver Davies
88b92924fb
feat(astro): add justfile
2023-09-24 23:13:43 +01:00
Oliver Davies
bfee1e8029
feat(drupal): add justfile
2023-09-24 23:13:24 +01:00
Oliver Davies
e1e2a6c88c
refactor(drupal): remove unused code
2023-09-24 23:07:02 +01:00
Oliver Davies
aed6be0e83
style(drupal): fix indentation
2023-09-24 23:06:45 +01:00
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
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
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
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
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
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
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
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
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
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
2afdf43cd2
feat: add and enable pre-push Git hooks
2023-04-24 22:54:34 +01:00
Oliver Davies
8db64458b1
refactor(*): change to a Symfony Console app
2023-04-24 01:05:07 +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
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
Oliver Davies
ac1e0dc2c8
refactor: add a TemplateFile DTO
...
Add a data transfer object that stores the source file name, the file
name to generate and an optional path to create for each file to
generate.
As I'm using a `readonly` class for the DTO, this required updating PHP
to 8.2.
nix develop --command php bin/build-configs run
2023-04-20 22:31:15 +01:00
Oliver Davies
fb63a6c245
feat: opt-in to the new database credentials
...
Allow for changing the default database name, username and password from
`drupal` to `app` by enabling the
`experimental.useNewDatabaseCredentials` feature flag in a project's
`build.yaml` file.
Refs: OD-27
2023-04-16 21:21:40 +01:00
Oliver Davies
8256fc0a81
fix: PHPStan errors
2023-04-16 20:06:52 +01:00
Oliver Davies
e3a93065de
fix: drupal.docroot can be null
2023-04-07 20:55:23 +01:00
Oliver Davies
a97264d99c
feat: validate drupal.docroot
...
Refs: OD-18
2023-04-07 20:39:34 +01:00