feat: enhance project structure with server and workflow management

- Introduced a new server package with Fastify for handling API requests and workflows.
- Implemented user authentication and authorization with JWT and cookie management.
- Added endpoints for managing workflows, runs, and user accounts.
- Established a dashboard for monitoring workflow status and statistics.
- Included a script sandbox for executing user-defined scripts securely.
- Updated README with setup instructions and API documentation.
- Configured database migrations for user management.
- Enhanced logging capabilities for better traceability.
This commit is contained in:
2026-08-14 14:25:37 +07:00
parent 5574d6f723
commit 023cf83cfa
48 changed files with 6127 additions and 359 deletions
+11 -19
View File
@@ -1,30 +1,22 @@
{
"name": "scrunner",
"version": "1.0.0",
"description": "",
"main": "index.js",
"private": true,
"description": "Script/workflow runner with admin UI",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"dev": "pnpm --filter @scrunner/server --filter @scrunner/web --parallel dev",
"dev:server": "pnpm --filter @scrunner/server dev",
"dev:web": "pnpm --filter @scrunner/web dev",
"build": "pnpm --filter @scrunner/web build",
"start": "pnpm --filter @scrunner/server start",
"migrate": "pnpm --filter @scrunner/server migrate"
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.25.0",
"pnpm": {
"onlyBuiltDependencies": [
"better-sqlite3"
"better-sqlite3",
"esbuild"
]
},
"dependencies": {
"axios": "^1.19.0",
"better-sqlite3": "^13.0.3",
"fastify": "^5.12.0",
"jsonata": "^2.2.2",
"knex": "^3.3.0",
"node-cron": "^4.6.0",
"pino": "^10.3.1",
"pino-roll": "^4.0.0",
"yaml": "^2.9.0"
}
}
}