From 2106722c07a07b585b9a66e6fbe215300f2a1ce4 Mon Sep 17 00:00:00 2001 From: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com> Date: Tue, 20 Oct 2026 00:25:17 -0400 Subject: [PATCH] fix(shared): import jsonc-parser ESM entry Align with ocm-cli's import so shared resolves the ESM build and its types consistently under Bun and Vite bundling. --- shared/src/utils/jsonc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/utils/jsonc.ts b/shared/src/utils/jsonc.ts index a858855b..f8315439 100644 --- a/shared/src/utils/jsonc.ts +++ b/shared/src/utils/jsonc.ts @@ -1,4 +1,4 @@ -import { parse as parseJsoncLib, parseTree, findNodeAtLocation, type ParseError, type JSONPath } from 'jsonc-parser' +import { parse as parseJsoncLib, parseTree, findNodeAtLocation, type ParseError, type JSONPath } from 'jsonc-parser/lib/esm/main.js' export function parseJsonc(content: string): T { const errors: ParseError[] = []