mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 04:19:20 +00:00
chore: use type: module by default (#5260)
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
"prepare": "prisma generate --schema ./src/adapters/prisma-adapter/test/base.prisma",
|
"prepare": "prisma generate --schema ./src/adapters/prisma-adapter/test/base.prisma",
|
||||||
"typecheck": "tsc --project tsconfig.json"
|
"typecheck": "tsc --project tsconfig.json"
|
||||||
},
|
},
|
||||||
"main": "./dist/index.cjs",
|
"main": "./dist/index.mjs",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@better-auth/cli",
|
"name": "@better-auth/cli",
|
||||||
"version": "1.4.0-beta.9",
|
"version": "1.4.0-beta.9",
|
||||||
|
"type": "module",
|
||||||
"description": "The CLI for Better Auth",
|
"description": "The CLI for Better Auth",
|
||||||
"module": "dist/index.mjs",
|
"module": "dist/index.mjs",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"version": "1.4.0-beta.9",
|
"version": "1.4.0-beta.9",
|
||||||
"description": "The most comprehensive authentication library for TypeScript.",
|
"description": "The most comprehensive authentication library for TypeScript.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.cjs",
|
"main": "./dist/index.mjs",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "@better-auth/expo",
|
"name": "@better-auth/expo",
|
||||||
"version": "1.4.0-beta.9",
|
"version": "1.4.0-beta.9",
|
||||||
|
"type": "module",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.cjs",
|
"main": "dist/index.mjs",
|
||||||
"module": "dist/index.mjs",
|
"module": "dist/index.mjs",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
"name": "@better-auth/sso",
|
"name": "@better-auth/sso",
|
||||||
"author": "Bereket Engida",
|
"author": "Bereket Engida",
|
||||||
"version": "1.4.0-beta.9",
|
"version": "1.4.0-beta.9",
|
||||||
"main": "dist/index.cjs",
|
"type": "module",
|
||||||
|
"main": "dist/index.mjs",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"sso",
|
"sso",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
"name": "@better-auth/stripe",
|
"name": "@better-auth/stripe",
|
||||||
"author": "Bereket Engida",
|
"author": "Bereket Engida",
|
||||||
"version": "1.4.0-beta.9",
|
"version": "1.4.0-beta.9",
|
||||||
"main": "dist/index.cjs",
|
"type": "module",
|
||||||
|
"main": "dist/index.mjs",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"stripe",
|
"stripe",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"version": "1.4.0-beta.9",
|
"version": "1.4.0-beta.9",
|
||||||
"description": "Telemetry package for Better Auth",
|
"description": "Telemetry package for Better Auth",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.cjs",
|
"main": "./dist/index.mjs",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
|||||||
Reference in New Issue
Block a user