From b226e0c60f0d9c4bd069f5c1f9097384f91ddc7e Mon Sep 17 00:00:00 2001 From: Kavin-Charles Date: Mon, 20 Jul 2026 04:11:54 +0530 Subject: [PATCH] fix(plugin-types): build to dist so runtime value imports work main pointed at raw TS source; type-only imports were fine but the new hub-sections route value-imports SLOT_CATALOG, and node crashed requiring a .ts file in the production image. Build the package like the others. --- packages/plugin-types/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/plugin-types/package.json b/packages/plugin-types/package.json index f3db301e..7fdbe1ab 100644 --- a/packages/plugin-types/package.json +++ b/packages/plugin-types/package.json @@ -2,9 +2,11 @@ "name": "@vencore/plugin-types", "version": "0.0.1", "private": true, - "main": "./src/index.ts", - "types": "./src/index.ts", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", "scripts": { + "build": "tsc", + "dev": "tsc --watch", "lint": "tsc --noEmit" }, "devDependencies": {