fix: 🐛 Add type: json specifier to all JSON imports

This commit is contained in:
Jesse Wierzbinski 2025-05-26 08:55:06 +02:00
parent fa5be6bd6a
commit e5e688a154
No known key found for this signature in database
8 changed files with 8 additions and 8 deletions

View file

@ -8,7 +8,7 @@ import type { z } from "zod";
import { apiRoute } from "@/api";
import { markdownParse } from "~/classes/functions/status";
import { config } from "~/config.ts";
import manifest from "~/package.json";
import manifest from "~/package.json" with { type: "json" };
export default apiRoute((app) =>
app.get(

View file

@ -6,7 +6,7 @@ import { describeRoute } from "hono-openapi";
import { resolver } from "hono-openapi/zod";
import { apiRoute } from "@/api";
import { config } from "~/config.ts";
import pkg from "~/package.json";
import pkg from "~/package.json" with { type: "json" };
export default apiRoute((app) =>
app.get(

View file

@ -4,7 +4,7 @@ import { resolver } from "hono-openapi/zod";
import { z } from "zod";
import { apiRoute } from "@/api";
import { config } from "~/config.ts";
import manifest from "~/package.json";
import manifest from "~/package.json" with { type: "json" };
export default apiRoute((app) =>
app.get(

View file

@ -6,7 +6,7 @@ import { resolver } from "hono-openapi/zod";
import { apiRoute } from "@/api";
import { urlToContentFormat } from "@/content_types";
import { config } from "~/config.ts";
import pkg from "~/package.json";
import pkg from "~/package.json" with { type: "json" };
import { InstanceMetadataSchema } from "~/packages/sdk/schemas";
export default apiRoute((app) =>