A setup wizard run on one server added files to backend/src that the backend build picked up, so the deploy failed part-way and rolled back. deploy.sh now lists files git reports as changed or added (ignored files and the PM2 config don't count) and stops before backing up or checking out. --check runs only that; ALLOW_LOCAL_CHANGES=1 deploys anyway; the script also runs from a copy outside the install (the folder you're in). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1.3 KiB
JSON
35 lines
1.3 KiB
JSON
{
|
|
"name": "hope-events",
|
|
"version": "1.52.2",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev:backend": "cd backend && npm run dev",
|
|
"dev:frontend": "cd frontend && npm run dev",
|
|
"start:backend": "cd backend && npm run start",
|
|
"start:frontend": "cd frontend && npm run start",
|
|
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
|
|
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
|
|
"build": "cd frontend && npm run build && cd .. && cd backend && npm run prisma:generate",
|
|
"test:e2e": "playwright test",
|
|
"test": "npm --prefix backend test",
|
|
"demo:list": "npm --prefix backend run set-demo -- --list",
|
|
"demo:small": "npm --prefix backend run set-demo -- --profile=small",
|
|
"demo:events": "npm --prefix backend run set-demo -- --profile=events",
|
|
"demo:ministry": "npm --prefix backend run set-demo -- --profile=ministry",
|
|
"demo:multicampus": "npm --prefix backend run set-demo -- --profile=multicampus",
|
|
"api:types": "npm --prefix backend run openapi && npm --prefix frontend run api:types"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"devDependencies": {
|
|
"@axe-core/playwright": "^4.14.0",
|
|
"@playwright/test": "^1.64.0",
|
|
"concurrently": "^9.2.1"
|
|
},
|
|
"overrides": {
|
|
"shell-quote": "^1.12.0"
|
|
}
|
|
}
|