From 2b4a69720b53480d82cf296ac5dbe4614d9470b9 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Tue, 11 Aug 2026 08:27:26 -0400 Subject: 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 --- cgithub/package.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'cgithub/package.json') 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" -- cgit v1.3.1