@bitclaw/jobs 1.1.0
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.
- package/LICENSE +21 -0
- package/README.md +84 -0
- package/dist/cron.d.ts +11 -0
- package/dist/cron.d.ts.map +1 -0
- package/dist/cron.js +86 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/queue.d.ts +63 -0
- package/dist/queue.d.ts.map +1 -0
- package/dist/queue.js +522 -0
- package/dist/rate-limiter.d.ts +11 -0
- package/dist/rate-limiter.d.ts.map +1 -0
- package/dist/rate-limiter.js +27 -0
- package/dist/scheduler.d.ts +26 -0
- package/dist/scheduler.d.ts.map +1 -0
- package/dist/scheduler.js +176 -0
- package/dist/schema.d.ts +4 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +103 -0
- package/dist/types.d.ts +193 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +15 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +5 -0
- package/dist/worker.d.ts +21 -0
- package/dist/worker.d.ts.map +1 -0
- package/dist/worker.js +111 -0
- package/package.json +67 -0
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bitclaw/jobs",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "SQLite-backed background job queue using bun:sqlite",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist",
|
|
7
|
+
"LICENSE",
|
|
8
|
+
"README.md"
|
|
9
|
+
],
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./queue": {
|
|
19
|
+
"types": "./dist/queue.d.ts",
|
|
20
|
+
"default": "./dist/queue.js"
|
|
21
|
+
},
|
|
22
|
+
"./worker": {
|
|
23
|
+
"types": "./dist/worker.d.ts",
|
|
24
|
+
"default": "./dist/worker.js"
|
|
25
|
+
},
|
|
26
|
+
"./schema": {
|
|
27
|
+
"types": "./dist/schema.d.ts",
|
|
28
|
+
"default": "./dist/schema.js"
|
|
29
|
+
},
|
|
30
|
+
"./rate-limiter": {
|
|
31
|
+
"types": "./dist/rate-limiter.d.ts",
|
|
32
|
+
"default": "./dist/rate-limiter.js"
|
|
33
|
+
},
|
|
34
|
+
"./cron": {
|
|
35
|
+
"types": "./dist/cron.d.ts",
|
|
36
|
+
"default": "./dist/cron.js"
|
|
37
|
+
},
|
|
38
|
+
"./scheduler": {
|
|
39
|
+
"types": "./dist/scheduler.d.ts",
|
|
40
|
+
"default": "./dist/scheduler.js"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "tsc -p tsconfig.build.json",
|
|
45
|
+
"test": "bun test",
|
|
46
|
+
"test:watch": "bun test --watch",
|
|
47
|
+
"typecheck": "tsc --noEmit",
|
|
48
|
+
"lint": "biome check",
|
|
49
|
+
"lint:fix": "biome check --write",
|
|
50
|
+
"format": "biome format --write",
|
|
51
|
+
"knip": "knip",
|
|
52
|
+
"prepublishOnly": "npm run build && npm test",
|
|
53
|
+
"publish:dev": "npm run build && npm publish --tag dev --access public",
|
|
54
|
+
"publish:patch": "npm whoami && npm version patch && git push --follow-tags && npm publish --access public",
|
|
55
|
+
"publish:minor": "npm whoami && npm version minor && git push --follow-tags && npm publish --access public",
|
|
56
|
+
"publish:major": "npm whoami && npm version major && git push --follow-tags && npm publish --access public"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@biomejs/biome": "^2.4.15",
|
|
60
|
+
"knip": "^6.12.1",
|
|
61
|
+
"@types/bun": "^1.3.9",
|
|
62
|
+
"typescript": "^5.8.3"
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"bun": ">=1.3.0"
|
|
66
|
+
}
|
|
67
|
+
}
|