mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix: 🐛 Add type: json specifier to all JSON imports
This commit is contained in:
parent
fa5be6bd6a
commit
e5e688a154
8 changed files with 8 additions and 8 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue