Oliver Davies
932c8f4bc7
Add install
task for Drupal projects
...
Add an `install` task to Drupal `run` files to install Drupal with
Drush.
2023-12-16 17:04:29 +00:00
Oliver Davies
58e454b2c2
Fix TTY
in run
files for Drupal projects
2023-12-15 13:28:55 +00:00
Oliver Davies
87c2f2e496
Allow for running PHPStan on test files and not
...
...ignoring them within the PHPStan configuration file
2023-11-28 13:31:23 +00:00
Oliver Davies
fecc65b655
fix(git-hooks): Set TTY
if using Docker
2023-11-23 08:27:05 +00:00
Oliver Davies
baaf3bf16b
refactor: add isDocker
and isFlake
to the
...
...Configuration DTO
2023-11-23 08:24:34 +00:00
Oliver Davies
ebc4d899b2
refactor(git-hooks): use long set
names
...
Use the long name versions for `set` to be consistent with `run` files.
2023-11-23 07:04:58 +00:00
Oliver Davies
afb630c93e
fix(git-hooks): use run test:commit
...
Use the `run` script instead of `just` as its no longer being generated.
2023-11-23 06:38:35 +00:00
Oliver Davies
b1571f3174
refactor(run): change set
statements
...
Use the long form name for each option instead of short hand names or a
combination of both - e.g. `set -eu` and `set -o pipefail`.
2023-11-22 21:53:50 +00:00
Oliver Davies
61d2ca0d76
fix: warning if run.local isn't preset
2023-11-18 08:40:43 +00:00
Oliver Davies
1a4eba7349
chore: switch to nixos-23.05
2023-10-24 17:26:30 +01:00
Oliver Davies
fbfd751621
fix(run): local tasks override non-local tasks
2023-10-19 23:07:38 +02:00
Oliver Davies
08e81c5e16
feat(run): include any local tasks
2023-10-19 22:51:30 +02:00
Oliver Davies
7c95164fee
feat(flake): ignore .direnv by default
2023-10-19 22:48:40 +02:00
Oliver Davies
02774b820b
feat(gitignore): add additional ignored paths
2023-10-18 20:54:36 +02:00
Oliver Davies
696aa5d617
feat(drupal): allow for disabling quality checks
...
For Commerce Kickstart, there are no custom modules so these checks will
fail in the CI pipeline.
2023-10-18 20:38:53 +02:00
Oliver Davies
f58846ef20
feat(fractal): add GitHub Actions template
2023-10-08 17:38:52 +01:00
Oliver Davies
db55ceee6c
fix(dockerfile): clean up after apt install
2023-10-08 17:38:27 +01:00
Oliver Davies
aa3eeeb842
feat(gitignore): add comment
2023-10-08 17:38:09 +01:00
Oliver Davies
edbfb3c045
feat(drupal): ignore Docker-related files
2023-10-08 17:24:49 +01:00
Oliver Davies
52bc0f14a4
fix(fractal): add missing steps
2023-10-08 17:24:31 +01:00
Oliver Davies
71175563cd
fix(fractal): template error
2023-10-08 10:02:12 +01:00
Oliver Davies
764db99ef8
fix(fractal): start Docker Compose in CI
2023-10-08 09:59:03 +01:00
Oliver Davies
4b67b0edb1
fix(fractal): run inside the container
2023-10-08 09:52:50 +01:00
Oliver Davies
f5a8c691f0
chore(run): replace justfiles with run files
2023-10-07 22:23:40 +01:00
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
783d76fcf5
refactor(drupal): reorganise templates
2023-09-25 00:25:11 +01:00
Oliver Davies
cfbdeb375e
refactor(fractal): reorganise templates
...
Refs: OD-44
2023-09-25 00:17:41 +01:00
Oliver Davies
b6b6e86558
fix(drupal): syntax error
2023-09-24 23:23:33 +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
c9faf7bda3
refactor(drupal): reorganise templates
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
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
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