your personal website on atproto - mirror blento.app
26
fork

Configure Feed

Select the types of activity you want to include in your feed.

add wranger stuff

Florian 5586c23a a1cf2344

+47 -2
+4 -2
package.json
··· 6 6 "scripts": { 7 7 "dev": "vite dev", 8 8 "build": "vite build", 9 - "preview": "vite preview", 9 + "preview": "pnpm run build && wrangler dev", 10 10 "prepare": "svelte-kit sync || echo ''", 11 11 "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", 12 12 "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", 13 13 "format": "prettier --write .", 14 - "lint": "prettier --check . && eslint ." 14 + "lint": "prettier --check . && eslint .", 15 + "deploy": "pnpm run build && wrangler deploy", 16 + "cf-typegen": "wrangler types ./src/worker-configuration.d.ts" 15 17 }, 16 18 "devDependencies": { 17 19 "@eslint/compat": "^1.2.5",
+43
wrangler.jsonc
··· 1 + /** 2 + * For more details on how to configure Wrangler, refer to: 3 + * https://developers.cloudflare.com/workers/wrangler/configuration/ 4 + */ 5 + { 6 + "$schema": "node_modules/wrangler/config-schema.json", 7 + "name": "svelte-guestbook", 8 + "main": ".svelte-kit/cloudflare/_worker.js", 9 + "compatibility_date": "2025-12-25", 10 + "compatibility_flags": [ 11 + "nodejs_als" 12 + ], 13 + "assets": { 14 + "binding": "ASSETS", 15 + "directory": ".svelte-kit/cloudflare" 16 + }, 17 + "observability": { 18 + "enabled": true 19 + } 20 + /** 21 + * Smart Placement 22 + * https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement 23 + */ 24 + // "placement": { "mode": "smart" } 25 + /** 26 + * Bindings 27 + * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including 28 + * databases, object storage, AI inference, real-time communication and more. 29 + * https://developers.cloudflare.com/workers/runtime-apis/bindings/ 30 + */ 31 + /** 32 + * Environment Variables 33 + * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables 34 + * Note: Use secrets to store sensitive data. 35 + * https://developers.cloudflare.com/workers/configuration/secrets/ 36 + */ 37 + // "vars": { "MY_VARIABLE": "production_value" } 38 + /** 39 + * Service Bindings (communicate between multiple Workers) 40 + * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings 41 + */ 42 + // "services": [ { "binding": "MY_SERVICE", "service": "my-service" } ] 43 + }