♻️ Restructure: Move Astro to repository root
BREAKING CHANGE: Astro project is now at repository root - Removed dealplustech-astro subdirectory - Moved all Astro files to root - Updated PostCSS config to .cjs - Removed old Next.js files ✅ 11 pages built successfully ✅ Cookie consent banner included ✅ Privacy/Terms links in footer ✅ Ready for Easypanel deployment (no root dir needed) Migration path: - Old structure: /dealplustech-astro/ - New structure: / (root)
This commit is contained in:
35
dealplustech-astro/node_modules/@astrojs/telemetry/dist/system-info.js
generated
vendored
35
dealplustech-astro/node_modules/@astrojs/telemetry/dist/system-info.js
generated
vendored
@@ -1,35 +0,0 @@
|
||||
import os from "node:os";
|
||||
import { name as ciName, isCI } 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
|
||||
};
|
||||
Reference in New Issue
Block a user