bump react and nextjs
Some checks failed
Deploy Backend / deploy (push) Successful in 5m19s
Deploy Website / deploy (push) Failing after 2m59s

This commit is contained in:
Lee 2024-10-13 01:14:51 +01:00
parent ae2f30a97a
commit 8c3ca26c9c
5 changed files with 6 additions and 8 deletions

BIN
bun.lockb

Binary file not shown.

@ -21,7 +21,7 @@ import { delay } from "@ssr/common/utils/utils";
// Load .env file // Load .env file
dotenv.config({ dotenv.config({
logLevel: "success", logLevel: (await Bun.file(".env").exists()) ? "success" : "warn",
path: ".env", path: ".env",
override: true, override: true,
}); });
@ -33,8 +33,8 @@ export const app = new Elysia();
app.use( app.use(
cron({ cron({
name: "player-statistics-tracker-cron", name: "player-statistics-tracker-cron",
pattern: "1 0 * * *", // Every day at 00:01 (London time) pattern: "1 0 * * *", // Every day at 00:01
timezone: "Europe/London", timezone: "Europe/London", // UTC time
run: async () => { run: async () => {
const pages = 20; // top 1000 players const pages = 20; // top 1000 players
const cooldown = 60_000 / 250; // 250 requests per minute const cooldown = 60_000 / 250; // 250 requests per minute

@ -35,14 +35,14 @@
"js-cookie": "^3.0.5", "js-cookie": "^3.0.5",
"ky": "^1.7.2", "ky": "^1.7.2",
"lucide-react": "^0.451.0", "lucide-react": "^0.451.0",
"next": "15.0.0-rc.0", "next": "15.0.0-canary.186",
"next-build-id": "^3.0.0", "next-build-id": "^3.0.0",
"next-themes": "^0.3.0", "next-themes": "^0.3.0",
"node-cache": "^5.1.2", "node-cache": "^5.1.2",
"react": "19.0.0-rc-3edc000d-20240926", "react": "19.0.0-rc-09111202-20241011",
"react-chartjs-2": "^5.2.0", "react-chartjs-2": "^5.2.0",
"react-countup": "^6.5.3", "react-countup": "^6.5.3",
"react-dom": "19.0.0-rc-3edc000d-20240926", "react-dom": "19.0.0-rc-09111202-20241011",
"react-hook-form": "^7.53.0", "react-hook-form": "^7.53.0",
"tailwind-merge": "^2.5.2", "tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",

@ -11,7 +11,6 @@ import PlayerTrackedStatus from "@/components/player/player-tracked-status";
import ScoreSaberPlayer from "@ssr/common/types/player/impl/scoresaber-player"; import ScoreSaberPlayer from "@ssr/common/types/player/impl/scoresaber-player";
import Link from "next/link"; import Link from "next/link";
import { capitalizeFirstLetter } from "@/common/string-utils"; import { capitalizeFirstLetter } from "@/common/string-utils";
import { normalizedRegionName } from "@ssr/common/utils/region-utils";
/** /**
* Renders the change for a stat. * Renders the change for a stat.

@ -3,7 +3,6 @@ import { getDifficultyFromScoreSaberDifficulty } from "@/common/scoresaber-utils
import FallbackLink from "@/components/fallback-link"; import FallbackLink from "@/components/fallback-link";
import Tooltip from "@/components/tooltip"; import Tooltip from "@/components/tooltip";
import { StarIcon } from "@heroicons/react/24/solid"; import { StarIcon } from "@heroicons/react/24/solid";
import clsx from "clsx";
import Image from "next/image"; import Image from "next/image";
import { songDifficultyToColor } from "@/common/song-utils"; import { songDifficultyToColor } from "@/common/song-utils";
import Link from "next/link"; import Link from "next/link";