Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.

This commit is contained in:
becarta
2025-05-23 12:43:00 +02:00
parent f40db0f5c9
commit a544759a3b
11127 changed files with 1647032 additions and 0 deletions

35
node_modules/@astrojs/telemetry/dist/system-info.js generated vendored Normal file
View File

@@ -0,0 +1,35 @@
import os from "node:os";
import { isCI, name as ciName } from "ci-info";
import isDocker from "is-docker";
import isWSL from "is-wsl";
let meta;
function getSystemInfo(versions) {
if (meta) {
return meta;
}
const cpus = os.cpus() || [];
return {
// Version information
nodeVersion: process.version.replace(/^v?/, ""),
viteVersion: versions.viteVersion,
astroVersion: versions.astroVersion,
// Software information
systemPlatform: os.platform(),
systemRelease: os.release(),
systemArchitecture: os.arch(),
// Machine information
cpuCount: cpus.length,
cpuModel: cpus.length ? cpus[0].model : null,
cpuSpeed: cpus.length ? cpus[0].speed : null,
memoryInMb: Math.trunc(os.totalmem() / Math.pow(1024, 2)),
// Environment information
isDocker: isDocker(),
isTTY: process.stdout.isTTY,
isWSL,
isCI,
ciName
};
}
export {
getSystemInfo
};