refactor(services): 重构服务文件结构,将服务按功能分类到不同目录
- 将服务文件按功能分类到core、ai、analytics、security等目录 - 修复logger导入路径问题,统一使用相对路径 - 更新相关文件的导入路径引用 - 添加新的批量操作组件导出文件 - 修复dashboard页面中的类型错误 - 添加dotenv依赖到package.json
This commit is contained in:
34
node-agent/package-build.json
Normal file
34
node-agent/package-build.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "operation-agent-client",
|
||||
"version": "1.0.0",
|
||||
"description": "Operation-Agent轻量级客户端 - 单个exe文件",
|
||||
"main": "dist/lightweight-client.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"package:win": "pkg dist/lightweight-client.js --target node18-win-x64 --output bin/operation-agent-win.exe",
|
||||
"package:linux": "pkg dist/lightweight-client.js --target node18-linux-x64 --output bin/operation-agent-linux",
|
||||
"package:mac": "pkg dist/lightweight-client.js --target node18-macos-x64 --output bin/operation-agent-mac",
|
||||
"package:all": "npm run package:win && npm run package:linux && npm run package:mac",
|
||||
"build:all": "npm run build && npm run package:all"
|
||||
},
|
||||
"bin": "dist/lightweight-client.js",
|
||||
"pkg": {
|
||||
"assets": [
|
||||
"node_modules/playwright-core/**/*",
|
||||
"node_modules/playwright/**/*"
|
||||
],
|
||||
"scripts": [
|
||||
"dist/lightweight-client.js"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"playwright": "^1.58.2",
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^25.3.3",
|
||||
"@types/ws": "^8.5.13",
|
||||
"pkg": "^5.8.1",
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user