Skip to content

Commit c6b4abd

Browse files
committed
feat: cloudflare worker bot
1 parent 283701d commit c6b4abd

14 files changed

Lines changed: 1547 additions & 0 deletions

β€Žworker/.gitignoreβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
pkg
3+
wrangler.toml.local
4+
.wrangler
5+
.DS_Store
2.32 MB
Binary file not shown.
4.1 MB
Binary file not shown.
1.07 MB
Binary file not shown.
4.41 MB
Binary file not shown.
1.95 MB
Binary file not shown.
2.83 MB
Binary file not shown.

β€Žworker/package.jsonβ€Ž

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "maple-worker",
3+
"private": true,
4+
"type": "module",
5+
"version": "0.1.0",
6+
"packageManager": "pnpm@10.28.0",
7+
"scripts": {
8+
"dev": "wrangler dev",
9+
"deploy": "wrangler publish",
10+
"build:wasm": "wasm-pack build --release --target web --out-dir worker/pkg --out-name maple --manifest-path ../Cargo.toml",
11+
"check": "tsc --noEmit"
12+
},
13+
"devDependencies": {
14+
"@cloudflare/workers-types": "^4.20250204.0",
15+
"@types/node": "^25.2.0",
16+
"discord-api-types": "^0.37.83",
17+
"typescript": "^5.6.3",
18+
"wrangler": "^3.96.0"
19+
}
20+
}

0 commit comments

Comments
Β (0)