diff --git a/packages/better-auth/package.json b/packages/better-auth/package.json index 4e9490d3ec..8a89cf19e1 100644 --- a/packages/better-auth/package.json +++ b/packages/better-auth/package.json @@ -36,6 +36,7 @@ ], "main": "./dist/index.mjs", "module": "./dist/index.mjs", + "types": "./dist/index.d.mts", "exports": { ".": { "dev-source": "./src/index.ts", diff --git a/packages/core/package.json b/packages/core/package.json index 4f666e1970..b43bf74c76 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -10,6 +10,7 @@ }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", + "types": "./dist/index.d.mts", "exports": { ".": { "dev-source": "./src/index.ts", diff --git a/packages/expo/package.json b/packages/expo/package.json index 298fdc9e2b..4774eee6f0 100644 --- a/packages/expo/package.json +++ b/packages/expo/package.json @@ -5,6 +5,7 @@ "description": "Better Auth integration for Expo and React Native applications.", "main": "dist/index.mjs", "module": "dist/index.mjs", + "types": "dist/index.d.mts", "repository": { "type": "git", "url": "https://github.com/better-auth/better-auth", diff --git a/packages/passkey/package.json b/packages/passkey/package.json index 7ed77e94a5..33fda5ac89 100644 --- a/packages/passkey/package.json +++ b/packages/passkey/package.json @@ -5,6 +5,7 @@ "description": "Passkey plugin for Better Auth", "main": "dist/index.mjs", "module": "dist/index.mjs", + "types": "dist/index.d.mts", "publishConfig": { "access": "public" }, diff --git a/packages/scim/package.json b/packages/scim/package.json index 8801ad22c2..d819ea5415 100644 --- a/packages/scim/package.json +++ b/packages/scim/package.json @@ -4,6 +4,7 @@ "version": "1.4.5", "type": "module", "main": "dist/index.mjs", + "types": "dist/index.d.mts", "license": "MIT", "repository": { "type": "git", diff --git a/packages/sso/package.json b/packages/sso/package.json index 77efba5405..9b1249ce30 100644 --- a/packages/sso/package.json +++ b/packages/sso/package.json @@ -4,6 +4,7 @@ "version": "1.4.5", "type": "module", "main": "dist/index.mjs", + "types": "dist/index.d.mts", "homepage": "https://www.better-auth.com/docs/plugins/sso", "repository": { "type": "git", diff --git a/packages/stripe/package.json b/packages/stripe/package.json index c3fdbbe7a7..69bda5399f 100644 --- a/packages/stripe/package.json +++ b/packages/stripe/package.json @@ -4,6 +4,7 @@ "version": "1.4.5", "type": "module", "main": "dist/index.mjs", + "types": "dist/index.d.mts", "license": "MIT", "homepage": "https://www.better-auth.com/docs/plugins/stripe", "repository": { diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index 4be4dc5cce..505b739a12 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -10,6 +10,7 @@ }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", + "types": "./dist/index.d.mts", "exports": { ".": { "dev-source": "./src/index.ts",