From 8e6be5ae82d0a2044723a719f254dbcb93957105 Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 22 Oct 2024 20:51:48 +0200 Subject: [PATCH] Revert "Source Sets" This reverts commit d93d0416e5ba8b3b7a66ad605b5c9cfab1dc6643. --- .forgejo/workflows/unlighthouse.yml | 2 +- package.json | 2 +- src/components/cards/ceCard.astro | 2 +- src/components/cards/favouriteCard.astro | 2 +- src/components/cards/servantCard.astro | 4 ++-- src/components/cards/taCard.astro | 2 +- src/utils/tools.ts | 2 +- unlighthouse.config.ts | 3 +-- 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/unlighthouse.yml b/.forgejo/workflows/unlighthouse.yml index 8be6015..48c36e0 100644 --- a/.forgejo/workflows/unlighthouse.yml +++ b/.forgejo/workflows/unlighthouse.yml @@ -20,7 +20,7 @@ jobs: - name: Checkout repository uses: https://code.forgejo.org/actions/checkout@v3 - name: Run unlighthouse - run: unlighthouse-ci --site "http://localhost:8081/" + run: unlighthouse-ci --site "http://localhost:8081/" --disable-dynamic-sampling - name: Prepare artifacts run: cp serve.json unlighthouse-reports - name: Upload reports diff --git a/package.json b/package.json index 74b3a10..3502a46 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.15", + "version": "0.2.0-pre.14", "private": true, "scripts": { "dev": "astro dev", diff --git a/src/components/cards/ceCard.astro b/src/components/cards/ceCard.astro index e916c83..150309c 100644 --- a/src/components/cards/ceCard.astro +++ b/src/components/cards/ceCard.astro @@ -20,7 +20,7 @@ const mlb_image = mlb ? 'mlbalign' : 'hidemlb'
- {name} + {name}
Max-limit broken diff --git a/src/components/cards/favouriteCard.astro b/src/components/cards/favouriteCard.astro index e6392ed..f1478a7 100644 --- a/src/components/cards/favouriteCard.astro +++ b/src/components/cards/favouriteCard.astro @@ -25,7 +25,7 @@ const loadedImage = plsLoadImage(images, imagePath) aria-label=`${name} - new window` >
{name}
- {name} + {name}

{origin}

diff --git a/src/components/cards/servantCard.astro b/src/components/cards/servantCard.astro index 7a39b56..a024423 100644 --- a/src/components/cards/servantCard.astro +++ b/src/components/cards/servantCard.astro @@ -30,14 +30,14 @@ if (bond10 === false) { ---
- {name} + {name}

Level {level}
{skills}
NP {np}

- +

Mana Loading: {ml === 'Not Unlocked' &&
}{ml}

diff --git a/src/components/cards/taCard.astro b/src/components/cards/taCard.astro index ed9e0c5..5eaf381 100644 --- a/src/components/cards/taCard.astro +++ b/src/components/cards/taCard.astro @@ -44,7 +44,7 @@ if (user !== undefined) {
- {title} + {title}

{title}

diff --git a/src/utils/tools.ts b/src/utils/tools.ts index eeb7416..4dc88c9 100644 --- a/src/utils/tools.ts +++ b/src/utils/tools.ts @@ -1,4 +1,4 @@ -export async function plsLoadImage(record: Record Promise<{default: ImageMetadata}>>, path: string) { +export function plsLoadImage(record: Record Promise<{default: ImageMetadata}>>, path: string) { const loadedImage = record[path]?.(); if (!loadedImage) throw new Error("Asset was not found:" + path); return loadedImage; diff --git a/unlighthouse.config.ts b/unlighthouse.config.ts index 8ae18a1..53ba891 100644 --- a/unlighthouse.config.ts +++ b/unlighthouse.config.ts @@ -10,13 +10,12 @@ export default { }, ci: { budget: 50, - buildStatic: true, + buildStatic: true }, scanner: { device: 'mobile', sitemap: true, throttle: false, - dynamicSampling: false, }, outputPath: "unlighthouse-reports", }