oopsie doodle
Some checks failed
Deploy / deploy (push) Failing after 41s

This commit is contained in:
Lee 2024-09-30 08:48:58 +01:00
parent 59ec24bbd9
commit dccda18b49
8 changed files with 20 additions and 24 deletions

@ -1,8 +1,8 @@
FROM fascinated/docker-images:nodejs_20_with_pnpm AS base FROM fascinated/docker-images:nodejs_20_with_pnpm AS base
# Install depends # Install dependencies, including Python
FROM base AS deps FROM base AS deps
RUN apk add --no-cache libc6-compat RUN apk add --no-cache libc6-compat python3 make g++ gcc
WORKDIR /app WORKDIR /app
COPY package.json* pnpm-lock.yaml* ./ COPY package.json* pnpm-lock.yaml* ./
RUN pnpm install --frozen-lockfile --quiet RUN pnpm install --frozen-lockfile --quiet

@ -1,5 +1,5 @@
import { BeatSaverMapToken as BSMap } from "@/common/model/token/beatsaver/beat-saver-map-token"; import {BeatSaverMapToken as BSMap} from "@/common/model/token/beatsaver/beat-saver-map-token";
import { Entity } from "dexie"; import {Entity} from "dexie";
import Database from "../database"; import Database from "../database";
/** /**

@ -1,4 +1,4 @@
import { Entity } from "dexie"; import {Entity} from "dexie";
import Database from "../database"; import Database from "../database";
/** /**

@ -1,8 +1,8 @@
import { createCanvas, loadImage } from "canvas"; import {createCanvas, loadImage} from "canvas";
import { config } from "../../config"; import {config} from "../../config";
import ky from "ky"; import ky from "ky";
import { extractColors } from "extract-colors"; import {extractColors} from "extract-colors";
import { cache } from "react"; import {cache} from "react";
/** /**
* Proxies all non-localhost images to make them load faster. * Proxies all non-localhost images to make them load faster.

@ -1,13 +1,9 @@
import Player, { StatisticChange } from "../player"; import Player, {StatisticChange} from "../player";
import ScoreSaberPlayerToken from "@/common/model/token/scoresaber/score-saber-player-token"; import ScoreSaberPlayerToken from "@/common/model/token/scoresaber/score-saber-player-token";
import { PlayerHistory } from "@/common/player/player-history"; import {PlayerHistory} from "@/common/player/player-history";
import { config } from "../../../../../config"; import {config} from "../../../../../config";
import ky from "ky"; import ky from "ky";
import { import {formatDateMinimal, getDaysAgoDate, getMidnightAlignedDate,} from "@/common/time-utils";
formatDateMinimal,
getDaysAgoDate,
getMidnightAlignedDate,
} from "@/common/time-utils";
/** /**
* A ScoreSaber player. * A ScoreSaber player.

@ -1,7 +1,7 @@
"use client"; "use client";
import { createContext, useEffect, useState } from "react"; import {createContext, useEffect, useState} from "react";
import Database, { db } from "../../common/database/database"; import Database, {db} from "../../common/database/database";
import FullscreenLoader from "./fullscreen-loader"; import FullscreenLoader from "./fullscreen-loader";
/** /**

@ -1,13 +1,13 @@
import { formatNumberWithCommas, formatPp } from "@/common/number-utils"; import {formatNumberWithCommas, formatPp} from "@/common/number-utils";
import { GlobeAmericasIcon } from "@heroicons/react/24/solid"; import {GlobeAmericasIcon} from "@heroicons/react/24/solid";
import Card from "../card"; import Card from "../card";
import CountryFlag from "../country-flag"; import CountryFlag from "../country-flag";
import { Avatar, AvatarImage } from "../ui/avatar"; import {Avatar, AvatarImage} from "../ui/avatar";
import ClaimProfile from "./claim-profile"; import ClaimProfile from "./claim-profile";
import PlayerStats from "./player-stats"; import PlayerStats from "./player-stats";
import ScoreSaberPlayer from "@/common/model/player/impl/scoresaber-player"; import ScoreSaberPlayer from "@/common/model/player/impl/scoresaber-player";
import Tooltip from "@/components/tooltip"; import Tooltip from "@/components/tooltip";
import { ReactElement } from "react"; import {ReactElement} from "react";
import PlayerTrackedStatus from "@/components/player/player-tracked-status"; import PlayerTrackedStatus from "@/components/player/player-tracked-status";
/** /**

@ -1,5 +1,5 @@
import { useContext } from "react"; import { useContext } from "react";
import { DatabaseContext } from "../components/loaders/database-loader"; import { DatabaseContext } from "@/components/loaders/database-loader";
/** /**
* Gets the database context. * Gets the database context.