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";