@veloxts/scheduler 0.6.57 → 0.6.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -30
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,36 +1,8 @@
1
1
  # @veloxts/scheduler
2
2
 
3
- > **Early Preview** - APIs may change before v1.0.
3
+ > **Early Preview (v0.6.x)** - APIs are stabilizing but may still change. Use with caution in production.
4
4
 
5
- Cron-based task scheduling with a fluent API and overlap prevention.
6
-
7
- ## Installation
8
-
9
- ```bash
10
- npm install @veloxts/scheduler
11
- ```
12
-
13
- ## Quick Start
14
-
15
- ```typescript
16
- import { createScheduler, task } from '@veloxts/scheduler';
17
-
18
- const scheduler = createScheduler([
19
- task('cleanup', () => db.token.deleteExpired())
20
- .daily()
21
- .at('02:00')
22
- .build(),
23
-
24
- task('digest', () => sendDailyDigest())
25
- .weekdays()
26
- .at('09:00')
27
- .build(),
28
- ]);
29
-
30
- scheduler.start();
31
- ```
32
-
33
- See [GUIDE.md](./GUIDE.md) for detailed documentation.
5
+ Cron-based task scheduling for VeloxTS Framework - provides a fluent API for defining recurring tasks with overlap prevention and timezone support. Learn more at [@veloxts/velox](https://www.npmjs.com/package/@veloxts/velox).
34
6
 
35
7
  ## License
36
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloxts/scheduler",
3
- "version": "0.6.57",
3
+ "version": "0.6.58",
4
4
  "description": "Task scheduling for VeloxTS framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "cron": "3.5.0",
22
22
  "fastify-plugin": "5.1.0",
23
- "@veloxts/core": "0.6.57"
23
+ "@veloxts/core": "0.6.58"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "fastify": "^5.0.0"