Update dependency framer-motion to v11.11.1 - abandoned #52
@ -1,3 +1,8 @@
|
||||
{
|
||||
"extends": ["next/core-web-vitals", "next/typescript"]
|
||||
"extends": ["next/core-web-vitals", "next/typescript"],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
"@typescript-eslint/no-empty-object-type": "off",
|
||||
"@typescript-eslint/no-unused-expressions": "off"
|
||||
}
|
||||
}
|
||||
|
@ -4,9 +4,6 @@ import { format } from "@formkit/tempo";
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: "standalone",
|
||||
experimental: {
|
||||
webpackMemoryOptimizations: true,
|
||||
},
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
@ -35,22 +32,24 @@ const nextConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
export default withSentryConfig(nextConfig, {
|
||||
org: "scoresaber-reloaded",
|
||||
project: "frontend",
|
||||
sentryUrl: "https://glitchtip.fascinated.cc/",
|
||||
silent: !process.env.CI,
|
||||
reactComponentAnnotation: {
|
||||
enabled: true,
|
||||
},
|
||||
tunnelRoute: "/monitoring",
|
||||
hideSourceMaps: true,
|
||||
disableLogger: true,
|
||||
sourcemaps: {
|
||||
disable: true,
|
||||
},
|
||||
release: {
|
||||
create: false,
|
||||
finalize: false,
|
||||
},
|
||||
});
|
||||
export default nextConfig;
|
||||
|
||||
// export default withSentryConfig(nextConfig, {
|
||||
// org: "scoresaber-reloaded",
|
||||
// project: "frontend",
|
||||
// sentryUrl: "https://glitchtip.fascinated.cc/",
|
||||
// silent: !process.env.CI,
|
||||
// reactComponentAnnotation: {
|
||||
// enabled: true,
|
||||
// },
|
||||
// tunnelRoute: "/monitoring",
|
||||
// hideSourceMaps: true,
|
||||
// disableLogger: true,
|
||||
// sourcemaps: {
|
||||
// disable: true,
|
||||
// },
|
||||
// release: {
|
||||
// create: false,
|
||||
// finalize: false,
|
||||
// },
|
||||
// });
|
||||
|
@ -38,7 +38,7 @@ const getPlayerData = cache(async ({ params }: Props, fetchScores: boolean = tru
|
||||
const page = parseInt(slug[2]) || 1; // The page number
|
||||
const search = (slug[3] as string) || ""; // The search query
|
||||
|
||||
const player = (await scoresaberService.lookupPlayer(id, false))?.player;
|
||||
const player = (await scoresaberService.lookupPlayer(id))?.player;
|
||||
let scores: ScoreSaberPlayerScoresPageToken | undefined;
|
||||
if (fetchScores) {
|
||||
scores = await scoresaberService.lookupPlayerScores({
|
||||
|
@ -90,7 +90,7 @@ export async function trackScoreSaberPlayer(dateToday: Date, foundPlayer: IPlaye
|
||||
io && (await io.logger.info(`Updating statistics for ${foundPlayer.id}...`));
|
||||
|
||||
// Lookup player data from the ScoreSaber service
|
||||
const response = await scoresaberService.lookupPlayer(foundPlayer.id, true);
|
||||
const response = await scoresaberService.lookupPlayer(foundPlayer.id);
|
||||
if (response == undefined) {
|
||||
io && (await io.logger.warn(`Player ${foundPlayer.id} not found on ScoreSaber`));
|
||||
return;
|
||||
|
@ -11,7 +11,7 @@
|
||||
"noEmit": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"moduleDetection": "force",
|
||||
|
@ -1,12 +0,0 @@
|
||||
{
|
||||
"name": "common",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
2
pnpm-lock.yaml
generated
2
pnpm-lock.yaml
generated
@ -163,8 +163,6 @@ importers:
|
||||
specifier: ^5
|
||||
version: 5.6.2
|
||||
|
||||
packages/common: {}
|
||||
|
||||
packages:
|
||||
|
||||
'@alloc/quick-lru@5.2.0':
|
||||
|
Reference in New Issue
Block a user