feat(package.json): add unified development command to run 11ty + php concurrently off port 8000

fix(dynamic.php.liquid): trim dynamic metadata
This commit is contained in:
Cory Dransfeldt 2025-05-07 12:54:18 -07:00
parent afa7144142
commit 98b2b46e3c
No known key found for this signature in database
5 changed files with 353 additions and 36 deletions

View file

@ -19,9 +19,11 @@ To debug and develop php components, run `npm run php`. This will start the PHP
- `npm run start`: starts 11ty.
- `npm run start:quick`: starts 11ty a bit quicker (provided it's already been built).
- `npm run build`: builds static site output.
- `npm run debug`: runs 11ty with additional debug output.
- `npm run watch`: watch and update when files change without running the web server.
- `npm run build`: builds static site output.
- `npm run php`: starts a PHP server for local development.
- `npm run dev`: primary dev command that runs `watch` and `php` concurrently.
- `npm run update:deps`: checks for dependency updates and updates 11ty.
- `npm run setup`: populates `.env` from 1Password and installs dependencies using `npm` and `composer`.
- `npm run clean`: removes the `dist` and `.cache` folders.