forked from fedify-dev/fedify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
119 lines (119 loc) · 3.18 KB
/
deno.json
File metadata and controls
119 lines (119 loc) · 3.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"workspace": [
"./packages/fedify",
"./packages/cli",
"./packages/amqp",
"./packages/cfworkers",
"./packages/denokv",
"./packages/express",
"./packages/fastify",
"./packages/h3",
"./packages/hono",
"./packages/koa",
"./packages/postgres",
"./packages/redis",
"./packages/sqlite",
"./packages/sveltekit",
"./packages/testing",
"./examples/blog",
"./examples/hono-sample"
],
"imports": {
"@cloudflare/workers-types": "npm:@cloudflare/workers-types@^4.20250529.0",
"@david/dax": "jsr:@david/dax@^0.43.2",
"@js-temporal/polyfill": "npm:@js-temporal/polyfill@^0.5.1",
"@logtape/file": "jsr:@logtape/file@^1.1.1",
"@logtape/logtape": "jsr:@logtape/logtape@^1.1.1",
"@std/assert": "jsr:@std/assert@^1.0.13",
"@std/async": "jsr:@std/async@^1.0.13",
"@std/encoding": "jsr:@std/encoding@^1.0.10",
"@std/fs": "jsr:@std/fs@^1.0.3",
"@std/path": "jsr:@std/path@^1.0.6",
"@std/yaml": "jsr:@std/yaml@^1.0.8",
"amqplib": "npm:amqplib@^0.10.8",
"es-toolkit": "npm:es-toolkit@^1.30.0",
"h3": "npm:h3@^1.15.0",
"@nestjs/common": "npm:@nestjs/common@^11.0.1",
"ioredis": "npm:ioredis@^5.6.1",
"json-preserve-indent": "npm:json-preserve-indent@^1.1.3",
"postgres": "npm:postgres@^3.4.7",
"preact": "npm:preact@10.19.6",
"tsdown": "npm:tsdown@^0.12.9"
},
"unstable": [
"fs",
"kv",
"process",
"temporal"
],
"exclude": [
"**/pnpm-lock.yaml",
".github/",
"docs/",
"pnpm-lock.yaml",
"pnpm-workspace.yaml"
],
"lint": {
"exclude": [
"examples/cloudflare-workers/worker-configuration.d.ts"
]
},
"fmt": {
"exclude": [
"**/*.md"
]
},
"nodeModulesDir": "none",
"tasks": {
"codegen": "deno task -f @fedify/cli codegen",
"check-versions": "deno run --allow-read --allow-write scripts/check_versions.ts",
"check-all": {
"command": "deno fmt --check && deno lint && deno check --unstable-temporal $(deno eval 'import m from \"./deno.json\" with { type: \"json\" }; for (let p of m.workspace) console.log(p)')",
"dependencies": [
"check-versions",
"codegen"
]
},
"install": "deno run --allow-read --allow-env --allow-run scripts/install.ts && pnpm install",
"test": {
"command": "deno test --check --doc --allow-all --unstable-kv --trace-leaks --parallel",
"dependencies": [
"codegen"
]
},
"test:node": {
"command": "pnpm run --recursive --filter '!{docs}' test",
"dependencies": [
"codegen",
"install"
]
},
"test:bun": {
"command": "pnpm run --recursive --filter '!{docs}' test:bun",
"dependencies": [
"codegen",
"install"
]
},
"test-all": {
"dependencies": [
"check-all",
"test",
"test:node",
"test:bun"
]
},
"cli": "deno task -f @fedify/cli run",
"hooks:install": "deno run --allow-read=deno.json,.git/hooks/ --allow-write=.git/hooks/ jsr:@hongminhee/deno-task-hooks",
"hooks:pre-commit": {
"dependencies": [
"check-all"
]
}
},
"test": {
"include": [
"./packages"
]
}
}