Spaces:
Running
Running
coyotte508
commited on
Commit
·
2f06cb8
1
Parent(s):
514761c
basic package.json
Browse files- .gitignore +21 -0
- Dockerfile +11 -0
- package.json +9 -0
- pnpm-lock.yaml +223 -0
.gitignore
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
node_modules
|
2 |
+
|
3 |
+
# Output
|
4 |
+
.output
|
5 |
+
.vercel
|
6 |
+
/.svelte-kit
|
7 |
+
/build
|
8 |
+
|
9 |
+
# OS
|
10 |
+
.DS_Store
|
11 |
+
Thumbs.db
|
12 |
+
|
13 |
+
# Env
|
14 |
+
.env
|
15 |
+
.env.*
|
16 |
+
!.env.example
|
17 |
+
!.env.test
|
18 |
+
|
19 |
+
# Vite
|
20 |
+
vite.config.js.timestamp-*
|
21 |
+
vite.config.ts.timestamp-*
|
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM node:latest
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
COPY . .
|
6 |
+
|
7 |
+
RUN npm install -g pnpm && pnpm install
|
8 |
+
|
9 |
+
EXPOSE 3000
|
10 |
+
|
11 |
+
CMD ["pnpm", "dev"]
|
package.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "better-auth-test",
|
3 |
+
"version": "0.0.1",
|
4 |
+
"private": true,
|
5 |
+
"packageManager": "[email protected]+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977",
|
6 |
+
"dependencies": {
|
7 |
+
"@huggingface/better-auth": "1.2.10-beta.2"
|
8 |
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file: false
|
6 |
+
|
7 |
+
importers:
|
8 |
+
|
9 |
+
.:
|
10 |
+
dependencies:
|
11 |
+
'@huggingface/better-auth':
|
12 |
+
specifier: 1.2.10-beta.2
|
13 |
+
version: 1.2.10-beta.2
|
14 |
+
|
15 |
+
packages:
|
16 |
+
|
17 |
+
'@better-auth/[email protected]':
|
18 |
+
resolution: {integrity: sha512-uI2+/8h/zVsH8RrYdG8eUErbuGBk16rZKQfz8CjxQOyCE6v7BqFYEbFwvOkvl1KbUdxhqOnXp78+uE5h8qVEgQ==}
|
19 |
+
|
20 |
+
'@better-fetch/[email protected]':
|
21 |
+
resolution: {integrity: sha512-rEFOE1MYIsBmoMJtQbl32PGHHXuG2hDxvEd7rUHE0vCBoFQVSDqaVs9hkZEtHCxRoY+CljXKFCOuJ8uxqw1LcA==}
|
22 |
+
|
23 |
+
'@hexagon/[email protected]':
|
24 |
+
resolution: {integrity: sha512-lhqDEAvWixy3bZ+UOYbPwUbBkwBq5C1LAJ/xPC8Oi+lL54oyakv/npbA0aU2hgCsx/1NUd4IBvV03+aUBWxerw==}
|
25 |
+
|
26 |
+
'@huggingface/[email protected]':
|
27 |
+
resolution: {integrity: sha512-YG58siBRQJRQvYJ+hYEhqu4XesuVQpKQY+hAbcxOB2FWIDicoxifiRoh5ED3fOsDjg2Olg2lFpsxG8Bdd6unTA==}
|
28 |
+
|
29 |
+
'@levischuck/[email protected]':
|
30 |
+
resolution: {integrity: sha512-llBRm4dT4Z89aRsm6u2oEZ8tfwL/2l6BwpZ7JcyieouniDECM5AqNgr/y08zalEIvW3RSK4upYyybDcmjXqAow==}
|
31 |
+
|
32 |
+
'@noble/[email protected]':
|
33 |
+
resolution: {integrity: sha512-mIbq/R9QXk5/cTfESb1OKtyFnk7oc1Om/8onA1158K9/OZUQFDEVy55jVTato+xmp3XX6F6Qh0zz0Nc1AxAlRQ==}
|
34 |
+
|
35 |
+
'@noble/[email protected]':
|
36 |
+
resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==}
|
37 |
+
engines: {node: ^14.21.3 || >=16}
|
38 |
+
|
39 |
+
'@peculiar/[email protected]':
|
40 |
+
resolution: {integrity: sha512-a1viIv3bIahXNssrOIkXZIlI2ePpZaNmR30d4aBL99mu2rO+mT9D6zBsp7H6eROWGtmwv0Ionp5olJurIo09dw==}
|
41 |
+
|
42 |
+
'@peculiar/[email protected]':
|
43 |
+
resolution: {integrity: sha512-/HtR91dvgog7z/WhCVdxZJ/jitJuIu8iTqiyWVgRE9Ac5imt2sT/E4obqIVGKQw7PIy+X6i8lVBoT6wC73XUgA==}
|
44 |
+
|
45 |
+
'@peculiar/[email protected]':
|
46 |
+
resolution: {integrity: sha512-p6hsanvPhexRtYSOHihLvUUgrJ8y0FtOM97N5UEpC+VifFYyZa0iZ5cXjTkZoDwxJ/TTJ1IJo3HVTB2JJTpXvg==}
|
47 |
+
|
48 |
+
'@peculiar/[email protected]':
|
49 |
+
resolution: {integrity: sha512-QPeD8UA8axQREpgR5UTAfu2mqQmm97oUqahDtNdBcfj3qAnoXzFdQW+aNf/tD2WVXF8Fhmftxoj0eMIT++gX2w==}
|
50 |
+
|
51 |
+
'@peculiar/[email protected]':
|
52 |
+
resolution: {integrity: sha512-0dK5xqTqSLaxv1FHXIcd4Q/BZNuopg+u1l23hT9rOmQ1g4dNtw0g/RnEi+TboB0gOwGtrWn269v27cMgchFIIg==}
|
53 |
+
|
54 |
+
'@simplewebauthn/[email protected]':
|
55 |
+
resolution: {integrity: sha512-WuHZ/PYvyPJ9nxSzgHtOEjogBhwJfC8xzYkPC+rR/+8chl/ft4ngjiK8kSU5HtRJfczupyOh33b25TjYbvwAcg==}
|
56 |
+
|
57 |
+
'@simplewebauthn/[email protected]':
|
58 |
+
resolution: {integrity: sha512-1hsLpRHfSuMB9ee2aAdh0Htza/X3f4djhYISrggqGe3xopNjOcePiSDkDDoPzDYaaMCrbqGP1H2TYU7bgL9PmA==}
|
59 |
+
engines: {node: '>=20.0.0'}
|
60 |
+
|
61 | |
62 |
+
resolution: {integrity: sha512-UOCGPYbl0tv8+006qks/dTgV9ajs97X2p0FAbyS2iyCRrmLSRolDaHdp+v/CLgnzHc3fVB+CwYiUmei7ndFcgA==}
|
63 |
+
engines: {node: '>=12.0.0'}
|
64 |
+
|
65 | |
66 |
+
resolution: {integrity: sha512-Qfm0gjk0XQz0oI7qvTK1hbqTsBY4xV2hsHAxF8LZfUYl3RaECCIifXuVqtPpZJWvlCCMlQSvkvhhyuApGUba6g==}
|
67 |
+
|
68 | |
69 |
+
resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}
|
70 |
+
|
71 | |
72 |
+
resolution: {integrity: sha512-s+3Al/p9g32Iq+oqXxkW//7jk2Vig6FF1CFqzVXoTUXt2qz89YWbL+OwS17NFYEvxC35n0FKeGO2LGYSxeM2Gg==}
|
73 |
+
|
74 | |
75 |
+
resolution: {integrity: sha512-4YAVLoF0Sf0UTqlhgQMFU9iQECdah7n+13ANkiuVfRvlK+uI0Etbgd7bVP36dKlG+NXWbhGua8vnGt+sdhvT7A==}
|
76 |
+
engines: {node: '>=18.0.0'}
|
77 |
+
|
78 | |
79 |
+
resolution: {integrity: sha512-k1oiVNN4hDK8NcNERSZLQiMfRzEGtfnvZvdBvey3SQbgn8Dcrk0h1I6vpxApjb10PFUflZrgJ2WEZyJQ+5v7YQ==}
|
80 |
+
engines: {node: ^18.0.0 || >=20.0.0}
|
81 |
+
|
82 | |
83 |
+
resolution: {integrity: sha512-PLgQXQ6H2FWCaeRak8vvk1GW462lMxB5s3Jm673N82zI4vqtVUPuZdffdZbPDFRoU8kAhItWFtPCWiPpp4/EDg==}
|
84 |
+
|
85 | |
86 |
+
resolution: {integrity: sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==}
|
87 |
+
engines: {node: '>=6.0.0'}
|
88 |
+
|
89 | |
90 |
+
resolution: {integrity: sha512-OXMmJ3zRk2xeXFGfA3K+EOPHC5u7RDFG7lIOx0X1pdnhUkI8MdVrbV+sNsD80ElpUZ+MRHdyxPnFthq9VHs8uQ==}
|
91 |
+
|
92 | |
93 |
+
resolution: {integrity: sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==}
|
94 |
+
|
95 | |
96 |
+
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
|
97 |
+
|
98 | |
99 |
+
resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==}
|
100 |
+
engines: {node: '>=14.17'}
|
101 |
+
hasBin: true
|
102 |
+
|
103 | |
104 |
+
resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==}
|
105 |
+
|
106 | |
107 |
+
resolution: {integrity: sha512-idA2YXwpCdqUSKRCACDE6ItZD9TZzy3OZMtpfLoh6oPR47lipysRrJfjzMqFxQ3uJuUPyUeWe1r9vLH33xO/Qw==}
|
108 |
+
|
109 |
+
snapshots:
|
110 |
+
|
111 |
+
'@better-auth/[email protected]':
|
112 |
+
dependencies:
|
113 |
+
typescript: 5.8.3
|
114 |
+
uncrypto: 0.1.3
|
115 |
+
|
116 |
+
'@better-fetch/[email protected]': {}
|
117 |
+
|
118 |
+
'@hexagon/[email protected]': {}
|
119 |
+
|
120 |
+
'@huggingface/[email protected]':
|
121 |
+
dependencies:
|
122 |
+
'@better-auth/utils': 0.2.5
|
123 |
+
'@better-fetch/fetch': 1.1.18
|
124 |
+
'@noble/ciphers': 0.6.0
|
125 |
+
'@noble/hashes': 1.8.0
|
126 |
+
'@simplewebauthn/browser': 13.1.0
|
127 |
+
'@simplewebauthn/server': 13.1.1
|
128 |
+
better-call: 1.0.9
|
129 |
+
defu: 6.1.4
|
130 |
+
jose: 5.10.0
|
131 |
+
kysely: 0.28.2
|
132 |
+
nanostores: 0.11.4
|
133 |
+
zod: 3.25.67
|
134 |
+
|
135 |
+
'@levischuck/[email protected]': {}
|
136 |
+
|
137 |
+
'@noble/[email protected]': {}
|
138 |
+
|
139 |
+
'@noble/[email protected]': {}
|
140 |
+
|
141 |
+
'@peculiar/[email protected]':
|
142 |
+
dependencies:
|
143 |
+
'@peculiar/asn1-schema': 2.3.15
|
144 |
+
asn1js: 3.0.6
|
145 |
+
tslib: 2.8.1
|
146 |
+
|
147 |
+
'@peculiar/[email protected]':
|
148 |
+
dependencies:
|
149 |
+
'@peculiar/asn1-schema': 2.3.15
|
150 |
+
'@peculiar/asn1-x509': 2.3.15
|
151 |
+
asn1js: 3.0.6
|
152 |
+
tslib: 2.8.1
|
153 |
+
|
154 |
+
'@peculiar/[email protected]':
|
155 |
+
dependencies:
|
156 |
+
'@peculiar/asn1-schema': 2.3.15
|
157 |
+
'@peculiar/asn1-x509': 2.3.15
|
158 |
+
asn1js: 3.0.6
|
159 |
+
tslib: 2.8.1
|
160 |
+
|
161 |
+
'@peculiar/[email protected]':
|
162 |
+
dependencies:
|
163 |
+
asn1js: 3.0.6
|
164 |
+
pvtsutils: 1.3.6
|
165 |
+
tslib: 2.8.1
|
166 |
+
|
167 |
+
'@peculiar/[email protected]':
|
168 |
+
dependencies:
|
169 |
+
'@peculiar/asn1-schema': 2.3.15
|
170 |
+
asn1js: 3.0.6
|
171 |
+
pvtsutils: 1.3.6
|
172 |
+
tslib: 2.8.1
|
173 |
+
|
174 |
+
'@simplewebauthn/[email protected]': {}
|
175 |
+
|
176 |
+
'@simplewebauthn/[email protected]':
|
177 |
+
dependencies:
|
178 |
+
'@hexagon/base64': 1.1.28
|
179 |
+
'@levischuck/tiny-cbor': 0.2.11
|
180 |
+
'@peculiar/asn1-android': 2.3.16
|
181 |
+
'@peculiar/asn1-ecc': 2.3.15
|
182 |
+
'@peculiar/asn1-rsa': 2.3.15
|
183 |
+
'@peculiar/asn1-schema': 2.3.15
|
184 |
+
'@peculiar/asn1-x509': 2.3.15
|
185 |
+
|
186 | |
187 |
+
dependencies:
|
188 |
+
pvtsutils: 1.3.6
|
189 |
+
pvutils: 1.1.3
|
190 |
+
tslib: 2.8.1
|
191 |
+
|
192 | |
193 |
+
dependencies:
|
194 |
+
'@better-fetch/fetch': 1.1.18
|
195 |
+
rou3: 0.5.1
|
196 |
+
set-cookie-parser: 2.7.1
|
197 |
+
uncrypto: 0.1.3
|
198 |
+
|
199 |
+
[email protected]: {}
|
200 |
+
|
201 |
+
[email protected]: {}
|
202 |
+
|
203 |
+
[email protected]: {}
|
204 |
+
|
205 |
+
[email protected]: {}
|
206 |
+
|
207 | |
208 |
+
dependencies:
|
209 |
+
tslib: 2.8.1
|
210 |
+
|
211 |
+
[email protected]: {}
|
212 |
+
|
213 |
+
[email protected]: {}
|
214 |
+
|
215 |
+
[email protected]: {}
|
216 |
+
|
217 |
+
[email protected]: {}
|
218 |
+
|
219 |
+
[email protected]: {}
|
220 |
+
|
221 |
+
[email protected]: {}
|
222 |
+
|
223 |
+
[email protected]: {}
|