@maestro-js/queue 1.0.0-alpha.1 → 1.0.0-alpha.10

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 (4) hide show
  1. package/README.md +337 -179
  2. package/dist/index.d.ts +179 -215
  3. package/dist/index.js +422 -475
  4. package/package.json +10 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maestro-js/queue",
3
- "description": "Database-backed job queue for deferring work beyond the current request with scheduled execution, concurrency control, and distributed tracing. Use when working with @maestro-js/queue, including dispatching jobs, processing queues, configuring the db driver, writing queue consumers, handling retries/stuck jobs, integrating with mail or recurring-jobs, and understanding the queue database schema.",
3
+ "description": "Database-backed job queue with middleware, configurable retries, and backoff strategies. Use when dispatching background jobs, processing queues with concurrency control, scheduling delayed work, handling retries and permanent failures, or integrating with mail/recurring-jobs. Provides db (MySQL) and local (in-memory) drivers.",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -10,13 +10,17 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "iso-fns2": "npm:iso-fns@2.0.0-alpha.26",
13
- "@maestro-js/log": "1.0.0-alpha.1",
14
- "@maestro-js/service-registry": "1.0.0-alpha.1"
13
+ "@maestro-js/service-registry": "1.0.0-alpha.10"
14
+ },
15
+ "peerDependencies": {
16
+ "@maestro-js/log": "1.0.0-alpha.10"
15
17
  },
16
18
  "devDependencies": {
17
- "@types/node": "^22.19.11"
19
+ "@types/node": "^22.19.11",
20
+ "@maestro-js/db": "1.0.0-alpha.10",
21
+ "@maestro-js/log": "1.0.0-alpha.10"
18
22
  },
19
- "version": "1.0.0-alpha.1",
23
+ "version": "1.0.0-alpha.10",
20
24
  "publishConfig": {
21
25
  "access": "restricted"
22
26
  },
@@ -31,7 +35,7 @@
31
35
  "scripts": {
32
36
  "build": "tsup --config ../../tsup.config.ts",
33
37
  "typecheck": "tsc --noEmit",
34
- "test": "echo 'No tests yet'",
38
+ "test": "beartest ./tests/**/*",
35
39
  "format": "prettier --write src/",
36
40
  "lint": "prettier --check src/"
37
41
  }