Merge pull request 'Caching + Iconoir' (#17) from dev into main
All checks were successful
/ release (push) Successful in 8s
/ checking (push) Successful in 16s
/ build-site (push) Successful in 2m17s

Reviewed-on: #17
This commit is contained in:
Firq 2023-12-29 14:28:23 +00:00
commit 71a6ea0051
5 changed files with 18 additions and 17 deletions

22
package-lock.json generated
View file

@ -1,17 +1,17 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.1.11", "version": "0.1.14",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.1.11", "version": "0.1.14",
"dependencies": { "dependencies": {
"@astrojs/check": "^0.3.3", "@astrojs/check": "^0.3.3",
"@astrojs/sitemap": "^3.0.3", "@astrojs/sitemap": "^3.0.3",
"astro": "^4.0.7", "astro": "^4.0.7",
"iconoir": "^6.1.0", "iconoir": "^7.2.0",
"typescript": "^5.3.3" "typescript": "^5.3.3"
} }
}, },
@ -2706,9 +2706,13 @@
} }
}, },
"node_modules/iconoir": { "node_modules/iconoir": {
"version": "6.1.0", "version": "7.2.0",
"resolved": "https://registry.npmjs.org/iconoir/-/iconoir-6.1.0.tgz", "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-7.2.0.tgz",
"integrity": "sha512-K8Jrqkp51MdcDBzfiSY2vt9gHsujwEmoOHlWI2Wk++cgVvR1bP+fMLFmwBTPHduZ3aOK95snE6rUmlLPH7Yhnw==" "integrity": "sha512-uGaTCzdvQUAfNMDM2yJieGVM2KbW+8/8nkyLVtvXX+79tHQWxgPhpvk9g7rnZcbQuZ/YFAdP+0HB3eAmk+l2qw==",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/iconoir"
}
}, },
"node_modules/iconv-lite": { "node_modules/iconv-lite": {
"version": "0.4.24", "version": "0.4.24",
@ -8331,9 +8335,9 @@
"integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==" "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ=="
}, },
"iconoir": { "iconoir": {
"version": "6.1.0", "version": "7.2.0",
"resolved": "https://registry.npmjs.org/iconoir/-/iconoir-6.1.0.tgz", "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-7.2.0.tgz",
"integrity": "sha512-K8Jrqkp51MdcDBzfiSY2vt9gHsujwEmoOHlWI2Wk++cgVvR1bP+fMLFmwBTPHduZ3aOK95snE6rUmlLPH7Yhnw==" "integrity": "sha512-uGaTCzdvQUAfNMDM2yJieGVM2KbW+8/8nkyLVtvXX+79tHQWxgPhpvk9g7rnZcbQuZ/YFAdP+0HB3eAmk+l2qw=="
}, },
"iconv-lite": { "iconv-lite": {
"version": "0.4.24", "version": "0.4.24",

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.1.14", "version": "0.1.15",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
@ -14,7 +14,7 @@
"@astrojs/check": "^0.3.3", "@astrojs/check": "^0.3.3",
"@astrojs/sitemap": "^3.0.3", "@astrojs/sitemap": "^3.0.3",
"astro": "^4.0.7", "astro": "^4.0.7",
"iconoir": "^6.1.0", "iconoir": "^7.2.0",
"typescript": "^5.3.3" "typescript": "^5.3.3"
} }
} }

View file

@ -14,7 +14,7 @@
"source" : "**/*.css", "source" : "**/*.css",
"headers" : [{ "headers" : [{
"key" : "Cache-Control", "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 NavbarEntry from '../components/navbarEntry.astro'
import navdata from '../../static/data/_navdata.json' import navdata from '../../static/data/_navdata.json'
import embed from '../assets/embed.png' import embed from '../assets/embed.png'
import "iconoir/css/iconoir.css"
export interface Props { export interface Props {
title: string title: string
@ -49,10 +50,6 @@ if (currentpage !== 'home') {
<link rel="icon" type="image/ico" href="/favicon.ico" /> <link rel="icon" type="image/ico" href="/favicon.ico" />
<link rel="sitemap" href="/sitemap-index.xml" /> <link rel="sitemap" href="/sitemap-index.xml" />
<link href="https://mastodon.neshweb.net/@Firq" rel="me" /> <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> </head>
<body> <body>
<Navbar> <Navbar>

View file

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