Test and deploy / test-and-deploy (pull_request) Successful in 30s
One job: npm ci, tsc --noEmit, npm test on Node 26; on pushes to master it builds, prunes dev dependencies and rsyncs dist/, src/ (Swagger reads it) and node_modules/ over SSH as plesk-plutodev, then restarts Passenger and smoke-tests /docs/. The server's .env, logs/, tmp/ and public/ are never touched - .env is no longer generated by CI but kept on the server. Plesk moves from Node 12.22.12 to 26 with this; the bundle built on 26 also starts on 12, so the order of deploy and Plesk switch doesn't matter. SonarQube leftovers are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"name": "plutodev_express_api",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "tsc && node ./dist/app.js",
|
|
"build": "tsc",
|
|
"debug": "export DEBUG=* && npm run start",
|
|
"test": "jest"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"app-root-path": "^3.0.0",
|
|
"axios": "^0.24.0",
|
|
"bcrypt": "^5.0.1",
|
|
"cors": "^2.8.5",
|
|
"debug": "^4.3.1",
|
|
"dotenv": "^8.2.0",
|
|
"express": "^4.18.2",
|
|
"guid-typescript": "^1.0.9",
|
|
"mariadb": "^3.0.2",
|
|
"random-words": "^1.1.1",
|
|
"swagger-jsdoc": "^6.1.0",
|
|
"swagger-ui-express": "^4.3.0",
|
|
"winston": "^3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/app-root-path": "^1.2.4",
|
|
"@types/bcrypt": "^3.0.1",
|
|
"@types/debug": "^4.1.5",
|
|
"@types/express": "^4.17.15",
|
|
"@types/jest": "^28.1.3",
|
|
"@types/node": "^18.11.17",
|
|
"@types/random-words": "^1.1.2",
|
|
"@types/swagger-jsdoc": "^6.0.1",
|
|
"@types/swagger-ui-express": "^4.1.3",
|
|
"@types/winston": "^2.4.4",
|
|
"is-number": "^7.0.0",
|
|
"jest": "^28.1.1",
|
|
"source-map-support": "^0.5.19",
|
|
"ts-jest": "^28.0.5",
|
|
"tslint": "^6.1.3",
|
|
"typescript": "^4.9.4"
|
|
}
|
|
}
|