This commit is contained in:
parent
59ec24bbd9
commit
dccda18b49
@ -1,8 +1,8 @@
|
||||
FROM fascinated/docker-images:nodejs_20_with_pnpm AS base
|
||||
|
||||
# Install depends
|
||||
# Install dependencies, including Python
|
||||
FROM base AS deps
|
||||
RUN apk add --no-cache libc6-compat
|
||||
RUN apk add --no-cache libc6-compat python3 make g++ gcc
|
||||
WORKDIR /app
|
||||
COPY package.json* pnpm-lock.yaml* ./
|
||||
RUN pnpm install --frozen-lockfile --quiet
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { BeatSaverMapToken as BSMap } from "@/common/model/token/beatsaver/beat-saver-map-token";
|
||||
import { Entity } from "dexie";
|
||||
import {BeatSaverMapToken as BSMap} from "@/common/model/token/beatsaver/beat-saver-map-token";
|
||||
import {Entity} from "dexie";
|
||||
import Database from "../database";
|
||||
|
||||
/**
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Entity } from "dexie";
|
||||
import {Entity} from "dexie";
|
||||
import Database from "../database";
|
||||
|
||||
/**
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { createCanvas, loadImage } from "canvas";
|
||||
import { config } from "../../config";
|
||||
import {createCanvas, loadImage} from "canvas";
|
||||
import {config} from "../../config";
|
||||
import ky from "ky";
|
||||
import { extractColors } from "extract-colors";
|
||||
import { cache } from "react";
|
||||
import {extractColors} from "extract-colors";
|
||||
import {cache} from "react";
|
||||
|
||||
/**
|
||||
* 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 { PlayerHistory } from "@/common/player/player-history";
|
||||
import { config } from "../../../../../config";
|
||||
import {PlayerHistory} from "@/common/player/player-history";
|
||||
import {config} from "../../../../../config";
|
||||
import ky from "ky";
|
||||
import {
|
||||
formatDateMinimal,
|
||||
getDaysAgoDate,
|
||||
getMidnightAlignedDate,
|
||||
} from "@/common/time-utils";
|
||||
import {formatDateMinimal, getDaysAgoDate, getMidnightAlignedDate,} from "@/common/time-utils";
|
||||
|
||||
/**
|
||||
* A ScoreSaber player.
|
||||
|
@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { createContext, useEffect, useState } from "react";
|
||||
import Database, { db } from "../../common/database/database";
|
||||
import {createContext, useEffect, useState} from "react";
|
||||
import Database, {db} from "../../common/database/database";
|
||||
import FullscreenLoader from "./fullscreen-loader";
|
||||
|
||||
/**
|
||||
|
@ -1,13 +1,13 @@
|
||||
import { formatNumberWithCommas, formatPp } from "@/common/number-utils";
|
||||
import { GlobeAmericasIcon } from "@heroicons/react/24/solid";
|
||||
import {formatNumberWithCommas, formatPp} from "@/common/number-utils";
|
||||
import {GlobeAmericasIcon} from "@heroicons/react/24/solid";
|
||||
import Card from "../card";
|
||||
import CountryFlag from "../country-flag";
|
||||
import { Avatar, AvatarImage } from "../ui/avatar";
|
||||
import {Avatar, AvatarImage} from "../ui/avatar";
|
||||
import ClaimProfile from "./claim-profile";
|
||||
import PlayerStats from "./player-stats";
|
||||
import ScoreSaberPlayer from "@/common/model/player/impl/scoresaber-player";
|
||||
import Tooltip from "@/components/tooltip";
|
||||
import { ReactElement } from "react";
|
||||
import {ReactElement} from "react";
|
||||
import PlayerTrackedStatus from "@/components/player/player-tracked-status";
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { useContext } from "react";
|
||||
import { DatabaseContext } from "../components/loaders/database-loader";
|
||||
import { DatabaseContext } from "@/components/loaders/database-loader";
|
||||
|
||||
/**
|
||||
* Gets the database context.
|
||||
|
Reference in New Issue
Block a user