Replace strip-json-comments with jsonc-parser for better error reporting

This commit is contained in:
Chris Scott committed 2026-03-07 10:42:18 -05:00
1 parent e1890d0554
commit e1a4a70d3d
13 files changed
+132 -34

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ export const OpenCodeConfigSchema = z.object({
disabled_providers: z.array(z.string()).optional(),
share: z.enum(["manual", "auto", "disabled"]).optional(),
plugin: z.array(z.string()).optional(),
});
}).strip();
export type OpenCodeConfigContent = z.infer<typeof OpenCodeConfigSchema>;