summaryrefslogtreecommitdiff
path: root/cgithub/package.json
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-08-11 08:27:26 -0400
committerJoe Mou <dev@mou.fo>2026-08-11 08:30:10 -0400
commit2b4a69720b53480d82cf296ac5dbe4614d9470b9 (patch)
treef1a617c74017951df5c4f5dba7a5e068f813f6a1 /cgithub/package.json
parent5526d976f645def4caae9fbd2c1d75349029764e (diff)
Deploy only to Cloudflare Workers
The Node server entry, esbuild bundle, and Makefile rsync/systemd deploy are gone; wrangler dev and wrangler deploy are the only paths now, so the dev:cf/deploy:cf scripts take over the plain dev/deploy names. @hono/ node-server and esbuild drop out with src/index.ts, and the README's systemd socket and nginx snippets go with them. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'cgithub/package.json')
-rw-r--r--cgithub/package.json12
1 files changed, 4 insertions, 8 deletions
diff --git a/cgithub/package.json b/cgithub/package.json
index b5349ca..337fabc 100644
--- a/cgithub/package.json
+++ b/cgithub/package.json
@@ -5,14 +5,11 @@
"license": "MIT",
"type": "module",
"scripts": {
- "dev": "node --watch --watch-preserve-output src/index.ts",
- "build": "rm -rf dist/* && esbuild --bundle --format=esm --platform=node --outdir=dist/build --sourcemap src/index.ts && cp -R public views dist/",
- "test": "node --test --test-concurrency=4 src/scraper.test.ts",
- "dev:cf": "node scripts/compile-views.ts && wrangler dev",
- "deploy:cf": "node scripts/compile-views.ts && wrangler deploy"
+ "dev": "node scripts/compile-views.ts && wrangler dev",
+ "deploy": "node scripts/compile-views.ts && wrangler deploy",
+ "test": "node --test --test-concurrency=4 src/scraper.test.ts"
},
"dependencies": {
- "@hono/node-server": "^1.13.7",
"css-select": "^6.0.0",
"domhandler": "^5.0.3",
"domutils": "^3.2.2",
@@ -21,11 +18,10 @@
"htmlparser2": "^10.1.0"
},
"pnpm": {
- "onlyBuiltDependencies": ["esbuild", "workerd"]
+ "onlyBuiltDependencies": ["workerd"]
},
"devDependencies": {
"@types/node": "^22.10.2",
- "esbuild": "^0.27.2",
"prettier": "^3.8.1",
"typescript": "^5.7.2",
"wrangler": "^4.110.0"