diff --git a/package.json b/package.json index 7159474..e0f5abe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mixedbread-ai/sdk", - "version": "2.2.8", + "version": "2.2.9", "license": "Apache-2.0", "description": "SDK for mixedbread.ai", "author": "mixedbread.ai", @@ -8,25 +8,12 @@ "type": "git", "url": "https://github.com/mixedbread-ai/typescript-sdk.git" }, - "main": "./dist/src/index.js", - "module": "./dist/esm/src/index.js", - "types": "./dist/src/index.d.ts", - "exports": { - ".": { - "import": "./dist/esm/src/index.js", - "require": "./dist/src/index.js", - "types": "./dist/src/index.d.ts" - } - }, - "files": [ - "dist", - "src" - ], - "sideEffects": false, + "main": "./index.js", + "types": "./index.d.ts", "scripts": { "format": "prettier --write 'src/**/*.ts'", - "build": "tsc && tsc -p tsconfig.esm.json", - "prepack": "npm run build" + "build": "tsc", + "prepack": "cp -rv dist/. ." }, "dependencies": { "form-data": "4.0.0", diff --git a/tsconfig.esm.json b/tsconfig.esm.json deleted file mode 100644 index 53692fe..0000000 --- a/tsconfig.esm.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "esnext", - "outDir": "dist/esm" - } -} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index e9f943e..3856cec 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,13 +8,10 @@ "esModuleInterop": true, "skipLibCheck": true, "declaration": true, - "noUnusedParameters": true, "outDir": "dist", "rootDir": "src", "baseUrl": "src" }, - "include": [ - "src" - ], + "include": ["src"], "exclude": [] } \ No newline at end of file