Move to @inox-tools/sitemap-ext, Now dynamic routes generate in the sitemap also :D

This commit is contained in:
wearrrrr 2024-09-20 11:21:36 -05:00
parent 237038cdea
commit a921fbe4ad
10 changed files with 379 additions and 33 deletions

View file

@ -1,6 +1,6 @@
import { defineConfig } from "astro/config";
import node from "@astrojs/node";
import sitemap from "@astrojs/sitemap";
import sitemap from "@inox-tools/sitemap-ext";
// Check if node is running in production mode
// const prodBuild = process.env.NODE_ENV === "production";
@ -11,26 +11,11 @@ const site = prodBuild ? "https://aluu.xyz" : "http://localhost:3000";
export default defineConfig({
site: site,
integrations: [
sitemap({
priority: 0.5,
lastmod: new Date(),
i18n: {
locales: {
en: "en-US",
es: "es-ES",
fr: "fr-FR",
jp: "ja-JP",
ru: "ru-RU",
zh: "zh-CN",
},
defaultLocale: "en",
},
customPages: [
"/game/*",
]
}),
sitemap({
includeByDefault: true,
}),
],
output: "hybrid",
output: "server",
adapter: node({
mode: "middleware",
}),

View file

@ -14,7 +14,7 @@
},
"dependencies": {
"@astrojs/node": "^8.3.2",
"@astrojs/sitemap": "^3.1.6",
"@inox-tools/sitemap-ext": "^0.3.3",
"@mercuryworkshop/bare-as-module3": "^2.2.2",
"@mercuryworkshop/bare-mux": "^2.0.9",
"@mercuryworkshop/epoxy-transport": "^2.1.11",

344
pnpm-lock.yaml generated
View file

@ -11,9 +11,9 @@ importers:
'@astrojs/node':
specifier: ^8.3.2
version: 8.3.2(astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4))
'@astrojs/sitemap':
specifier: ^3.1.6
version: 3.1.6
'@inox-tools/sitemap-ext':
specifier: ^0.3.3
version: 0.3.3(@types/node@20.14.12)(astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4))(sass@1.78.0)
'@mercuryworkshop/bare-as-module3':
specifier: ^2.2.2
version: 2.2.2
@ -510,6 +510,20 @@ packages:
cpu: [x64]
os: [win32]
'@inox-tools/aik-route-config@0.7.2':
resolution: {integrity: sha512-MU01OuuuFvYcGZaRxPewytXWfjBX2TlpGuUM0loVfXgVa5pP+v6L2p2yJ8591zSTCA2erFcfHfzdUV2AHBPjug==}
peerDependencies:
astro: ^4
astro-integration-kit: ~0.16
'@inox-tools/sitemap-ext@0.3.3':
resolution: {integrity: sha512-suQEqaylP4mXwIPZiOlA19s4h4Kr3tNbvT0MD/TFvJFop0FwGZjuDk9wKbEb/UKIVRDTTCEJIXbDpjGvFUd0NA==}
peerDependencies:
astro: ^4
'@inox-tools/utils@0.1.3':
resolution: {integrity: sha512-UhneOA5PwcPhvcvcH1pW9wGZXRKASD7/MWHCrE+DbSzbMhzBTeUn1rKpssys8rDF51pr3FwgLFz1Cvjj2TMIwA==}
'@jridgewell/gen-mapping@0.3.5':
resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==}
engines: {node: '>=6.0.0'}
@ -576,81 +590,161 @@ packages:
cpu: [arm]
os: [android]
'@rollup/rollup-android-arm-eabi@4.22.2':
resolution: {integrity: sha512-8Ao+EDmTPjZ1ZBABc1ohN7Ylx7UIYcjReZinigedTOnGFhIctyGPxY2II+hJ6gD2/vkDKZTyQ0e7++kwv6wDrw==}
cpu: [arm]
os: [android]
'@rollup/rollup-android-arm64@4.19.1':
resolution: {integrity: sha512-thFUbkHteM20BGShD6P08aungq4irbIZKUNbG70LN8RkO7YztcGPiKTTGZS7Kw+x5h8hOXs0i4OaHwFxlpQN6A==}
cpu: [arm64]
os: [android]
'@rollup/rollup-android-arm64@4.22.2':
resolution: {integrity: sha512-I+B1v0a4iqdS9DvYt1RJZ3W+Oh9EVWjbY6gp79aAYipIbxSLEoQtFQlZEnUuwhDXCqMxJ3hluxKAdPD+GiluFQ==}
cpu: [arm64]
os: [android]
'@rollup/rollup-darwin-arm64@4.19.1':
resolution: {integrity: sha512-8o6eqeFZzVLia2hKPUZk4jdE3zW7LCcZr+MD18tXkgBBid3lssGVAYuox8x6YHoEPDdDa9ixTaStcmx88lio5Q==}
cpu: [arm64]
os: [darwin]
'@rollup/rollup-darwin-arm64@4.22.2':
resolution: {integrity: sha512-BTHO7rR+LC67OP7I8N8GvdvnQqzFujJYWo7qCQ8fGdQcb8Gn6EQY+K1P+daQLnDCuWKbZ+gHAQZuKiQkXkqIYg==}
cpu: [arm64]
os: [darwin]
'@rollup/rollup-darwin-x64@4.19.1':
resolution: {integrity: sha512-4T42heKsnbjkn7ovYiAdDVRRWZLU9Kmhdt6HafZxFcUdpjlBlxj4wDrt1yFWLk7G4+E+8p2C9tcmSu0KA6auGA==}
cpu: [x64]
os: [darwin]
'@rollup/rollup-darwin-x64@4.22.2':
resolution: {integrity: sha512-1esGwDNFe2lov4I6GsEeYaAMHwkqk0IbuGH7gXGdBmd/EP9QddJJvTtTF/jv+7R8ZTYPqwcdLpMTxK8ytP6k6Q==}
cpu: [x64]
os: [darwin]
'@rollup/rollup-linux-arm-gnueabihf@4.19.1':
resolution: {integrity: sha512-MXg1xp+e5GhZ3Vit1gGEyoC+dyQUBy2JgVQ+3hUrD9wZMkUw/ywgkpK7oZgnB6kPpGrxJ41clkPPnsknuD6M2Q==}
cpu: [arm]
os: [linux]
'@rollup/rollup-linux-arm-gnueabihf@4.22.2':
resolution: {integrity: sha512-GBHuY07x96OTEM3OQLNaUSUwrOhdMea/LDmlFHi/HMonrgF6jcFrrFFwJhhe84XtA1oK/Qh4yFS+VMREf6dobg==}
cpu: [arm]
os: [linux]
'@rollup/rollup-linux-arm-musleabihf@4.19.1':
resolution: {integrity: sha512-DZNLwIY4ftPSRVkJEaxYkq7u2zel7aah57HESuNkUnz+3bZHxwkCUkrfS2IWC1sxK6F2QNIR0Qr/YXw7nkF3Pw==}
cpu: [arm]
os: [linux]
'@rollup/rollup-linux-arm-musleabihf@4.22.2':
resolution: {integrity: sha512-Dbfa9Sc1G1lWxop0gNguXOfGhaXQWAGhZUcqA0Vs6CnJq8JW/YOw/KvyGtQFmz4yDr0H4v9X248SM7bizYj4yQ==}
cpu: [arm]
os: [linux]
'@rollup/rollup-linux-arm64-gnu@4.19.1':
resolution: {integrity: sha512-C7evongnjyxdngSDRRSQv5GvyfISizgtk9RM+z2biV5kY6S/NF/wta7K+DanmktC5DkuaJQgoKGf7KUDmA7RUw==}
cpu: [arm64]
os: [linux]
'@rollup/rollup-linux-arm64-gnu@4.22.2':
resolution: {integrity: sha512-Z1YpgBvFYhZIyBW5BoopwSg+t7yqEhs5HCei4JbsaXnhz/eZehT18DaXl957aaE9QK7TRGFryCAtStZywcQe1A==}
cpu: [arm64]
os: [linux]
'@rollup/rollup-linux-arm64-musl@4.19.1':
resolution: {integrity: sha512-89tFWqxfxLLHkAthAcrTs9etAoBFRduNfWdl2xUs/yLV+7XDrJ5yuXMHptNqf1Zw0UCA3cAutkAiAokYCkaPtw==}
cpu: [arm64]
os: [linux]
'@rollup/rollup-linux-arm64-musl@4.22.2':
resolution: {integrity: sha512-66Zszr7i/JaQ0u/lefcfaAw16wh3oT72vSqubIMQqWzOg85bGCPhoeykG/cC5uvMzH80DQa2L539IqKht6twVA==}
cpu: [arm64]
os: [linux]
'@rollup/rollup-linux-powerpc64le-gnu@4.19.1':
resolution: {integrity: sha512-PromGeV50sq+YfaisG8W3fd+Cl6mnOOiNv2qKKqKCpiiEke2KiKVyDqG/Mb9GWKbYMHj5a01fq/qlUR28PFhCQ==}
cpu: [ppc64]
os: [linux]
'@rollup/rollup-linux-powerpc64le-gnu@4.22.2':
resolution: {integrity: sha512-HpJCMnlMTfEhwo19bajvdraQMcAq3FX08QDx3OfQgb+414xZhKNf3jNvLFYKbbDSGBBrQh5yNwWZrdK0g0pokg==}
cpu: [ppc64]
os: [linux]
'@rollup/rollup-linux-riscv64-gnu@4.19.1':
resolution: {integrity: sha512-/1BmHYh+iz0cNCP0oHCuF8CSiNj0JOGf0jRlSo3L/FAyZyG2rGBuKpkZVH9YF+x58r1jgWxvm1aRg3DHrLDt6A==}
cpu: [riscv64]
os: [linux]
'@rollup/rollup-linux-riscv64-gnu@4.22.2':
resolution: {integrity: sha512-/egzQzbOSRef2vYCINKITGrlwkzP7uXRnL+xU2j75kDVp3iPdcF0TIlfwTRF8woBZllhk3QaxNOEj2Ogh3t9hg==}
cpu: [riscv64]
os: [linux]
'@rollup/rollup-linux-s390x-gnu@4.19.1':
resolution: {integrity: sha512-0cYP5rGkQWRZKy9/HtsWVStLXzCF3cCBTRI+qRL8Z+wkYlqN7zrSYm6FuY5Kd5ysS5aH0q5lVgb/WbG4jqXN1Q==}
cpu: [s390x]
os: [linux]
'@rollup/rollup-linux-s390x-gnu@4.22.2':
resolution: {integrity: sha512-qgYbOEbrPfEkH/OnUJd1/q4s89FvNJQIUldx8X2F/UM5sEbtkqZpf2s0yly2jSCKr1zUUOY1hnTP2J1WOzMAdA==}
cpu: [s390x]
os: [linux]
'@rollup/rollup-linux-x64-gnu@4.19.1':
resolution: {integrity: sha512-XUXeI9eM8rMP8aGvii/aOOiMvTs7xlCosq9xCjcqI9+5hBxtjDpD+7Abm1ZhVIFE1J2h2VIg0t2DX/gjespC2Q==}
cpu: [x64]
os: [linux]
'@rollup/rollup-linux-x64-gnu@4.22.2':
resolution: {integrity: sha512-a0lkvNhFLhf+w7A95XeBqGQaG0KfS3hPFJnz1uraSdUe/XImkp/Psq0Ca0/UdD5IEAGoENVmnYrzSC9Y2a2uKQ==}
cpu: [x64]
os: [linux]
'@rollup/rollup-linux-x64-musl@4.19.1':
resolution: {integrity: sha512-V7cBw/cKXMfEVhpSvVZhC+iGifD6U1zJ4tbibjjN+Xi3blSXaj/rJynAkCFFQfoG6VZrAiP7uGVzL440Q6Me2Q==}
cpu: [x64]
os: [linux]
'@rollup/rollup-linux-x64-musl@4.22.2':
resolution: {integrity: sha512-sSWBVZgzwtsuG9Dxi9kjYOUu/wKW+jrbzj4Cclabqnfkot8Z3VEHcIgyenA3lLn/Fu11uDviWjhctulkhEO60g==}
cpu: [x64]
os: [linux]
'@rollup/rollup-win32-arm64-msvc@4.19.1':
resolution: {integrity: sha512-88brja2vldW/76jWATlBqHEoGjJLRnP0WOEKAUbMcXaAZnemNhlAHSyj4jIwMoP2T750LE9lblvD4e2jXleZsA==}
cpu: [arm64]
os: [win32]
'@rollup/rollup-win32-arm64-msvc@4.22.2':
resolution: {integrity: sha512-t/YgCbZ638R/r7IKb9yCM6nAek1RUvyNdfU0SHMDLOf6GFe/VG1wdiUAsxTWHKqjyzkRGg897ZfCpdo1bsCSsA==}
cpu: [arm64]
os: [win32]
'@rollup/rollup-win32-ia32-msvc@4.19.1':
resolution: {integrity: sha512-LdxxcqRVSXi6k6JUrTah1rHuaupoeuiv38du8Mt4r4IPer3kwlTo+RuvfE8KzZ/tL6BhaPlzJ3835i6CxrFIRQ==}
cpu: [ia32]
os: [win32]
'@rollup/rollup-win32-ia32-msvc@4.22.2':
resolution: {integrity: sha512-kTmX5uGs3WYOA+gYDgI6ITkZng9SP71FEMoHNkn+cnmb9Zuyyay8pf0oO5twtTwSjNGy1jlaWooTIr+Dw4tIbw==}
cpu: [ia32]
os: [win32]
'@rollup/rollup-win32-x64-msvc@4.19.1':
resolution: {integrity: sha512-2bIrL28PcK3YCqD9anGxDxamxdiJAxA+l7fWIwM5o8UqNy1t3d1NdAweO2XhA0KTDJ5aH1FsuiT5+7VhtHliXg==}
cpu: [x64]
os: [win32]
'@rollup/rollup-win32-x64-msvc@4.22.2':
resolution: {integrity: sha512-Yy8So+SoRz8I3NS4Bjh91BICPOSVgdompTIPYTByUqU66AXSIOgmW3Lv1ke3NORPqxdF+RdrZET+8vYai6f4aA==}
cpu: [x64]
os: [win32]
'@rubynetwork/rammerhead@1.3.2':
resolution: {integrity: sha512-fBswblQ8bN2oM/eGzdXC1HYMk3ydkJ8KdxRNFpUAaQAIFvpdDfW3hMJQr5Tojj3nidMOrhoq1GYGIHWu7DiBZA==}
hasBin: true
@ -892,10 +986,19 @@ packages:
resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}
engines: {node: '>=8'}
ast-types@0.16.1:
resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==}
engines: {node: '>=4'}
astro-eslint-parser@0.16.3:
resolution: {integrity: sha512-CGaBseNtunAV2DCpwBXqTKq8+9Tw65XZetMaC0FsMoZuLj0gxNIkbCf2QyKYScVrNOU7/ayfNdVw8ZCSHBiqCg==}
engines: {node: ^14.18.0 || >=16.0.0}
astro-integration-kit@0.16.1:
resolution: {integrity: sha512-N/iam0PAFrRT9azYZqscP1HowQhC77Dwlp912P0/72k+kwUVgO3m73F26XXukHYoZBsrHgrUrfsWBxuCH3kEUg==}
peerDependencies:
astro: ^4.12.0
astro@4.12.2:
resolution: {integrity: sha512-l6OmqlL+FiuSi9x6F+EGZitteOznq1JffOil7st7cdqeMCTEIym4oagI1a6zp6QekliKWEEZWdplGhgh1k1f7Q==}
engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'}
@ -1181,6 +1284,15 @@ packages:
supports-color:
optional: true
debug@4.3.7:
resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==}
engines: {node: '>=6.0'}
peerDependencies:
supports-color: '*'
peerDependenciesMeta:
supports-color:
optional: true
decode-named-character-reference@1.0.2:
resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==}
@ -2369,12 +2481,18 @@ packages:
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
engines: {node: '>=8'}
pathe@1.1.2:
resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==}
pg-connection-string@2.6.4:
resolution: {integrity: sha512-v+Z7W/0EO707aNMaAEfiGnGL9sxxumwLl2fJvCQtMn9Fxsg+lPpPkdcyBSv/KFgpGdYkMfn+EI1Or2EHjpgLCA==}
picocolors@1.0.1:
resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==}
picocolors@1.1.0:
resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==}
picomatch@2.3.1:
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
engines: {node: '>=8.6'}
@ -2399,6 +2517,10 @@ packages:
resolution: {integrity: sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==}
engines: {node: ^10 || ^12 || >=14}
postcss@8.4.47:
resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==}
engines: {node: ^10 || ^12 || >=14}
prebuild-install@7.1.2:
resolution: {integrity: sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==}
engines: {node: '>=10'}
@ -2497,6 +2619,10 @@ packages:
resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
engines: {node: '>=8.10.0'}
recast@0.23.9:
resolution: {integrity: sha512-Hx/BGIbwj+Des3+xy5uAtAbdCyqK9y9wbBcDFDYanLS9JnMqf7OeF87HQwUimE87OEc72mr6tkKUKMBBL+hF9Q==}
engines: {node: '>= 4'}
rehype-parse@9.0.0:
resolution: {integrity: sha512-WG7nfvmWWkCR++KEkZevZb/uw41E8TsH4DsY9UxsTbIXCVGbAs4S+r8FrQ+OtH5EEQAs+5UxKC42VinkmpA1Yw==}
@ -2588,6 +2714,11 @@ packages:
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
rollup@4.22.2:
resolution: {integrity: sha512-JWWpTrZmqQGQWt16xvNn6KVIUz16VtZwl984TKw0dfqqRpFwtLJYYk1/4BTgplndMQKWUk/yB4uOShYmMzA2Vg==}
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
run-parallel@1.2.0:
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
@ -2733,6 +2864,11 @@ packages:
engines: {node: '>=12.0.0', npm: '>=5.6.0'}
hasBin: true
sitemap@8.0.0:
resolution: {integrity: sha512-+AbdxhM9kJsHtruUF39bwS/B0Fytw6Fr1o4ZAIAEqA6cke2xcoO2GleBw9Zw7nRzILVEgz7zBM5GiTJjie1G9A==}
engines: {node: '>=14.0.0', npm: '>=6.0.0'}
hasBin: true
slash@3.0.0:
resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
engines: {node: '>=8'}
@ -2753,6 +2889,10 @@ packages:
resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==}
engines: {node: '>=0.10.0'}
source-map-js@1.2.1:
resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
engines: {node: '>=0.10.0'}
source-map-support@0.5.21:
resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
@ -2874,6 +3014,9 @@ packages:
text-table@0.2.0:
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
tiny-invariant@1.3.3:
resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}
to-fast-properties@2.0.0:
resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
engines: {node: '>=4'}
@ -3073,6 +3216,37 @@ packages:
terser:
optional: true
vite@5.4.7:
resolution: {integrity: sha512-5l2zxqMEPVENgvzTuBpHer2awaetimj2BGkhBPdnwKbPNOlHsODU+oiazEZzLK7KhAnOrO+XGYJYn4ZlUhDtDQ==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:
'@types/node': ^18.0.0 || >=20.0.0
less: '*'
lightningcss: ^1.21.0
sass: '*'
sass-embedded: '*'
stylus: '*'
sugarss: '*'
terser: ^5.4.0
peerDependenciesMeta:
'@types/node':
optional: true
less:
optional: true
lightningcss:
optional: true
sass:
optional: true
sass-embedded:
optional: true
stylus:
optional: true
sugarss:
optional: true
terser:
optional: true
vitefu@0.2.5:
resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==}
peerDependencies:
@ -3569,6 +3743,45 @@ snapshots:
'@img/sharp-win32-x64@0.33.4':
optional: true
'@inox-tools/aik-route-config@0.7.2(@types/node@20.14.12)(astro-integration-kit@0.16.1(astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4)))(astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4))(sass@1.78.0)':
dependencies:
'@inox-tools/utils': 0.1.3
astro: 4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4)
astro-integration-kit: 0.16.1(astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4))
debug: 4.3.7
recast: 0.23.9
vite: 5.4.7(@types/node@20.14.12)(sass@1.78.0)
transitivePeerDependencies:
- '@types/node'
- less
- lightningcss
- sass
- sass-embedded
- stylus
- sugarss
- supports-color
- terser
'@inox-tools/sitemap-ext@0.3.3(@types/node@20.14.12)(astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4))(sass@1.78.0)':
dependencies:
'@astrojs/sitemap': 3.1.6
'@inox-tools/aik-route-config': 0.7.2(@types/node@20.14.12)(astro-integration-kit@0.16.1(astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4)))(astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4))(sass@1.78.0)
astro: 4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4)
astro-integration-kit: 0.16.1(astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4))
sitemap: 8.0.0
transitivePeerDependencies:
- '@types/node'
- less
- lightningcss
- sass
- sass-embedded
- stylus
- sugarss
- supports-color
- terser
'@inox-tools/utils@0.1.3': {}
'@jridgewell/gen-mapping@0.3.5':
dependencies:
'@jridgewell/set-array': 1.2.1
@ -3642,51 +3855,99 @@ snapshots:
'@rollup/rollup-android-arm-eabi@4.19.1':
optional: true
'@rollup/rollup-android-arm-eabi@4.22.2':
optional: true
'@rollup/rollup-android-arm64@4.19.1':
optional: true
'@rollup/rollup-android-arm64@4.22.2':
optional: true
'@rollup/rollup-darwin-arm64@4.19.1':
optional: true
'@rollup/rollup-darwin-arm64@4.22.2':
optional: true
'@rollup/rollup-darwin-x64@4.19.1':
optional: true
'@rollup/rollup-darwin-x64@4.22.2':
optional: true
'@rollup/rollup-linux-arm-gnueabihf@4.19.1':
optional: true
'@rollup/rollup-linux-arm-gnueabihf@4.22.2':
optional: true
'@rollup/rollup-linux-arm-musleabihf@4.19.1':
optional: true
'@rollup/rollup-linux-arm-musleabihf@4.22.2':
optional: true
'@rollup/rollup-linux-arm64-gnu@4.19.1':
optional: true
'@rollup/rollup-linux-arm64-gnu@4.22.2':
optional: true
'@rollup/rollup-linux-arm64-musl@4.19.1':
optional: true
'@rollup/rollup-linux-arm64-musl@4.22.2':
optional: true
'@rollup/rollup-linux-powerpc64le-gnu@4.19.1':
optional: true
'@rollup/rollup-linux-powerpc64le-gnu@4.22.2':
optional: true
'@rollup/rollup-linux-riscv64-gnu@4.19.1':
optional: true
'@rollup/rollup-linux-riscv64-gnu@4.22.2':
optional: true
'@rollup/rollup-linux-s390x-gnu@4.19.1':
optional: true
'@rollup/rollup-linux-s390x-gnu@4.22.2':
optional: true
'@rollup/rollup-linux-x64-gnu@4.19.1':
optional: true
'@rollup/rollup-linux-x64-gnu@4.22.2':
optional: true
'@rollup/rollup-linux-x64-musl@4.19.1':
optional: true
'@rollup/rollup-linux-x64-musl@4.22.2':
optional: true
'@rollup/rollup-win32-arm64-msvc@4.19.1':
optional: true
'@rollup/rollup-win32-arm64-msvc@4.22.2':
optional: true
'@rollup/rollup-win32-ia32-msvc@4.19.1':
optional: true
'@rollup/rollup-win32-ia32-msvc@4.22.2':
optional: true
'@rollup/rollup-win32-x64-msvc@4.19.1':
optional: true
'@rollup/rollup-win32-x64-msvc@4.22.2':
optional: true
'@rubynetwork/rammerhead@1.3.2(bufferutil@4.0.8)(utf-8-validate@6.0.4)':
dependencies:
'@rubynetwork/rh': 1.2.71(bufferutil@4.0.8)(utf-8-validate@6.0.4)
@ -3985,6 +4246,10 @@ snapshots:
array-union@2.1.0: {}
ast-types@0.16.1:
dependencies:
tslib: 2.6.3
astro-eslint-parser@0.16.3:
dependencies:
'@astrojs/compiler': 2.9.2
@ -3999,6 +4264,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
astro-integration-kit@0.16.1(astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4)):
dependencies:
astro: 4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4)
pathe: 1.1.2
recast: 0.23.9
astro@4.12.2(@types/node@20.14.12)(sass@1.78.0)(typescript@5.5.4):
dependencies:
'@astrojs/compiler': 2.9.2
@ -4349,6 +4620,10 @@ snapshots:
dependencies:
ms: 2.1.2
debug@4.3.7:
dependencies:
ms: 2.1.3
decode-named-character-reference@1.0.2:
dependencies:
character-entities: 2.0.2
@ -5806,10 +6081,14 @@ snapshots:
path-type@4.0.0: {}
pathe@1.1.2: {}
pg-connection-string@2.6.4: {}
picocolors@1.0.1: {}
picocolors@1.1.0: {}
picomatch@2.3.1: {}
pify@4.0.1: {}
@ -5831,6 +6110,12 @@ snapshots:
picocolors: 1.0.1
source-map-js: 1.2.0
postcss@8.4.47:
dependencies:
nanoid: 3.3.7
picocolors: 1.1.0
source-map-js: 1.2.1
prebuild-install@7.1.2:
dependencies:
detect-libc: 2.0.3
@ -5944,6 +6229,14 @@ snapshots:
dependencies:
picomatch: 2.3.1
recast@0.23.9:
dependencies:
ast-types: 0.16.1
esprima: 4.0.1
source-map: 0.6.1
tiny-invariant: 1.3.3
tslib: 2.6.3
rehype-parse@9.0.0:
dependencies:
'@types/hast': 3.0.4
@ -6106,6 +6399,28 @@ snapshots:
'@rollup/rollup-win32-x64-msvc': 4.19.1
fsevents: 2.3.3
rollup@4.22.2:
dependencies:
'@types/estree': 1.0.5
optionalDependencies:
'@rollup/rollup-android-arm-eabi': 4.22.2
'@rollup/rollup-android-arm64': 4.22.2
'@rollup/rollup-darwin-arm64': 4.22.2
'@rollup/rollup-darwin-x64': 4.22.2
'@rollup/rollup-linux-arm-gnueabihf': 4.22.2
'@rollup/rollup-linux-arm-musleabihf': 4.22.2
'@rollup/rollup-linux-arm64-gnu': 4.22.2
'@rollup/rollup-linux-arm64-musl': 4.22.2
'@rollup/rollup-linux-powerpc64le-gnu': 4.22.2
'@rollup/rollup-linux-riscv64-gnu': 4.22.2
'@rollup/rollup-linux-s390x-gnu': 4.22.2
'@rollup/rollup-linux-x64-gnu': 4.22.2
'@rollup/rollup-linux-x64-musl': 4.22.2
'@rollup/rollup-win32-arm64-msvc': 4.22.2
'@rollup/rollup-win32-ia32-msvc': 4.22.2
'@rollup/rollup-win32-x64-msvc': 4.22.2
fsevents: 2.3.3
run-parallel@1.2.0:
dependencies:
queue-microtask: 1.2.3
@ -6126,7 +6441,7 @@ snapshots:
dependencies:
chokidar: 3.6.0
immutable: 4.3.7
source-map-js: 1.2.0
source-map-js: 1.2.1
optional: true
sax@1.4.1: {}
@ -6283,6 +6598,13 @@ snapshots:
arg: 5.0.2
sax: 1.4.1
sitemap@8.0.0:
dependencies:
'@types/node': 17.0.45
'@types/sax': 1.2.7
arg: 5.0.2
sax: 1.4.1
slash@3.0.0: {}
smart-buffer@4.2.0:
@ -6305,6 +6627,8 @@ snapshots:
source-map-js@1.2.0: {}
source-map-js@1.2.1: {}
source-map-support@0.5.21:
dependencies:
buffer-from: 1.1.2
@ -6472,6 +6796,8 @@ snapshots:
text-table@0.2.0: {}
tiny-invariant@1.3.3: {}
to-fast-properties@2.0.0: {}
to-regex-range@5.0.1:
@ -6651,6 +6977,16 @@ snapshots:
fsevents: 2.3.3
sass: 1.78.0
vite@5.4.7(@types/node@20.14.12)(sass@1.78.0):
dependencies:
esbuild: 0.21.5
postcss: 8.4.47
rollup: 4.22.2
optionalDependencies:
'@types/node': 20.14.12
fsevents: 2.3.3
sass: 1.78.0
vitefu@0.2.5(vite@5.3.5(@types/node@20.14.12)(sass@1.78.0)):
optionalDependencies:
vite: 5.3.5(@types/node@20.14.12)(sass@1.78.0)

@ -1 +1 @@
Subproject commit 1c2a916af69e7244d95df1f36e7dc85bef36b1d1
Subproject commit 24d301ac975c496d3b3165a66a4029b3deda01f5

View file

@ -38,13 +38,6 @@
"image": "/games/basketball-stars/logo.png",
"slug": "basketball-stars"
},
"binding-of-isaac": {
"name": "The Binding of Isaac",
"description": "When Isaacs mother starts hearing the voice of God demanding a sacrifice be made to prove her faith, Isaac escapes into the basement facing droves of deranged enemies, lost brothers and sisters, his fears, and eventually his mother.",
"image": "/games/flash/img/binding-of-isaac.png",
"slug": "binding-of-isaac",
"flash": true
},
"bloons-tower-defense-2": {
"name": "Bloons Tower Defense 2",
"description": "Bloons Tower Defense 2 is a popular tower defense game originally released in Flash by Ninja Kiwi. Strategically place your defenses, upgrade your units, and stop all balloons from passing through.",
@ -438,6 +431,13 @@
"image": "/games/there-is-no-game/logo.png",
"slug": "there-is-no-game"
},
"the-binding-of-isaac": {
"name": "The Binding of Isaac",
"description": "When Isaacs mother starts hearing the voice of God demanding a sacrifice be made to prove her faith, Isaac escapes into the basement facing droves of deranged enemies, lost brothers and sisters, his fears, and eventually his mother.",
"image": "/games/flash/img/binding-of-isaac.png",
"slug": "the-binding-of-isaac",
"flash": true
},
"tunnelrush": {
"name": "Tunnel Rush",
"description": "Tunnel Rush is a fast-paced endless runner game where you navigate through a colorful tunnel filled with obstacles. How far can you go?",

View file

@ -5,8 +5,11 @@ import GameItem from "@components/GameItem.astro";
import { STATIC_PATHS, i18n } from "@i18n/utils";
import Input from "@components/UI/Input.astro";
const t = i18n.inferLangUseTranslations(Astro.url);
export const prerender = true;
export function getStaticPaths() {
return STATIC_PATHS;
}

View file

@ -6,8 +6,11 @@ import Link from "@components/UI/Link.astro";
import ProxyRegistrar from "@components/ProxyRegistrar.astro";
import Input from "@components/UI/Input.astro";
import FaqCard from "@components/FaqCard.astro";
const t = i18n.inferLangUseTranslations(Astro.url);
export const prerender = true;
export function getStaticPaths() {
return STATIC_PATHS;
}

View file

@ -4,6 +4,8 @@ import Layout from "src/layouts/Layout.astro";
import marketplace from "../../json/marketplace.json";
import MarketplaceIcon from "@components/UI/MarketplaceIcon.astro";
export const prerender = true;
export const getStaticPaths = () => {
return STATIC_PATHS;
};

View file

@ -9,6 +9,8 @@ import { STATIC_PATHS, i18n } from "@i18n/utils";
const lang = i18n.getLangFromUrl(Astro.url);
const t = i18n.useTranslations(lang);
export const prerender = true;
export function getStaticPaths() {
return STATIC_PATHS;
}

View file

@ -3,8 +3,23 @@ export const prerender = false;
import Layout from "../../layouts/Layout.astro";
import games from "../../json/games.json";
import sitemap from 'sitemap-ext:config';
const gamesList = games as GameList;
sitemap(async ({ setSitemap }) => {
const gamesList = games as GameList;
const urls = Object.keys(gamesList);
setSitemap(
urls.map((game) => ({
sitemap: true,
params: {
game,
}
}))
);
});
// get the current game based on the information in the url
const game = Astro.params.game;
if (!game) {