feat: import auth package from monorepo

This commit is contained in:
imeepos
2026-03-19 18:26:18 +08:00
commit d847c93192
14 changed files with 2481 additions and 0 deletions

28
package.json Normal file
View File

@@ -0,0 +1,28 @@
{
"name": "@bowong/auth",
"version": "1.0.5",
"type": "module",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"exports": {
".": "./src/index.ts",
"./client": "./src/client.ts"
},
"scripts": {
"build": "node -e \"require('fs').rmSync('dist',{ recursive: true, force: true })\" && bun x tsc -p tsconfig.build.json",
"typecheck": "bun x tsc --noEmit",
"clean": "node -e \"require('fs').rmSync('dist',{ recursive: true, force: true })\""
},
"dependencies": {
"@better-auth/api-key": "^1.2.0",
"better-auth": "^1.2.0",
"drizzle-orm": "^0.44.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20250312.0",
"typescript": "^5.9.3"
}
}