chore: update deps

This commit is contained in:
Derock 2024-01-04 12:38:23 -05:00
parent 4d021db4a1
commit 60f56e7fc7
No known key found for this signature in database
3 changed files with 1018 additions and 1345 deletions

View file

@ -16,10 +16,10 @@
"fetch-compose-types": "curl -s https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json | json2ts > src/server/docker/compose.d.ts"
},
"dependencies": {
"@hookform/resolvers": "^3.3.2",
"@mantine/form": "^7.3.2",
"@hookform/resolvers": "^3.3.4",
"@mantine/form": "^7.4.0",
"@nicktomlin/codemirror-lang-yaml-lite": "^0.0.3",
"@prisma/migrate": "^5.7.0",
"@prisma/migrate": "^5.7.1",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-icons": "^1.3.0",
@ -28,11 +28,11 @@
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.0.4",
"@t3-oss/env-nextjs": "^0.7.1",
"@tanstack/react-query": "^5.14.1",
"@tanstack/react-table": "^8.11.0",
"@trpc/client": "11.0.0-alpha-next-2023-12-18-04-17-50.120",
"@trpc/react-query": "11.0.0-alpha-next-2023-12-18-04-17-50.120",
"@trpc/server": "11.0.0-alpha-next-2023-12-18-04-17-50.120",
"@tanstack/react-query": "^5.17.1",
"@tanstack/react-table": "^8.11.3",
"@trpc/client": "11.0.0-next-alpha.150",
"@trpc/react-query": "11.0.0-next-alpha.150",
"@trpc/server": "11.0.0-next-alpha.150",
"@uiw/codemirror-extensions-langs": "^4.21.21",
"@uiw/react-codemirror": "^4.21.21",
"argon2": "^0.31.2",
@ -40,14 +40,14 @@
"bufferutil": "^4.0.8",
"chalk": "^5.3.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"clsx": "^2.1.0",
"cookie": "^0.6.0",
"date-fns": "^3.0.0",
"dockerode": "^4.0.0",
"date-fns": "^3.0.6",
"dockerode": "^4.0.2",
"dotenv": "^16.3.1",
"drizzle-orm": "^0.29.1",
"drizzle-orm": "^0.29.3",
"extensionless": "^1.9.6",
"framer-motion": "^10.16.16",
"framer-motion": "^10.17.6",
"ipaddr.js": "^2.1.0",
"lucide-react": "^0.298.0",
"next": "14.0.4",
@ -59,40 +59,40 @@
"react-icons": "^4.12.0",
"react-simple-code-editor": "^0.13.1",
"recharts": "^2.10.3",
"sonner": "^1.2.4",
"sonner": "^1.3.1",
"superjson": "^2.2.1",
"tailwind-merge": "^2.1.0",
"tailwind-merge": "^2.2.0",
"tailwindcss-animate": "^1.0.7",
"trpc-openapi": "^1.2.0",
"ts-permissions": "^1.0.0",
"ua-parser-js": "^1.0.37",
"winston": "^3.11.0",
"ws": "^8.15.1",
"ws": "^8.16.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.8",
"@types/cookie": "^0.6.0",
"@types/dockerode": "^3.3.23",
"@types/eslint": "^8.44.9",
"@types/node": "^20.10.5",
"@types/eslint": "^8.56.1",
"@types/node": "^20.10.6",
"@types/node-os-utils": "^1.3.4",
"@types/react": "^18.2.45",
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"@types/ua-parser-js": "^0.7.39",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"autoprefixer": "^10.4.16",
"drizzle-kit": "^0.20.7",
"drizzle-kit": "^0.20.9",
"eslint": "^8.56.0",
"eslint-config-next": "^14.0.4",
"json-schema-to-typescript": "^13.1.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"prettier-plugin-tailwindcss": "^0.5.9",
"tailwindcss": "^3.3.6",
"prettier-plugin-tailwindcss": "^0.5.10",
"tailwindcss": "^3.4.0",
"tscpaths": "^0.0.9",
"tsup": "^8.0.1",
"typed-emitter": "^2.1.0",

File diff suppressed because it is too large Load diff

View file

@ -7,6 +7,7 @@ import {
unstable_httpBatchStreamLink,
} from "@trpc/client";
import { TRPCError } from "@trpc/server";
import chalk from "chalk";
import { cookies, headers } from "next/headers";
import { type AppRouter } from "~/server/api/root";
@ -29,7 +30,7 @@ export const api = createTRPCClient<AppRouter>({
if (data.direction === "up") return;
// log errors
if (data.result instanceof Error) {
if (data.result instanceof Error || data.result instanceof TRPCError) {
// 4xx errors should not be logged as an error
if (data.result instanceof TRPCClientError) {
// this is used to check if the user is logged in, so we dont want to log it