@moku-labs/worker 0.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/package.json ADDED
@@ -0,0 +1,77 @@
1
+ {
2
+ "name": "@moku-labs/worker",
3
+ "version": "0.1.0",
4
+ "description": "Cloudflare Worker framework for Moku — Durable Objects, Queues, R2, D1, and KV plugins that compose with Moku Web.",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.mjs",
8
+ "types": "./dist/index.d.mts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.mts",
13
+ "default": "./dist/index.mjs"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ },
20
+ "./cli": {
21
+ "import": {
22
+ "types": "./dist/cli.d.mts",
23
+ "default": "./dist/cli.mjs"
24
+ },
25
+ "require": {
26
+ "types": "./dist/cli.d.cts",
27
+ "default": "./dist/cli.cjs"
28
+ }
29
+ }
30
+ },
31
+ "files": ["dist", "LICENSE", "README.md"],
32
+ "sideEffects": false,
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
36
+ "engines": {
37
+ "node": ">=24.0.0",
38
+ "bun": ">=1.3.14"
39
+ },
40
+ "scripts": {
41
+ "build": "tsdown",
42
+ "validate": "publint && attw --pack . --profile node16",
43
+ "lint": "biome check . && eslint .",
44
+ "lint:fix": "biome check --write . && eslint --fix .",
45
+ "format": "biome format --write .",
46
+ "typecheck": "tsc --noEmit",
47
+ "test": "vitest run",
48
+ "test:unit": "vitest run --project unit",
49
+ "test:integration": "vitest run --project integration",
50
+ "test:coverage": "vitest run --project unit --project integration --coverage"
51
+ },
52
+ "dependencies": {
53
+ "@moku-labs/common": "0.1.1",
54
+ "@moku-labs/core": "0.1.4"
55
+ },
56
+ "devDependencies": {
57
+ "@arethetypeswrong/cli": "0.18.3",
58
+ "@arethetypeswrong/core": "0.18.3",
59
+ "@biomejs/biome": "2.4.16",
60
+ "@cloudflare/workers-types": "4.20260617.1",
61
+ "@types/bun": "1.3.14",
62
+ "@vitest/coverage-istanbul": "4.0.18",
63
+ "eslint": "9.39.3",
64
+ "eslint-config-biome": "2.1.3",
65
+ "eslint-plugin-jsdoc": "62.6.0",
66
+ "eslint-plugin-sonarjs": "4.0.0",
67
+ "eslint-plugin-unicorn": "63.0.0",
68
+ "globals": "17.4.0",
69
+ "jiti": "2.6.1",
70
+ "lefthook": "2.1.1",
71
+ "publint": "0.3.21",
72
+ "tsdown": "0.22.1",
73
+ "typescript": "6.0.3",
74
+ "typescript-eslint": "8.58.0",
75
+ "vitest": "4.0.18"
76
+ }
77
+ }