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
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue