From 76e067409867e78e59daab7da6d87710c58deb14 Mon Sep 17 00:00:00 2001 From: Firq Date: Fri, 29 Dec 2023 14:39:08 +0100 Subject: [PATCH 1/4] Updated Unlighthouse capturing --- unlighthouse.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unlighthouse.config.ts b/unlighthouse.config.ts index d289ab5..4d2881a 100644 --- a/unlighthouse.config.ts +++ b/unlighthouse.config.ts @@ -3,7 +3,7 @@ export default { args: ["--no-sandbox", "--disable-setuid-sandbox"], }, ci: { - budget: 90, + budget: 50, buildStatic: true }, outputPath: "unlighthouse-reports", From 7e614b89a85d0c26304d59e4505902617024fe3c Mon Sep 17 00:00:00 2001 From: Firq Date: Fri, 29 Dec 2023 15:05:13 +0100 Subject: [PATCH 2/4] Moved to iconoir package instead of web stylesheet --- package-lock.json | 22 +++++++++++++--------- package.json | 2 +- src/layouts/Layout.astro | 5 +---- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 01bdf97..cd08694 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "@firq/fgosite", - "version": "0.1.11", + "version": "0.1.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@firq/fgosite", - "version": "0.1.11", + "version": "0.1.14", "dependencies": { "@astrojs/check": "^0.3.3", "@astrojs/sitemap": "^3.0.3", "astro": "^4.0.7", - "iconoir": "^6.1.0", + "iconoir": "^7.2.0", "typescript": "^5.3.3" } }, @@ -2706,9 +2706,13 @@ } }, "node_modules/iconoir": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-6.1.0.tgz", - "integrity": "sha512-K8Jrqkp51MdcDBzfiSY2vt9gHsujwEmoOHlWI2Wk++cgVvR1bP+fMLFmwBTPHduZ3aOK95snE6rUmlLPH7Yhnw==" + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-7.2.0.tgz", + "integrity": "sha512-uGaTCzdvQUAfNMDM2yJieGVM2KbW+8/8nkyLVtvXX+79tHQWxgPhpvk9g7rnZcbQuZ/YFAdP+0HB3eAmk+l2qw==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/iconoir" + } }, "node_modules/iconv-lite": { "version": "0.4.24", @@ -8331,9 +8335,9 @@ "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==" }, "iconoir": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-6.1.0.tgz", - "integrity": "sha512-K8Jrqkp51MdcDBzfiSY2vt9gHsujwEmoOHlWI2Wk++cgVvR1bP+fMLFmwBTPHduZ3aOK95snE6rUmlLPH7Yhnw==" + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-7.2.0.tgz", + "integrity": "sha512-uGaTCzdvQUAfNMDM2yJieGVM2KbW+8/8nkyLVtvXX+79tHQWxgPhpvk9g7rnZcbQuZ/YFAdP+0HB3eAmk+l2qw==" }, "iconv-lite": { "version": "0.4.24", diff --git a/package.json b/package.json index 71c0f3d..e864baa 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@astrojs/check": "^0.3.3", "@astrojs/sitemap": "^3.0.3", "astro": "^4.0.7", - "iconoir": "^6.1.0", + "iconoir": "^7.2.0", "typescript": "^5.3.3" } } diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index e897075..75ab12e 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -3,6 +3,7 @@ import Navbar from '../components/navbar.astro' import NavbarEntry from '../components/navbarEntry.astro' import navdata from '../../static/data/_navdata.json' import embed from '../assets/embed.png' +import "iconoir/css/iconoir.css" export interface Props { title: string @@ -49,10 +50,6 @@ if (currentpage !== 'home') { - From df9337c684ddac666dd6e56b4a119aab6cffae87 Mon Sep 17 00:00:00 2001 From: Firq Date: Fri, 29 Dec 2023 15:05:38 +0100 Subject: [PATCH 3/4] Bumped version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e864baa..59e3b58 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.1.14", + "version": "0.1.15", "private": true, "scripts": { "dev": "astro dev", From 2b2ca4621468c7804caa79e346a1295801c982fd Mon Sep 17 00:00:00 2001 From: Firq Date: Fri, 29 Dec 2023 15:21:17 +0100 Subject: [PATCH 4/4] Updated caching for css --- serve.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serve.json b/serve.json index 0ce65b6..06f578d 100644 --- a/serve.json +++ b/serve.json @@ -14,7 +14,7 @@ "source" : "**/*.css", "headers" : [{ "key" : "Cache-Control", - "value" : "max-age=86400" + "value" : "max-age=31536000" }] }, {