From 7044b10868aaa0b4710fb6c1995fc898699390d3 Mon Sep 17 00:00:00 2001 From: pullfrog Date: Tue, 9 Dec 2025 00:52:23 +0000 Subject: [PATCH] Remove unnecessary library export fields from package.json zshy is a CLI tool that doesn't export a programmatic API, so the module, main, types, and exports fields are unnecessary and misleading. The bin field correctly declares the CLI entry point. Fixes #58 --- package.json | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/package.json b/package.json index a9fdc3c..33f895d 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "type": "github", "url": "https://github.com/sponsors/colinhacks" }, - "module": "./dist/index.js", "bin": "./dist/index.cjs", "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", @@ -69,16 +68,6 @@ "@zod/source": "src" } }, - "main": "./dist/index.cjs", - "types": "./dist/index.d.cts", - "exports": { - ".": { - "@zod/source": "./src/index.ts", - "types": "./dist/index.d.cts", - "import": "./dist/index.js", - "require": "./dist/index.cjs" - } - }, "files": [ "dist" ],