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

@ -10,7 +10,7 @@ import { mediaQueue } from "~/classes/queues/media";
import { pushQueue } from "~/classes/queues/push";
import { relationshipQueue } from "~/classes/queues/relationships";
import { config } from "~/config.ts";
import pkg from "~/package.json";
import pkg from "~/package.json" with { type: "json" };
import type { HonoEnv } from "~/types/api";
export const applyToHono = (app: Hono<HonoEnv>): void => {

View file

@ -1,7 +1,7 @@
import * as Sentry from "@sentry/bun";
import { env } from "bun";
import { config } from "~/config.ts";
import pkg from "~/package.json";
import pkg from "~/package.json" with { type: "json" };
const sentryInstance =
config.logging.sentry &&