Skip to content

Commit 271e649

Browse files
committed
fix(remoteFetch): retry when fetch fails
#301
1 parent 43d51b8 commit 271e649

File tree

11 files changed

+1953
-3273
lines changed

11 files changed

+1953
-3273
lines changed

eslint.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ import { config } from "@ryanccn/eslint-config";
22

33
export default config({
44
globals: ["es2024", "node"],
5-
reactHooks: true,
6-
next: true,
5+
// TODO: figure out why these do not work anymore
6+
reactHooks: false,
7+
next: false,
78
rules: {
89
"unicorn/import-style": "off",
910
"unicorn/prefer-global-this": "off",
10-
"@next/next/no-img-element": "off",
11+
"unicorn/require-module-specifiers": "off",
1112
},
1213
});

next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
import "./.next/dev/types/routes.d.ts";
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

package.json

Lines changed: 35 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -14,72 +14,69 @@
1414
"dependencies": {
1515
"@iarna/toml": "^2.2.5",
1616
"@next-auth/mongodb-adapter": "^1.1.3",
17-
"@radix-ui/react-dialog": "^1.1.14",
18-
"@radix-ui/react-dropdown-menu": "^2.1.15",
17+
"@radix-ui/react-dialog": "^1.1.15",
18+
"@radix-ui/react-dropdown-menu": "^2.1.16",
1919
"@tremor/react": "^3.18.7",
2020
"class-variance-authority": "^0.7.1",
2121
"date-fns": "^4.1.0",
22-
"fast-xml-parser": "^5.2.3",
22+
"fast-xml-parser": "^5.3.0",
2323
"file-saver": "^2.0.5",
2424
"jszip": "^3.10.1",
25-
"lucide-react": "^0.512.0",
26-
"nanoid": "^5.1.5",
27-
"next": "^15.3.3",
25+
"lucide-react": "^0.548.0",
26+
"nanoid": "^5.1.6",
27+
"next": "^16.0.0",
2828
"next-auth": "^4.24.11",
2929
"next-mdx-remote": "^5.0.0",
3030
"next-plausible": "^3.12.4",
3131
"next-themes": "^0.4.6",
3232
"nextjs-progressbar": "^0.0.16",
33-
"react": "19.1.0",
34-
"react-dom": "19.1.0",
35-
"react-hot-toast": "^2.5.2",
33+
"react": "19.2.0",
34+
"react-dom": "19.2.0",
35+
"react-hot-toast": "^2.6.0",
3636
"react-markdown": "^10.1.0",
37-
"tailwind-merge": "^3.3.0",
37+
"tailwind-merge": "^3.3.1",
3838
"valibot": "1.1.0"
3939
},
4040
"devDependencies": {
41-
"@aws-sdk/credential-provider-web-identity": "^3.823.0",
41+
"@aws-sdk/credential-provider-web-identity": "^3.916.0",
4242
"@eslint/eslintrc": "^3.3.1",
43-
"@eslint/js": "^9.28.0",
43+
"@eslint/js": "^9.38.0",
4444
"@microsoft/eslint-formatter-sarif": "^3.1.0",
45-
"@next/bundle-analyzer": "^15.3.3",
46-
"@next/eslint-plugin-next": "^15.3.3",
45+
"@next/bundle-analyzer": "^16.0.0",
4746
"@ryanccn/eslint-config": "^0.5.0",
4847
"@tailwindcss/forms": "^0.5.10",
49-
"@tailwindcss/typography": "^0.5.16",
48+
"@tailwindcss/typography": "^0.5.19",
5049
"@types/file-saver": "^2.0.7",
51-
"@types/node": "22.15.29",
52-
"@types/react": "19.1.6",
53-
"@types/react-dom": "19.1.5",
54-
"@upstash/ratelimit": "^2.0.5",
55-
"@vercel/functions": "^2.1.0",
50+
"@types/node": "24.9.1",
51+
"@types/react": "19.2.2",
52+
"@types/react-dom": "19.2.2",
53+
"@upstash/ratelimit": "^2.0.6",
54+
"@vercel/functions": "^3.1.4",
5655
"@vercel/kv": "^3.0.0",
5756
"autoprefixer": "^10.4.21",
58-
"discord-api-types": "^0.38.10",
59-
"eslint": "^9.28.0",
60-
"eslint-config-next": "15.3.3",
61-
"eslint-config-prettier": "^10.1.5",
62-
"eslint-plugin-react-hooks": "^5.2.0",
63-
"eslint-plugin-unicorn": "^59.0.1",
64-
"globals": "^16.2.0",
57+
"discord-api-types": "^0.38.31",
58+
"eslint": "^9.38.0",
59+
"eslint-config-prettier": "^10.1.8",
60+
"eslint-plugin-unicorn": "^62.0.0",
61+
"globals": "^16.4.0",
6562
"gray-matter": "^4.0.3",
6663
"image-size": "^2.0.2",
6764
"kleur": "^4.1.5",
68-
"mongodb": "^6.17.0",
65+
"mongodb": "^6.20.0",
6966
"node-fetch": "^3.3.2",
70-
"nodemailer": "^7.0.3",
71-
"p-limit": "^6.2.0",
72-
"postcss": "^8.5.4",
73-
"prettier": "^3.5.3",
74-
"prettier-plugin-tailwindcss": "^0.6.12",
67+
"nodemailer": "^7.0.10",
68+
"p-limit": "^7.2.0",
69+
"postcss": "^8.5.6",
70+
"prettier": "^3.6.2",
71+
"prettier-plugin-tailwindcss": "^0.7.1",
7572
"rehype-sanitize": "^6.0.0",
7673
"rehype-stringify": "^10.0.1",
7774
"remark-parse": "^11.0.0",
7875
"remark-rehype": "^11.1.2",
79-
"tailwindcss": "^3.4.17",
80-
"tsx": "^4.19.4",
81-
"typescript": "^5.8.3",
82-
"typescript-eslint": "^8.33.1",
76+
"tailwindcss": "^3.4.18",
77+
"tsx": "^4.20.6",
78+
"typescript": "^5.9.3",
79+
"typescript-eslint": "^8.46.2",
8380
"unified": "^11.0.5"
8481
},
8582
"pnpm": {
@@ -92,5 +89,5 @@
9289
"unrs-resolver"
9390
]
9491
},
95-
"packageManager": "pnpm@10.11.1+sha512.e519b9f7639869dc8d5c3c5dfef73b3f091094b0a006d7317353c72b124e80e1afd429732e28705ad6bfa1ee879c1fce46c128ccebd3192101f43dd67c667912"
92+
"packageManager": "pnpm@10.19.0+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8"
9693
}

0 commit comments

Comments
 (0)