Caching + Iconoir #17

Merged
Firq merged 4 commits from dev into main 2023-12-29 14:28:23 +00:00
5 changed files with 18 additions and 17 deletions

22
package-lock.json generated
View file

@ -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",

View file

@ -1,7 +1,7 @@
{
"name": "@firq/fgosite",
"type": "module",
"version": "0.1.14",
"version": "0.1.15",
"private": true,
"scripts": {
"dev": "astro dev",
@ -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"
}
}

View file

@ -14,7 +14,7 @@
"source" : "**/*.css",
"headers" : [{
"key" : "Cache-Control",
"value" : "max-age=86400"
"value" : "max-age=31536000"
}]
},
{

View file

@ -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') {
<link rel="icon" type="image/ico" href="/favicon.ico" />
<link rel="sitemap" href="/sitemap-index.xml" />
<link href="https://mastodon.neshweb.net/@Firq" rel="me" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/css/iconoir.css"
/>
</head>
<body>
<Navbar>

View file

@ -3,7 +3,7 @@ export default {
args: ["--no-sandbox", "--disable-setuid-sandbox"],
},
ci: {
budget: 90,
budget: 50,
buildStatic: true
},
outputPath: "unlighthouse-reports",