diff --git a/packages/turbo-utils/package.json b/packages/turbo-utils/package.json index dd017828ad991..f33d371541715 100644 --- a/packages/turbo-utils/package.json +++ b/packages/turbo-utils/package.json @@ -15,11 +15,10 @@ "bugs": { "url": "https://github.com/vercel/turbo/issues" }, - "module": "dist/index.mjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "module": "src/index.ts", + "main": "src/index.ts", + "tyepes": "src/index.ts", "scripts": { - "build": "tsup", "test": "jest", "lint": "eslint src/", "check-types": "tsc --noEmit", @@ -51,7 +50,6 @@ "ora": "4.1.1", "tar": "6.1.13", "ts-jest": "^27.1.1", - "tsup": "^5.12.1", "typescript": "^4.7.4" } } diff --git a/packages/turbo-utils/tsup.config.ts b/packages/turbo-utils/tsup.config.ts deleted file mode 100644 index 716b7a5ac4d72..0000000000000 --- a/packages/turbo-utils/tsup.config.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defineConfig, Options } from "tsup"; - -export default defineConfig((options: Options) => ({ - entry: ["src/**/*.ts"], - treeshake: true, - splitting: true, - format: ["esm", "cjs"], - dts: true, - minify: true, - clean: true, - ...options, -})); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f30440e2a771f..9eda0fd8753c3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1063,9 +1063,6 @@ importers: ts-jest: specifier: ^27.1.1 version: 27.1.5(@babel/core@7.20.12)(@types/jest@27.5.2)(esbuild@0.14.49)(jest@27.5.1)(typescript@4.9.4) - tsup: - specifier: ^5.12.1 - version: 5.12.9(typescript@4.9.4) typescript: specifier: ^4.7.4 version: 4.9.4