versions and shit

This commit is contained in:
tresabhi committed 2026-09-30 17:32:39 -05:00
1 parent c42b109974
commit 480d2226f7
4 files changed
+28 -27

No files matched your search

@@ -33,6 +33,8 @@ import { parse as parseYaml } from "yaml";
import { AbstractBlitzKitAPI } from "../abstract";
export abstract class ServerBlitzKitAPI0 extends AbstractBlitzKitAPI {
// TODO: move most of these to their respective constructors
protected vfs: AbstractVFS;
protected parsePath?: typeof parse;
protected extname?: typeof extname;
@@ -5,17 +5,18 @@ import { merge } from "lodash-es";
import { Cache } from "./0_base";
import { ServerBlitzKitAPI11 } from "./11_scripts";
const globbedStrings = import.meta.glob("../../../../../i18n/strings/*.json", {
import: "default",
});
export abstract class ServerBlitzKitAPI12 extends ServerBlitzKitAPI11 {
private globbedStrings = import.meta.glob(
"../../../../../i18n/strings/*.json",
{ import: "default" },
);
@Cache()
async strings(locale: string) {
const localized = (await globbedStrings[
const localized = (await this.globbedStrings[
`../../../../../i18n/strings/${locale}.json`
]()) as DeepPartial<Strings>;
const defaults = (await globbedStrings[
const defaults = (await this.globbedStrings[
`../../../../../i18n/strings/${locales.default}.json`
]()) as Strings;
const strings = merge({}, defaults, localized);
+5 -5
View File
@@ -25,8 +25,8 @@
"@react-three/drei": "^10.7.6",
"@react-three/fiber": "^9.4.0",
"@types/lodash-es": "^4.17.12",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@types/three": "^0.180.0",
"@vite-pwa/astro": "^1.1.0",
"astro": "^5.14.4",
@@ -41,11 +41,11 @@
"pwa-install-handler": "^2.6.3",
"quicklime": "^1.2.0",
"radix-ui": "^1.6.7",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-error-boundary": "^6.1.3",
"react-promise-suspense": "^0.3.4",
"soapstone": "^1.0.0",
"soapstone": "^1.0.1",
"three": "^0.180.0",
"three-stdlib": "^2.36.0",
"transliteration": "^2.6.1",