Skip to content

Commit

Permalink
upgrade deps and migrate breaking change in graphql-codegen/client-pr…
Browse files Browse the repository at this point in the history
…eset

Signed-off-by: Vu Van Dung <[email protected]>
  • Loading branch information
joulev committed Oct 19, 2024
1 parent cbcf79a commit d20a93b
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 28 deletions.
Binary file modified bun.lockb
Binary file not shown.
4 changes: 3 additions & 1 deletion codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ const config: CodegenConfig = {
generates: {
"src/lib/gql/": {
preset: "client",
plugins: [],
},
"src/lib/gql/types.ts": {
plugins: ["typescript"],
},
},
};
Expand Down
53 changes: 27 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,22 @@
"start": "next start",
"type-check": "tsc --pretty --noEmit"
},
"packageManager": "[email protected].13",
"packageManager": "[email protected].31",
"dependencies": {
"@ai-sdk/openai": "0.0.66",
"@auth/core": "0.36.0",
"@aws-sdk/client-s3": "3.665.0",
"@aws-sdk/s3-request-presigner": "3.665.0",
"@biomejs/biome": "1.9.3",
"@ai-sdk/openai": "0.0.68",
"@auth/core": "0.37.1",
"@aws-sdk/client-s3": "3.675.0",
"@aws-sdk/s3-request-presigner": "3.675.0",
"@biomejs/biome": "1.9.4",
"@discordjs/builders": "1.9.0",
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/client-preset": "4.3.3",
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/client-preset": "4.4.0",
"@graphql-codegen/typescript": "4.1.0",
"@graphql-typed-document-node/core": "3.2.0",
"@mdx-js/loader": "3.0.1",
"@mdx-js/react": "3.0.1",
"@neondatabase/serverless": "0.9.5",
"@next/mdx": "14.2.14",
"@mdx-js/loader": "3.1.0",
"@mdx-js/react": "3.1.0",
"@neondatabase/serverless": "0.10.1",
"@next/mdx": "14.2.15",
"@paralleldrive/cuid2": "2.2.2",
"@parcel/watcher": "2.4.1",
"@radix-ui/react-dialog": "1.1.2",
Expand All @@ -41,35 +42,35 @@
"@radix-ui/react-select": "2.1.2",
"@radix-ui/react-slider": "1.2.1",
"@radix-ui/react-slot": "1.1.0",
"@react-google-maps/api": "2.19.3",
"@react-google-maps/api": "2.20.3",
"@t3-oss/env-nextjs": "0.11.1",
"@tailwindcss/typography": "0.5.15",
"@types/google-maps": "3.2.6",
"@types/mdx": "2.0.13",
"@types/node": "22.7.4",
"@types/node": "22.7.7",
"@types/nprogress": "0.2.3",
"@types/react": "18.3.11",
"@types/react-dom": "18.3.0",
"@types/react-dom": "18.3.1",
"@vercel/analytics": "1.3.1",
"@vercel/speed-insights": "1.0.12",
"ai": "3.4.9",
"ai": "3.4.16",
"autoprefixer": "10.4.20",
"concurrently": "9.0.1",
"cva": "1.0.0-beta.1",
"discord-api-types": "0.37.101",
"discord-api-types": "0.37.102",
"dotenv": "16.4.5",
"drizzle-kit": "0.24.2",
"drizzle-orm": "0.33.0",
"drizzle-kit": "0.26.2",
"drizzle-orm": "0.35.2",
"github-slugger": "2.0.0",
"graphql": "16.9.0",
"graphql-request": "7.1.0",
"immer": "10.1.1",
"next": "14.2.14",
"next": "14.2.15",
"next-auth": "5.0.0-beta.22",
"next-axiom": "1.5.1",
"nextjs-route-types": "1.1.1",
"nprogress": "0.2.0",
"nuqs": "1.19.3",
"nuqs": "1.20.0",
"octokit": "4.0.2",
"postcss": "8.4.47",
"react": "18.3.1",
Expand All @@ -84,14 +85,14 @@
"remark-gfm": "4.0.0",
"remark-math": "6.0.0",
"sharp": "0.33.5",
"shiki": "1.21.1",
"tailwind-merge": "2.5.3",
"tailwindcss": "3.4.13",
"shiki": "1.22.0",
"tailwind-merge": "2.5.4",
"tailwindcss": "3.4.14",
"tailwindcss-animate": "1.0.7",
"tailwindcss-bg-patterns": "0.3.0",
"typescript": "5.6.2",
"typescript": "5.6.3",
"valibot": "0.42.1",
"wrangler": "3.80.0",
"wrangler": "3.81.0",
"ytmusic-api": "5.2.2",
"zod": "3.23.8"
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/anime/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as v from "valibot";

import type { MediaTitle } from "~/lib/gql/graphql";
import type { MediaTitle } from "~/lib/gql/types";

export function convertSeason(season: string) {
return season[0] + season.slice(1).toLowerCase();
Expand Down

0 comments on commit d20a93b

Please sign in to comment.