Update timezone settings from Asia/Jakarta to Asia/Dili across configuration files and codebase. Enhance logging for crawling events and improve error handling in the CrawlingService. Add a new workspace configuration file for easier project management.
This commit is contained in:
89
package.json
89
package.json
@ -1,45 +1,46 @@
|
||||
{
|
||||
"name": "svc-hcm-crawler",
|
||||
"version": "1.0.0",
|
||||
"description": "Hikvision Device Crawling Service for HCM Bridge",
|
||||
"main": "dist/src/index.js",
|
||||
"scripts": {
|
||||
"start": "TZ='Asia/Jakarta' node dist/src/index.js",
|
||||
"dev": "nodemon",
|
||||
"build": "tsc",
|
||||
"pm2:start": "pm2 start ecosystem.config.js",
|
||||
"pm2:stop": "pm2 stop svc-hcm-crawler",
|
||||
"pm2:restart": "pm2 restart svc-hcm-crawler",
|
||||
"pm2:delete": "pm2 delete svc-hcm-crawler",
|
||||
"pm2:logs": "pm2 logs svc-hcm-crawler"
|
||||
},
|
||||
"keywords": [
|
||||
"hikvision",
|
||||
"crawler",
|
||||
"hcm"
|
||||
],
|
||||
"author": "STS",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@types/xml2js": "^0.4.14",
|
||||
"axios": "^1.7.8",
|
||||
"config": "^3.3.12",
|
||||
"entity": "file:../entity",
|
||||
"moment-timezone": "~0.5.46",
|
||||
"mysql2": "^3.12.0",
|
||||
"node-cron": "^4.1.0",
|
||||
"reflect-metadata": "^0.2.2",
|
||||
"tslog": "^4.9.3",
|
||||
"typeorm": "^0.3.28",
|
||||
"typescript": "^5.9.3",
|
||||
"uuid": "^11.0.3",
|
||||
"xml2js": "^0.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.0.0",
|
||||
"@types/node-cron": "^3.0.11",
|
||||
"nodemon": "^3.0.0",
|
||||
"ts-node": "^10.9.0"
|
||||
}
|
||||
}
|
||||
|
||||
"name": "svc-hcm-crawler",
|
||||
"version": "1.0.0",
|
||||
"description": "Hikvision Device Crawling Service for HCM Bridge",
|
||||
"main": "dist/src/index.js",
|
||||
"scripts": {
|
||||
"start": "TZ='Asia/Dili' node dist/src/index.js",
|
||||
"dev": "nodemon",
|
||||
"build": "tsc",
|
||||
"pm2:start": "pm2 start ecosystem.config.js",
|
||||
"pm2:start:prod": "pm2 start ecosystem.config.js --env production",
|
||||
"pm2:stop": "pm2 stop svc-hcm-crawler",
|
||||
"pm2:restart": "pm2 restart svc-hcm-crawler",
|
||||
"pm2:restart:prod": "pm2 restart ecosystem.config.js --env production",
|
||||
"pm2:delete": "pm2 delete svc-hcm-crawler",
|
||||
"pm2:logs": "pm2 logs svc-hcm-crawler"
|
||||
},
|
||||
"keywords": [
|
||||
"hikvision",
|
||||
"crawler",
|
||||
"hcm"
|
||||
],
|
||||
"author": "STS",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@types/xml2js": "^0.4.14",
|
||||
"axios": "^1.7.8",
|
||||
"config": "^3.3.12",
|
||||
"entity": "file:../entity",
|
||||
"moment-timezone": "~0.5.46",
|
||||
"mysql2": "^3.12.0",
|
||||
"node-cron": "^4.1.0",
|
||||
"reflect-metadata": "^0.2.2",
|
||||
"tslog": "^4.9.3",
|
||||
"typeorm": "^0.3.28",
|
||||
"typescript": "^5.9.3",
|
||||
"uuid": "^11.0.3",
|
||||
"xml2js": "^0.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.0.0",
|
||||
"@types/node-cron": "^3.0.11",
|
||||
"nodemon": "^3.0.0",
|
||||
"ts-node": "^10.9.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user