@flightdev/queue 0.2.0 → 0.2.1

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 +8 -8
  2. package/package.json +7 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @flight-framework/queue
1
+ # @flightdev/queue
2
2
 
3
3
  Background job processing for Flight Framework. Run tasks asynchronously with retries, scheduling, and multiple adapters.
4
4
 
@@ -35,7 +35,7 @@ Background job processing for Flight Framework. Run tasks asynchronously with re
35
35
  ## Installation
36
36
 
37
37
  ```bash
38
- npm install @flight-framework/queue
38
+ npm install @flightdev/queue
39
39
 
40
40
  # For Redis adapter
41
41
  npm install ioredis
@@ -46,8 +46,8 @@ npm install ioredis
46
46
  ## Quick Start
47
47
 
48
48
  ```typescript
49
- import { createQueue } from '@flight-framework/queue';
50
- import { redis } from '@flight-framework/queue/redis';
49
+ import { createQueue } from '@flightdev/queue';
50
+ import { redis } from '@flightdev/queue/redis';
51
51
 
52
52
  const queue = createQueue(redis({
53
53
  url: process.env.REDIS_URL,
@@ -79,7 +79,7 @@ queue.process();
79
79
  Persistent, distributed queue using Redis.
80
80
 
81
81
  ```typescript
82
- import { redis } from '@flight-framework/queue/redis';
82
+ import { redis } from '@flightdev/queue/redis';
83
83
 
84
84
  const adapter = redis({
85
85
  url: process.env.REDIS_URL,
@@ -93,7 +93,7 @@ const adapter = redis({
93
93
  In-memory queue for development and testing.
94
94
 
95
95
  ```typescript
96
- import { memory } from '@flight-framework/queue/memory';
96
+ import { memory } from '@flightdev/queue/memory';
97
97
 
98
98
  const adapter = memory();
99
99
  ```
@@ -103,7 +103,7 @@ const adapter = memory();
103
103
  Browser-based queue for offline-capable apps.
104
104
 
105
105
  ```typescript
106
- import { indexeddb } from '@flight-framework/queue-indexeddb';
106
+ import { indexeddb } from '@flightdev/queue-indexeddb';
107
107
 
108
108
  const adapter = indexeddb({
109
109
  dbName: 'myapp-queue',
@@ -252,7 +252,7 @@ queue.on('progress', (jobId, progress) => {
252
252
  ### Recurring Jobs
253
253
 
254
254
  ```typescript
255
- import { schedule } from '@flight-framework/queue';
255
+ import { schedule } from '@flightdev/queue';
256
256
 
257
257
  // Run every hour
258
258
  schedule(queue, 'cleanup', {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flightdev/queue",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Agnostic background job queue for Flight Framework. Choose your backend: Redis, BullMQ, SQLite, Postgres, SQS.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -46,6 +46,12 @@
46
46
  "vitest": "^2.0.0"
47
47
  },
48
48
  "license": "MIT",
49
+ "homepage": "https://github.com/EliosLT/FlightDev",
50
+ "repository": {
51
+ "url": "https://github.com/EliosLT/FlightDev.git",
52
+ "directory": "packages/queue",
53
+ "type": "git"
54
+ },
49
55
  "scripts": {
50
56
  "build": "tsup",
51
57
  "dev": "tsup --watch",