- Introduced new database migration for enhanced user and organization management. - Updated package dependencies to include new Better Auth modules for API keys, Expo, and i18n. - Implemented SMS functionality for phone verification and password resets. - Enhanced authentication plugins with username and phone number support. - Added performance configuration options for session cookie caching and API key updates. - Updated email templates to include organization invitation messages. - Improved testing coverage for new features and configurations.
34 lines
1004 B
JSON
34 lines
1004 B
JSON
{
|
|
"name": "cfw-auth",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.33.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "wrangler dev",
|
|
"deploy": "wrangler deploy",
|
|
"db:apply:local": "wrangler d1 migrations apply cfw-auth --local",
|
|
"db:check": "node scripts/check-better-auth-migration.mjs",
|
|
"db:generate": "auth generate --config src/auth.migration.ts --output docs/schema/better-auth-target.sql -y",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit",
|
|
"ready": "pnpm db:check && pnpm typecheck && pnpm test"
|
|
},
|
|
"dependencies": {
|
|
"@better-auth/api-key": "^1.6.16",
|
|
"@better-auth/expo": "^1.6.16",
|
|
"@better-auth/i18n": "^1.6.16",
|
|
"@better-auth/passkey": "^1.6.16",
|
|
"better-auth": "^1.6.0",
|
|
"hono": "^4.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20260601.0",
|
|
"@types/node": "^24.13.1",
|
|
"auth": "1.6.16",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^3.2.0",
|
|
"wrangler": "^4.20.0"
|
|
}
|
|
}
|