feat: move to cron v4 (#1428)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Updated internal dependencies for improved compatibility and
performance.
- Adjusted package configuration to include an additional built
dependency.

- **Bug Fixes**
- Improved the accuracy of task status reporting in the UPNP job
manager.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Eli Bosley
2025-06-20 17:32:12 -04:00
committed by GitHub
parent 1b279bbab3
commit b8035c207a
5 changed files with 5744 additions and 3831 deletions

View File

@@ -72,8 +72,8 @@
"@nestjs/graphql": "^13.0.3",
"@nestjs/passport": "^11.0.0",
"@nestjs/platform-fastify": "^11.0.11",
"@nestjs/schedule": "^5.0.0",
"@nestjs/throttler": "^6.2.1",
"@nestjs/schedule": "^6.0.0",
"@nestjs/throttler": "^6.4.0",
"@reduxjs/toolkit": "^2.3.0",
"@runonflux/nat-upnp": "^1.0.2",
"@types/diff": "^8.0.0",
@@ -94,7 +94,7 @@
"command-exists": "^1.2.9",
"convert": "^5.8.0",
"cookie": "^1.0.2",
"cron": "3.5.0",
"cron": "4.3.1",
"cross-fetch": "^4.0.0",
"diff": "^8.0.0",
"dockerode": "^4.0.5",

View File

@@ -35,7 +35,7 @@ class UPNPJobManager {
}
isRunning(): boolean {
return this.renewalTask?.running ?? false;
return this.renewalTask?.isActive ?? false;
}
}

View File

@@ -35,6 +35,7 @@
"protobufjs",
"simple-git-hooks",
"ssh2",
"unrs-resolver",
"vue-demi"
]
},

View File

@@ -15,7 +15,11 @@
"format": "prettier --write \"src/**/*.{ts,js,json}\"",
"codegen": "MOTHERSHIP_GRAPHQL_LINK='https://staging.mothership.unraid.net/ws' graphql-codegen --config codegen.ts"
},
"keywords": ["unraid", "connect", "unraid plugin"],
"keywords": [
"unraid",
"connect",
"unraid plugin"
],
"author": "Lime Technology, Inc. <unraid.net>",
"license": "GPL-2.0-or-later",
"description": "Unraid Connect plugin for Unraid API",
@@ -31,7 +35,7 @@
"@nestjs/core": "^11.0.11",
"@nestjs/event-emitter": "^3.0.1",
"@nestjs/graphql": "^13.0.3",
"@nestjs/schedule": "^5.0.0",
"@nestjs/schedule": "^6.0.0",
"@runonflux/nat-upnp": "^1.0.2",
"@types/ini": "^4.1.1",
"@types/ip": "^1.1.3",
@@ -75,7 +79,7 @@
"@nestjs/core": "^11.0.11",
"@nestjs/event-emitter": "^3.0.1",
"@nestjs/graphql": "^13.0.3",
"@nestjs/schedule": "^5.0.0",
"@nestjs/schedule": "^6.0.0",
"@runonflux/nat-upnp": "^1.0.2",
"camelcase-keys": "^9.1.3",
"class-transformer": "^0.5.1",

9556
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff