From 861974f9a4b9bc9269a0bde330ea9556827a36f4 Mon Sep 17 00:00:00 2001 From: Hieuzest Date: Thu, 24 Oct 2024 16:43:53 +0800 Subject: [PATCH] chore: update exports in package.json --- packages/core/package.json | 4 ++-- packages/memory/package.json | 4 ++-- packages/mongo/package.json | 4 ++-- packages/mysql/package.json | 4 ++-- packages/postgres/package.json | 4 ++-- packages/sql-utils/package.json | 4 ++-- packages/sqlite/package.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 2810d87..5ce03e2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -8,9 +8,9 @@ "typings": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "import": "./lib/index.mjs", - "require": "./lib/index.cjs", - "types": "./lib/index.d.ts" + "require": "./lib/index.cjs" }, "./cli": "./lib/cli.mjs", "./src/*": "./src/*", diff --git a/packages/memory/package.json b/packages/memory/package.json index f3e15ca..cff731b 100644 --- a/packages/memory/package.json +++ b/packages/memory/package.json @@ -8,9 +8,9 @@ "typings": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "import": "./lib/index.mjs", - "require": "./lib/index.cjs", - "types": "./lib/index.d.ts" + "require": "./lib/index.cjs" }, "./src/*": "./src/*", "./package.json": "./package.json" diff --git a/packages/mongo/package.json b/packages/mongo/package.json index 0796ea0..5481dbc 100644 --- a/packages/mongo/package.json +++ b/packages/mongo/package.json @@ -8,9 +8,9 @@ "typings": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "import": "./lib/index.mjs", - "require": "./lib/index.cjs", - "types": "./lib/index.d.ts" + "require": "./lib/index.cjs" }, "./src/*": "./src/*", "./package.json": "./package.json" diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 021c204..66685ae 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -8,9 +8,9 @@ "typings": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "import": "./lib/index.mjs", - "require": "./lib/index.cjs", - "types": "./lib/index.d.ts" + "require": "./lib/index.cjs" }, "./src/*": "./src/*", "./package.json": "./package.json" diff --git a/packages/postgres/package.json b/packages/postgres/package.json index 24f6798..a329f09 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -8,9 +8,9 @@ "typings": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "import": "./lib/index.mjs", - "require": "./lib/index.cjs", - "types": "./lib/index.d.ts" + "require": "./lib/index.cjs" }, "./src/*": "./src/*", "./package.json": "./package.json" diff --git a/packages/sql-utils/package.json b/packages/sql-utils/package.json index 2f8ed5c..92fcaf2 100644 --- a/packages/sql-utils/package.json +++ b/packages/sql-utils/package.json @@ -8,9 +8,9 @@ "typings": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "import": "./lib/index.mjs", - "require": "./lib/index.cjs", - "types": "./lib/index.d.ts" + "require": "./lib/index.cjs" }, "./src/*": "./src/*", "./package.json": "./package.json" diff --git a/packages/sqlite/package.json b/packages/sqlite/package.json index c73af09..4022e9b 100644 --- a/packages/sqlite/package.json +++ b/packages/sqlite/package.json @@ -8,9 +8,9 @@ "typings": "lib/index.d.ts", "exports": { ".": { + "types": "./lib/index.d.ts", "import": "./lib/index.mjs", - "require": "./lib/index.cjs", - "types": "./lib/index.d.ts" + "require": "./lib/index.cjs" }, "./src/*": "./src/*", "./package.json": "./package.json"