@neondatabase/auth 0.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,123 @@
1
+ {
2
+ "name": "@neondatabase/auth",
3
+ "version": "0.1.0-beta.1",
4
+ "description": "TypeScript SDK for Neon Auth - authentication for PostgreSQL with multiple adapter support",
5
+ "type": "module",
6
+ "license": "Apache-2.0",
7
+ "keywords": [
8
+ "neon",
9
+ "neondb",
10
+ "postgresql",
11
+ "postgres",
12
+ "authentication",
13
+ "auth",
14
+ "typescript",
15
+ "sdk",
16
+ "better-auth",
17
+ "supabase",
18
+ "react",
19
+ "nextjs"
20
+ ],
21
+ "homepage": "https://github.com/neondatabase-labs/neon-js/tree/main/packages/auth#readme",
22
+ "bugs": {
23
+ "url": "https://github.com/neondatabase-labs/neon-js/issues"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/neondatabase-labs/neon-js.git",
28
+ "directory": "packages/auth"
29
+ },
30
+ "funding": {
31
+ "url": "https://neon.tech"
32
+ },
33
+ "author": "Pedro Figueiredo <pedro.figueiredo@databricks.com>",
34
+ "main": "./dist/index.mjs",
35
+ "module": "./dist/index.mjs",
36
+ "types": "./dist/index.d.mts",
37
+ "exports": {
38
+ ".": {
39
+ "types": "./dist/index.d.mts",
40
+ "default": "./dist/index.mjs"
41
+ },
42
+ "./react": {
43
+ "types": "./dist/react/index.d.mts",
44
+ "default": "./dist/react/index.mjs"
45
+ },
46
+ "./react/ui": {
47
+ "types": "./dist/react/ui/index.d.mts",
48
+ "default": "./dist/react/ui/index.mjs"
49
+ },
50
+ "./react/ui/server": {
51
+ "types": "./dist/react/ui/server.d.mts",
52
+ "default": "./dist/react/ui/server.mjs"
53
+ },
54
+ "./react/adapters": {
55
+ "types": "./dist/react/adapters/index.d.mts",
56
+ "default": "./dist/react/adapters/index.mjs"
57
+ },
58
+ "./vanilla": {
59
+ "types": "./dist/vanilla/index.d.mts",
60
+ "default": "./dist/vanilla/index.mjs"
61
+ },
62
+ "./vanilla/adapters": {
63
+ "types": "./dist/vanilla/adapters/index.d.mts",
64
+ "default": "./dist/vanilla/adapters/index.mjs"
65
+ },
66
+ "./next": {
67
+ "types": "./dist/next/index.d.mts",
68
+ "default": "./dist/next/index.mjs"
69
+ },
70
+ "./ui/css": {
71
+ "types": "./dist/ui/css.d.ts",
72
+ "default": "./dist/ui/css.css"
73
+ },
74
+ "./ui/tailwind": {
75
+ "default": "./dist/ui/tailwind.css"
76
+ }
77
+ },
78
+ "files": [
79
+ "dist"
80
+ ],
81
+ "publishConfig": {
82
+ "access": "public"
83
+ },
84
+ "sideEffects": false,
85
+ "scripts": {
86
+ "build": "tsdown",
87
+ "dev": "tsdown --watch",
88
+ "test": "vitest",
89
+ "test:node": "node --run test",
90
+ "test:ci": "vitest run",
91
+ "typecheck": "tsc --noEmit",
92
+ "test:types": "tsc --noEmit",
93
+ "lint": "eslint .",
94
+ "clean": "rm -rf node_modules dist",
95
+ "release": "bun run build && bumpp --tag 'auth-v%s' && bun publish --tag latest"
96
+ },
97
+ "devDependencies": {
98
+ "msw": "2.6.8"
99
+ },
100
+ "dependencies": {
101
+ "@supabase/auth-js": "2.79.0",
102
+ "better-auth": "1.4.6-beta.3",
103
+ "zod": "4.1.12",
104
+ "jose": "6.1.2",
105
+ "@neondatabase/auth-ui": "0.1.0-alpha.2"
106
+ },
107
+ "peerDependencies": {
108
+ "react": ">=18.0.0",
109
+ "react-dom": ">=18.0.0",
110
+ "next": "^16.0.6"
111
+ },
112
+ "peerDependenciesMeta": {
113
+ "react": {
114
+ "optional": true
115
+ },
116
+ "react-dom": {
117
+ "optional": true
118
+ },
119
+ "next": {
120
+ "optional": true
121
+ }
122
+ }
123
+ }