24deb8e69b
`npm run deploy` now runs the gate (typecheck, unit suite, render check) before anything is copied, then rsyncs the source, rebuilds and restarts the service on the target from LUMINARY_DEPLOY_* variables, and fails if the server is not serving the same bundle hashes as the reviewed local build. npm runs a script named predeploy before deploy on its own, so the gate runs once; invoked as `node scripts/deploy.mjs` the script gates itself. Both scripts exit through process.exitCode, because process.exit() truncated the failure messages when they were piped. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
38 lines
989 B
JSON
38 lines
989 B
JSON
{
|
|
"name": "luminary",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"server": "node server/index.mjs",
|
|
"server:dev": "node --watch server/index.mjs",
|
|
"build": "tsc --noEmit && vite build",
|
|
"start": "node server/index.mjs",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"check:render": "node scripts/render-check.mjs",
|
|
"predeploy": "node scripts/predeploy.mjs",
|
|
"deploy": "node scripts/deploy.mjs",
|
|
"build:lens-db": "node scripts/build-lens-db.mjs"
|
|
},
|
|
"dependencies": {
|
|
"exifr": "^7.1.3",
|
|
"libraw-wasm": "^1.6.0",
|
|
"nodemailer": "^10.6.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"sharp": "^0.35.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"typescript": "^5.6.3",
|
|
"vite": "^5.4.11",
|
|
"vitest": "^2.1.9"
|
|
}
|
|
}
|