9c16b462f4
Reverts commits3eff38fandc379a23and restores the previous Kaniko-only build pipeline (runtime detection + per-runtime Dockerfile generation, disk-based source upload). Removed: Nixpacks Dockerfile generation, MinIO source storage (common/storage), Bull build queue + Redis build state (common/redis, deployment.processor), Trivy image scan (scan.service, deployment.vulnerabilitySummary), and daily registry garbage collection (registry-gc). Nothing outside the build/deploy path depended on these. Backend tsc + 105/106 tests green (the pre-existing helm.service chartPath failure is unrelated); frontend tsc green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
83 lines
2.6 KiB
JSON
83 lines
2.6 KiB
JSON
{
|
|
"name": "cloudhost-backend",
|
|
"version": "1.0.0",
|
|
"description": "CloudHost PaaS Backend API",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "nest build",
|
|
"start": "nest start",
|
|
"start:dev": "nest start --watch",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "node dist/main",
|
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:e2e": "jest --config ./test/jest-e2e.json",
|
|
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
|
|
"migration:generate": "npm run typeorm -- migration:generate -d src/config/typeorm.config.ts",
|
|
"migration:run": "npm run typeorm -- migration:run -d src/config/typeorm.config.ts",
|
|
"migration:revert": "npm run typeorm -- migration:revert -d src/config/typeorm.config.ts",
|
|
"seed": "ts-node -r tsconfig-paths/register src/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@kubernetes/client-node": "^1.4.0",
|
|
"@nestjs/bull": "^11.0.4",
|
|
"@nestjs/common": "^11.1.24",
|
|
"@nestjs/config": "^4.0.4",
|
|
"@nestjs/core": "^11.1.26",
|
|
"@nestjs/jwt": "^11.0.2",
|
|
"@nestjs/passport": "^11.0.5",
|
|
"@nestjs/platform-express": "^11.1.26",
|
|
"@nestjs/swagger": "^11.4.4",
|
|
"@nestjs/typeorm": "^11.0.1",
|
|
"bcrypt": "^6.0.0",
|
|
"bull": "^4.12.0",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.15.1",
|
|
"handlebars": "^4.7.8",
|
|
"helmet": "^8.2.0",
|
|
"js-yaml": "^4.2.0",
|
|
"multer": "^2.1.1",
|
|
"passport": "^0.7.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"pg": "^8.21.0",
|
|
"reflect-metadata": "^0.2.1",
|
|
"rxjs": "^7.8.2",
|
|
"typeorm": "^1.0.0",
|
|
"uuid": "^14.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^11.0.23",
|
|
"@nestjs/schematics": "^11.1.0",
|
|
"@nestjs/testing": "^11.1.26",
|
|
"@types/bcrypt": "^6.0.0",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/multer": "^2.1.0",
|
|
"@types/node": "^24.0.0",
|
|
"@types/passport-jwt": "^4.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
"@typescript-eslint/parser": "^8.61.0",
|
|
"eslint": "^9.0.0",
|
|
"jest": "^30.4.2",
|
|
"prettier": "^3.8.4",
|
|
"ts-jest": "^29.4.11",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^6.0.0"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": ["js", "json", "ts"],
|
|
"rootDir": "src",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": ["**/*.(t|j)s"],
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node"
|
|
}
|
|
}
|