feat: add collaborative Cloudflare cache and debug mode

This commit is contained in:
Darío Sevilla committed 2026-10-15 07:59:10 +00:00
1 parent 7e88fee0c2
commit 067cbfd24c
20 files changed
+695 -31

No files matched your search

+5 -2
View File
@@ -5,8 +5,11 @@
"description": "Browser extension that hides X posts based on account country.",
"scripts": {
"test": "node --test",
"check": "node --check background.js && node --check content.js && node --check lib/config.js && node --check lib/countries.js && node --check lib/parser.js && node --check offscreen/offscreen.js && node --check options/options.js && node --check popup/popup.js && node --check scripts/build.mjs && node --check scripts/bump-version.mjs && node --test",
"build": "node scripts/build.mjs"
"check": "node --check background.js && node --check content.js && node --check page-bridge.js && node --check lib/config.js && node --check lib/countries.js && node --check lib/cloud-cache.js && node --check lib/parser.js && node --check offscreen/offscreen.js && node --check options/options.js && node --check popup/popup.js && node --check scripts/build.mjs && node --check scripts/bump-version.mjs && node --check worker/src/index.js && node --test",
"build": "node scripts/build.mjs",
"worker:migrate": "npx wrangler d1 migrations apply x-geoblock-cache --remote --config worker/wrangler.toml",
"worker:deploy": "npx wrangler deploy --config worker/wrangler.toml",
"worker:tail": "npx wrangler tail --config worker/wrangler.toml"
},
"engines": {
"node": ">=18"