From 362adb2a0d9160a2dd054dab03bb79eb5a4c69f4 Mon Sep 17 00:00:00 2001 From: "devnexus-automation[bot]" <286661136+devnexus-automation[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 10:59:25 +0200 Subject: [PATCH] Improve TypeScript plugin package exports --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 891fdb0..0095538 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,10 @@ }, "main": "./dist/index.js", "exports": { - ".": "./dist/index.js" + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } }, "types": "./dist/index.d.ts", "files": [ @@ -30,7 +33,7 @@ "node": ">=24" }, "scripts": { - "build": "tsc -p tsconfig.json", + "build": "tsc -p tsconfig.json && node -e \"require('node:fs').chmodSync('dist/cli.js', 0o755)\"", "test": "vitest run", "check": "npm run build && npm test" },