chore(setup.sh): refactor setup script to optionally generate server deploy script

This commit is contained in:
Cory Dransfeldt 2025-05-23 18:13:56 -07:00
parent 13b5b9c5cb
commit 80b0499550
No known key found for this signature in database
3 changed files with 121 additions and 68 deletions

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "6.0.14",
"version": "6.1.14",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {
@ -16,6 +16,7 @@
"php": "export $(grep -v '^#' .env | xargs) && php -d error_reporting=E_ALL^E_DEPRECATED -S localhost:8080 -t dist",
"update:deps": "composer update && npm upgrade && ncu",
"setup": "sh ./scripts/setup.sh",
"setup:deploy": "sh ./scripts/setup.sh --deploy",
"clean": "rimraf dist .cache",
"clean:cache": "rimraf .cache",
"clean:dist": "rimraf dist"