Docker images / prepare-release (push) Successful in 10s
Docker images / backend-image (push) Successful in 1m57s
Docker images / frontend-image (push) Successful in 4m8s
Docker images / notify-webhook (push) Skipped
Docker images / updater-image (push) Successful in 44s
Docker images / publish-release (push) Successful in 11s
Added user management functionality, including the creation of app_users and user_interface_bindings tables in the database. Implemented API routes for user data retrieval and permissions handling. Enhanced the traffic monitoring system to include user traffic statistics and interface bindings. Updated relevant components and services to support the new user features, improving overall application functionality and user experience.
43 lines
1.5 KiB
JSON
43 lines
1.5 KiB
JSON
{
|
|
"name": "mikrotik-manager-backend",
|
|
"version": "1.0.0",
|
|
"description": "MikroTik Manager backend — Fastify + Drizzle + SQLite",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "npm run build -w @mmapp/contracts && tsc",
|
|
"test:alert-engine": "tsx src/services/alert-engine/groups.test.ts && tsx src/services/alert-engine/evaluate-rule.test.ts && tsx src/services/alert-engine/confirm-stability.test.ts",
|
|
"start": "node dist/index.js",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:studio": "drizzle-kit studio",
|
|
"test:auth": "tsx src/lib/permissions.test.ts && tsx src/plugins/auth.smoke.test.ts",
|
|
"test:wireguard": "npx tsx src/services/wireguard-config.test.ts",
|
|
"test:traffic-rate": "tsx src/services/traffic-rate.test.ts",
|
|
"test:users": "tsx src/modules/users/iface-type.test.ts && tsx src/modules/users/bindings.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^11.2.0",
|
|
"@fastify/jwt": "^10.2.2",
|
|
"@fastify/type-provider-zod": "^1.0.0",
|
|
"@mmapp/contracts": "1.0.0",
|
|
"acme-client": "^5.4.0",
|
|
"better-sqlite3": "^12.9.0",
|
|
"dotenv": "^16.4.7",
|
|
"drizzle-orm": "^0.45.2",
|
|
"fastify": "^5.8.5",
|
|
"fastify-plugin": "^5.1.0",
|
|
"undici": "^8.1.0",
|
|
"zod": "^4.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/node": "^22.15.3",
|
|
"drizzle-kit": "^0.31.10",
|
|
"jose": "^6.2.11",
|
|
"pino-pretty": "^13.1.3",
|
|
"tsx": "^4.19.3",
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|