From e638c6be6a2b1491c27bf690125c92a85f666691 Mon Sep 17 00:00:00 2001 From: Ajay Ghanwat Date: Wed, 12 Aug 2026 22:11:32 +0530 Subject: [PATCH] fix(cli): bundle current WRN typechecker --- bun.lock | 2 +- packages/cli/package.json | 2 +- packages/cli/src/types.ts | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bun.lock b/bun.lock index aed076a1..83363cf6 100644 --- a/bun.lock +++ b/bun.lock @@ -268,7 +268,7 @@ }, "packages/cli": { "name": "@wrnexus/cli", - "version": "0.8.29", + "version": "0.8.30", "bin": { "wrnexus": "src/index.ts", }, diff --git a/packages/cli/package.json b/packages/cli/package.json index 0aea1f29..2146f773 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/cli", - "version": "0.8.29", + "version": "0.8.30", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/cli/src/types.ts b/packages/cli/src/types.ts index 9a6e27e9..e99dc177 100644 --- a/packages/cli/src/types.ts +++ b/packages/cli/src/types.ts @@ -1,6 +1,8 @@ import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs"; import { basename, extname, join, relative, resolve } from "node:path"; import { buildRouter, createRouteManifest, nameRoutes } from "@wrnexus/router"; +// Keep the CLI checker sourced from the package contract so typecheck fixes are +// included in each published CLI bundle. import { checkWrnFile, type WrnTypeDiagnostic } from "@wrnexus/typecheck"; import { parse } from "@wrnexus/syntax"; import { generate, generateTargets } from "@wrnexus/compiler";