chore: add pnpm workspace configuration with package definitions and overrides

This commit is contained in:
snoozescript
2026-08-14 23:35:45 +05:30
parent ae2cb896a6
commit bcb302ac7d
389 changed files with 65206 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
/**
* For more details on how to configure Wrangler, refer to:
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "attendance-worker",
"main": "src/index.ts",
"compatibility_date": "2026-08-08",
"compatibility_flags": ["nodejs_compat"],
"assets": {
// The path to the directory containing the `index.html` file to be served at `/`
"directory": "./public",
},
"vars": {
// Public (non-secret) vars. Secrets go in `.dev.vars` locally and via
// `wrangler secret put` in production.
"BETTER_AUTH_URL": "http://localhost:8787",
"TRUSTED_ORIGINS": "http://localhost:5173",
"WEB_APP_URL": "http://localhost:5173",
"EMAIL_FROM": "Attendance <[email protected]>",
"EMAIL_REPLY_TO": "Attendance <[email protected]>",
},
"d1_databases": [
{
"binding": "DB",
"database_name": "attendance-db",
// Replace this placeholder after creating the remote database with:
// wrangler d1 create attendance-db
"database_id": "00000000-0000-0000-0000-000000000000",
"migrations_dir": "drizzle",
},
],
"r2_buckets": [
{
"binding": "MEMBER_GALLERY",
"bucket_name": "attendance-member-gallery",
},
],
"observability": {
"enabled": true,
},
"upload_source_maps": true,
}