chore: downgrade hono

This commit is contained in:
Nicolas Meienberger 2026-01-09 08:08:35 +01:00
parent f9fcf959fb
commit 2f42fe64c1
3 changed files with 116 additions and 118 deletions

View file

@ -64,7 +64,7 @@ COPY --from=deps /deps/shoutrrr /usr/local/bin/shoutrrr
COPY ./package.json ./bun.lock ./ COPY ./package.json ./bun.lock ./
RUN bun install --frozen-lockfile RUN bun install --frozen-lockfile --verbose --ignore-scripts
COPY . . COPY . .

View file

@ -40,7 +40,7 @@
"dotenv": "^17.2.3", "dotenv": "^17.2.3",
"drizzle-orm": "^0.45.1", "drizzle-orm": "^0.45.1",
"es-toolkit": "^1.42.0", "es-toolkit": "^1.42.0",
"hono": "4.11.3", "hono": "4.10.5",
"hono-openapi": "^1.1.1", "hono-openapi": "^1.1.1",
"hono-rate-limiter": "^0.5.3", "hono-rate-limiter": "^0.5.3",
"http-errors-enhanced": "^4.0.2", "http-errors-enhanced": "^4.0.2",
@ -931,7 +931,7 @@
"hast-util-whitespace": ["hast-util-whitespace@3.0.0", "", { "dependencies": { "@types/hast": "^3.0.0" } }, "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw=="], "hast-util-whitespace": ["hast-util-whitespace@3.0.0", "", { "dependencies": { "@types/hast": "^3.0.0" } }, "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw=="],
"hono": ["hono@4.11.3", "", {}, "sha512-PmQi306+M/ct/m5s66Hrg+adPnkD5jiO6IjA7WhWw0gSBSo1EcRegwuI1deZ+wd5pzCGynCcn2DprnE4/yEV4w=="], "hono": ["hono@4.10.5", "", {}, "sha512-h/MXuTkoAK8NG1EfDp0jI1YLf6yGdDnfkebRO2pwEh5+hE3RAJFXkCsnD0vamSiARK4ZrB6MY+o3E/hCnOyHrQ=="],
"hono-openapi": ["hono-openapi@1.1.2", "", { "peerDependencies": { "@hono/standard-validator": "^0.2.0", "@standard-community/standard-json": "^0.3.5", "@standard-community/standard-openapi": "^0.2.9", "@types/json-schema": "^7.0.15", "hono": "^4.8.3", "openapi-types": "^12.1.3" }, "optionalPeers": ["@hono/standard-validator", "hono"] }, "sha512-toUcO60MftRBxqcVyxsHNYs2m4vf4xkQaiARAucQx3TiBPDtMNNkoh+C4I1vAretQZiGyaLOZNWn1YxfSyUA5g=="], "hono-openapi": ["hono-openapi@1.1.2", "", { "peerDependencies": { "@hono/standard-validator": "^0.2.0", "@standard-community/standard-json": "^0.3.5", "@standard-community/standard-openapi": "^0.2.9", "@types/json-schema": "^7.0.15", "hono": "^4.8.3", "openapi-types": "^12.1.3" }, "optionalPeers": ["@hono/standard-validator", "hono"] }, "sha512-toUcO60MftRBxqcVyxsHNYs2m4vf4xkQaiARAucQx3TiBPDtMNNkoh+C4I1vAretQZiGyaLOZNWn1YxfSyUA5g=="],
@ -1597,8 +1597,6 @@
"react-router-hono-server/@drizzle-team/brocli": ["@drizzle-team/brocli@0.11.0", "", {}, "sha512-hD3pekGiPg0WPCCGAZmusBBJsDqGUR66Y452YgQsZOnkdQ7ViEPKuyP4huUGEZQefp8g34RRodXYmJ2TbCH+tg=="], "react-router-hono-server/@drizzle-team/brocli": ["@drizzle-team/brocli@0.11.0", "", {}, "sha512-hD3pekGiPg0WPCCGAZmusBBJsDqGUR66Y452YgQsZOnkdQ7ViEPKuyP4huUGEZQefp8g34RRodXYmJ2TbCH+tg=="],
"react-router-hono-server/hono": ["hono@4.10.5", "", {}, "sha512-h/MXuTkoAK8NG1EfDp0jI1YLf6yGdDnfkebRO2pwEh5+hE3RAJFXkCsnD0vamSiARK4ZrB6MY+o3E/hCnOyHrQ=="],
"send/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="], "send/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="],
"strip-ansi/ansi-regex": ["ansi-regex@6.2.2", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="], "strip-ansi/ansi-regex": ["ansi-regex@6.2.2", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="],

View file

@ -1,115 +1,115 @@
{ {
"name": "zerobyte", "name": "zerobyte",
"private": true, "private": true,
"type": "module", "type": "module",
"packageManager": "bun@1.3.5", "scripts": {
"scripts": { "lint": "oxlint --type-aware",
"lint": "oxlint --type-aware", "build": "react-router build",
"build": "react-router build", "dev": "bunx --bun vite",
"dev": "bunx --bun vite", "start": "bun ./dist/server/index.js",
"start": "bun ./dist/server/index.js", "cli:dev": "bun run app/server/cli/main.ts",
"cli:dev": "bun run app/server/cli/main.ts", "cli": "ZEROBYTE_CLI=1 bun ./dist/server/index.js",
"cli": "ZEROBYTE_CLI=1 bun ./dist/server/index.js", "tsc": "react-router typegen && tsc",
"tsc": "react-router typegen && tsc", "start:dev": "docker compose down && docker compose up --build zerobyte-dev",
"start:dev": "docker compose down && docker compose up --build zerobyte-dev", "start:prod": "docker compose down && docker compose up --build zerobyte-prod",
"start:prod": "docker compose down && docker compose up --build zerobyte-prod", "gen:api-client": "openapi-ts",
"gen:api-client": "openapi-ts", "gen:migrations": "drizzle-kit generate",
"gen:migrations": "drizzle-kit generate", "studio": "drizzle-kit studio",
"studio": "drizzle-kit studio", "test:server": "dotenv -e .env.test -- bun test app/server --preload ./app/test/setup.ts",
"test:server": "dotenv -e .env.test -- bun test app/server --preload ./app/test/setup.ts", "test:client": "dotenv -e .env.test -- bun test app/client --preload ./app/test/setup-client.ts",
"test:client": "dotenv -e .env.test -- bun test app/client --preload ./app/test/setup-client.ts", "test": "bun run test:server && bun run test:client"
"test": "bun run test:server && bun run test:client" },
}, "dependencies": {
"overrides": { "@dnd-kit/core": "^6.3.1",
"esbuild": "^0.27.2" "@dnd-kit/sortable": "^10.0.0",
}, "@dnd-kit/utilities": "^3.2.2",
"dependencies": { "@hono/standard-validator": "^0.2.0",
"@dnd-kit/core": "^6.3.1", "@hookform/resolvers": "^5.2.2",
"@dnd-kit/sortable": "^10.0.0", "@inquirer/prompts": "^8.0.2",
"@dnd-kit/utilities": "^3.2.2", "@radix-ui/react-alert-dialog": "^1.1.15",
"@hono/standard-validator": "^0.2.0", "@radix-ui/react-checkbox": "^1.3.3",
"@hookform/resolvers": "^5.2.2", "@radix-ui/react-collapsible": "^1.1.12",
"@inquirer/prompts": "^8.0.2", "@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-alert-dialog": "^1.1.15", "@radix-ui/react-hover-card": "^1.1.15",
"@radix-ui/react-checkbox": "^1.3.3", "@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-collapsible": "^1.1.12", "@radix-ui/react-progress": "^1.1.8",
"@radix-ui/react-dialog": "^1.1.15", "@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-hover-card": "^1.1.15", "@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-label": "^2.1.8", "@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-progress": "^1.1.8", "@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-scroll-area": "^1.2.10", "@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-select": "^2.2.6", "@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-separator": "^1.1.8", "@radix-ui/react-tooltip": "^1.2.8",
"@radix-ui/react-slot": "^1.2.4", "@react-router/node": "^7.12.0",
"@radix-ui/react-switch": "^1.2.6", "@react-router/serve": "^7.12.0",
"@radix-ui/react-tabs": "^1.1.13", "@scalar/hono-api-reference": "^0.9.32",
"@radix-ui/react-tooltip": "^1.2.8", "@tanstack/react-query": "^5.90.16",
"@react-router/node": "^7.12.0", "arktype": "^2.1.28",
"@react-router/serve": "^7.12.0", "better-auth": "^1.4.10",
"@scalar/hono-api-reference": "^0.9.32", "class-variance-authority": "^0.7.1",
"@tanstack/react-query": "^5.90.16", "clsx": "^2.1.1",
"arktype": "^2.1.28", "commander": "^14.0.2",
"better-auth": "^1.4.10", "cron-parser": "^5.4.0",
"class-variance-authority": "^0.7.1", "date-fns": "^4.1.0",
"clsx": "^2.1.1", "dither-plugin": "^1.1.1",
"commander": "^14.0.2", "dotenv": "^17.2.3",
"cron-parser": "^5.4.0", "drizzle-orm": "^0.45.1",
"date-fns": "^4.1.0", "es-toolkit": "^1.42.0",
"dither-plugin": "^1.1.1", "hono": "4.10.5",
"dotenv": "^17.2.3", "hono-openapi": "^1.1.1",
"drizzle-orm": "^0.45.1", "hono-rate-limiter": "^0.5.3",
"es-toolkit": "^1.42.0", "http-errors-enhanced": "^4.0.2",
"hono": "4.11.3", "isbot": "^5.1.32",
"hono-openapi": "^1.1.1", "lucide-react": "^0.562.0",
"hono-rate-limiter": "^0.5.3", "next-themes": "^0.4.6",
"http-errors-enhanced": "^4.0.2", "node-cron": "^4.2.1",
"isbot": "^5.1.32", "react": "^19.2.1",
"lucide-react": "^0.562.0", "react-dom": "^19.2.1",
"next-themes": "^0.4.6", "react-hook-form": "^7.70.0",
"node-cron": "^4.2.1", "react-markdown": "^10.1.0",
"react": "^19.2.1", "react-router": "^7.12.0",
"react-dom": "^19.2.1", "react-router-hono-server": "^2.22.0",
"react-hook-form": "^7.70.0", "recharts": "3.6.0",
"react-markdown": "^10.1.0", "remark-gfm": "^4.0.1",
"react-router": "^7.12.0", "semver": "^7.7.3",
"react-router-hono-server": "^2.22.0", "slugify": "^1.6.6",
"recharts": "3.6.0", "sonner": "^2.0.7",
"remark-gfm": "^4.0.1", "tailwind-merge": "^3.4.0",
"semver": "^7.7.3", "tiny-typed-emitter": "^2.1.0",
"slugify": "^1.6.6", "winston": "^3.18.3",
"sonner": "^2.0.7", "yaml": "^2.8.2"
"tailwind-merge": "^3.4.0", },
"tiny-typed-emitter": "^2.1.0", "devDependencies": {
"winston": "^3.18.3", "@faker-js/faker": "^10.2.0",
"yaml": "^2.8.2" "@happy-dom/global-registrator": "^20.1.0",
}, "@hey-api/openapi-ts": "^0.90.2",
"devDependencies": { "@react-router/dev": "^7.12.0",
"@faker-js/faker": "^10.2.0", "@tailwindcss/typography": "^0.5.19",
"@happy-dom/global-registrator": "^20.1.0", "@tailwindcss/vite": "^4.1.17",
"@hey-api/openapi-ts": "^0.90.2", "@tanstack/react-query-devtools": "^5.91.2",
"@react-router/dev": "^7.12.0", "@testing-library/dom": "^10.4.1",
"@tailwindcss/typography": "^0.5.19", "@testing-library/react": "^16.3.1",
"@tailwindcss/vite": "^4.1.17", "@types/bun": "^1.3.4",
"@tanstack/react-query-devtools": "^5.91.2", "@types/node": "^25.0.3",
"@testing-library/dom": "^10.4.1", "@types/react": "^19.2.7",
"@testing-library/react": "^16.3.1", "@types/react-dom": "^19.2.3",
"@types/bun": "^1.3.4", "@types/semver": "^7.7.1",
"@types/node": "^25.0.3", "dotenv-cli": "^11.0.0",
"@types/react": "^19.2.7", "drizzle-kit": "^0.31.7",
"@types/react-dom": "^19.2.3", "lightningcss": "^1.30.2",
"@types/semver": "^7.7.1", "oxfmt": "^0.23.0",
"dotenv-cli": "^11.0.0", "oxlint": "^1.38.0",
"drizzle-kit": "^0.31.7", "oxlint-tsgolint": "^0.10.1",
"lightningcss": "^1.30.2", "tailwindcss": "^4.1.17",
"oxfmt": "^0.23.0", "tinyglobby": "^0.2.15",
"oxlint": "^1.38.0", "tw-animate-css": "^1.4.0",
"oxlint-tsgolint": "^0.10.1", "typescript": "^5.9.3",
"tailwindcss": "^4.1.17", "vite": "^7.3.1",
"tinyglobby": "^0.2.15", "vite-bundle-analyzer": "^1.2.3",
"tw-animate-css": "^1.4.0", "vite-tsconfig-paths": "^6.0.3"
"typescript": "^5.9.3", },
"vite": "^7.3.1", "overrides": {
"vite-bundle-analyzer": "^1.2.3", "esbuild": "^0.27.2"
"vite-tsconfig-paths": "^6.0.3" },
} "packageManager": "bun@1.3.5"
} }