mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 04:19:20 +00:00
fix(client): add lynx client exports (#4950)
This commit is contained in:
@@ -60,6 +60,7 @@ export default defineBuildConfig({
|
||||
"@sveltejs/vite-plugin-svelte",
|
||||
"csstype",
|
||||
"siwe",
|
||||
"@lynx-js/react",
|
||||
],
|
||||
entries: [
|
||||
"./src/index.ts",
|
||||
@@ -82,6 +83,7 @@ export default defineBuildConfig({
|
||||
"./src/client/vue/index.ts",
|
||||
"./src/client/svelte/index.ts",
|
||||
"./src/client/solid/index.ts",
|
||||
"./src/client/lynx/index.ts",
|
||||
"./src/plugins/index.ts",
|
||||
"./src/plugins/access/index.ts",
|
||||
"./src/api/index.ts",
|
||||
|
||||
@@ -132,6 +132,16 @@
|
||||
"default": "./dist/client/solid/index.cjs"
|
||||
}
|
||||
},
|
||||
"./lynx": {
|
||||
"import": {
|
||||
"types": "./dist/client/lynx/index.d.ts",
|
||||
"default": "./dist/client/lynx/index.mjs"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/client/lynx/index.d.cts",
|
||||
"default": "./dist/client/lynx/index.cjs"
|
||||
}
|
||||
},
|
||||
"./test": {
|
||||
"import": {
|
||||
"types": "./dist/test-utils/index.d.ts",
|
||||
@@ -584,6 +594,9 @@
|
||||
"solid": [
|
||||
"./dist/client/solid/index.d.ts"
|
||||
],
|
||||
"lynx": [
|
||||
"./dist/client/lynx/index.d.ts"
|
||||
],
|
||||
"api": [
|
||||
"./dist/api/index.d.ts"
|
||||
],
|
||||
@@ -743,7 +756,7 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@lynx-js/react": "^0.112.5",
|
||||
"@lynx-js/react": "^0.114.0",
|
||||
"@prisma/client": "^5.22.0",
|
||||
"@sveltejs/kit": "^2.37.1",
|
||||
"@tanstack/react-start": "^1.131.3",
|
||||
|
||||
18
pnpm-lock.yaml
generated
18
pnpm-lock.yaml
generated
@@ -854,8 +854,8 @@ importers:
|
||||
version: 4.1.5
|
||||
devDependencies:
|
||||
'@lynx-js/react':
|
||||
specifier: ^0.112.5
|
||||
version: 0.112.5(@types/react@18.3.23)
|
||||
specifier: ^0.114.0
|
||||
version: 0.114.0(@types/react@18.3.23)
|
||||
'@prisma/client':
|
||||
specifier: ^5.22.0
|
||||
version: 5.22.0(prisma@5.22.0)
|
||||
@@ -3387,8 +3387,8 @@ packages:
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@lynx-js/react@0.112.5':
|
||||
resolution: {integrity: sha512-noFV05FjKsLtnTQLjEbjK4IPLPK+AEJ3r2klYjvLCPe9pQYXyHqoiN9bWwLFZDvcPGsXSdJ5TiahTTZuagGRjA==}
|
||||
'@lynx-js/react@0.114.0':
|
||||
resolution: {integrity: sha512-Tjys/FUGcOjBkdd1qm/1xUmwcHPDSBxIu2nX/wKWdxq7DkMQSn+LDidUDMxV2shB3HB3ZFslHM+FvcTwys+EZA==}
|
||||
peerDependencies:
|
||||
'@lynx-js/types': '*'
|
||||
'@types/react': ^18
|
||||
@@ -14932,7 +14932,7 @@ snapshots:
|
||||
postcss: 8.4.49
|
||||
resolve-from: 5.0.0
|
||||
optionalDependencies:
|
||||
expo: 54.0.10(@babel/core@7.28.4)(@expo/metro-runtime@6.1.2)(expo-router@6.0.8)(graphql@16.11.0)(react-native@0.80.2(@babel/core@7.28.4)(@react-native-community/cli@20.0.1(typescript@5.9.2))(@types/react@19.1.12)(react@19.1.1))(react@19.1.1)
|
||||
expo: 54.0.10(@babel/core@7.28.4)(@expo/metro-runtime@6.1.2)(expo-router@6.0.8)(graphql@16.11.0)(react-native@0.81.4(@babel/core@7.28.4)(@react-native-community/cli@20.0.1(typescript@5.9.2))(@react-native/metro-config@0.81.0(@babel/core@7.28.4))(@types/react@19.1.12)(react@19.1.1))(react@19.1.1)
|
||||
transitivePeerDependencies:
|
||||
- bufferutil
|
||||
- supports-color
|
||||
@@ -15017,7 +15017,7 @@ snapshots:
|
||||
'@expo/json-file': 10.0.7
|
||||
'@react-native/normalize-colors': 0.81.4
|
||||
debug: 4.4.1
|
||||
expo: 54.0.10(@babel/core@7.28.4)(@expo/metro-runtime@6.1.2)(expo-router@6.0.8)(graphql@16.11.0)(react-native@0.80.2(@babel/core@7.28.4)(@react-native-community/cli@20.0.1(typescript@5.9.2))(@types/react@19.1.12)(react@19.1.1))(react@19.1.1)
|
||||
expo: 54.0.10(@babel/core@7.28.4)(@expo/metro-runtime@6.1.2)(expo-router@6.0.8)(graphql@16.11.0)(react-native@0.81.4(@babel/core@7.28.4)(@react-native-community/cli@20.0.1(typescript@5.9.2))(@react-native/metro-config@0.81.0(@babel/core@7.28.4))(@types/react@19.1.12)(react@19.1.1))(react@19.1.1)
|
||||
resolve-from: 5.0.0
|
||||
semver: 7.7.2
|
||||
xml2js: 0.6.0
|
||||
@@ -15500,7 +15500,7 @@ snapshots:
|
||||
'@libsql/win32-x64-msvc@0.5.20':
|
||||
optional: true
|
||||
|
||||
'@lynx-js/react@0.112.5(@types/react@18.3.23)':
|
||||
'@lynx-js/react@0.114.0(@types/react@18.3.23)':
|
||||
dependencies:
|
||||
'@types/react': 18.3.23
|
||||
preact: '@hongzhiyuan/preact@10.24.0-00213bad'
|
||||
@@ -19176,7 +19176,7 @@ snapshots:
|
||||
resolve-from: 5.0.0
|
||||
optionalDependencies:
|
||||
'@babel/runtime': 7.28.4
|
||||
expo: 54.0.10(@babel/core@7.28.4)(@expo/metro-runtime@6.1.2)(expo-router@6.0.8)(graphql@16.11.0)(react-native@0.80.2(@babel/core@7.28.4)(@react-native-community/cli@20.0.1(typescript@5.9.2))(@types/react@19.1.12)(react@19.1.1))(react@19.1.1)
|
||||
expo: 54.0.10(@babel/core@7.28.4)(@expo/metro-runtime@6.1.2)(expo-router@6.0.8)(graphql@16.11.0)(react-native@0.81.4(@babel/core@7.28.4)(@react-native-community/cli@20.0.1(typescript@5.9.2))(@react-native/metro-config@0.81.0(@babel/core@7.28.4))(@types/react@19.1.12)(react@19.1.1))(react@19.1.1)
|
||||
transitivePeerDependencies:
|
||||
- '@babel/core'
|
||||
- supports-color
|
||||
@@ -20738,7 +20738,7 @@ snapshots:
|
||||
|
||||
expo-keep-awake@15.0.7(expo@54.0.10)(react@19.1.1):
|
||||
dependencies:
|
||||
expo: 54.0.10(@babel/core@7.28.4)(@expo/metro-runtime@6.1.2)(expo-router@6.0.8)(graphql@16.11.0)(react-native@0.80.2(@babel/core@7.28.4)(@react-native-community/cli@20.0.1(typescript@5.9.2))(@types/react@19.1.12)(react@19.1.1))(react@19.1.1)
|
||||
expo: 54.0.10(@babel/core@7.28.4)(@expo/metro-runtime@6.1.2)(expo-router@6.0.8)(graphql@16.11.0)(react-native@0.81.4(@babel/core@7.28.4)(@react-native-community/cli@20.0.1(typescript@5.9.2))(@react-native/metro-config@0.81.0(@babel/core@7.28.4))(@types/react@19.1.12)(react@19.1.1))(react@19.1.1)
|
||||
react: 19.1.1
|
||||
|
||||
expo-linking@7.1.7(expo@54.0.10)(react-native@0.80.2(@babel/core@7.28.4)(@react-native-community/cli@20.0.1(typescript@5.9.2))(@types/react@19.1.12)(react@19.1.1))(react@19.1.1):
|
||||
|
||||
Reference in New Issue
Block a user