UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

86 lines 2.64 kB
/** * AUTO-GENERATED - DO NOT EDIT * Magical Release Metadata System * Generated by scripts/build/build-meta-release.ts * * This file contains build metadata and entity statistics for the iolin package. * All values are baked in at build time to avoid runtime dependencies. */ import { zsVersion } from "../zs-version.js"; // Build metadata (baked in at build time) export { zsVersion }; export const ggVersion = "0.10.3"; export const ggAt = "2025-12-16T09:23:53.296Z"; export const ggTs = "1765877033"; export const ggCommit = "472767ff56d0c8b2cd36168fab48b643b96bb2b6"; export const ggUpdated = ggAt; export const ggRelease = "0.10.3-ZSplaytest.19202990-1765877033-472767ff56d0"; // Entity statistics (generated at build time) export const entityStats = { "totalEntities": 237, "byType": { "building/base": 5, "building/extractor": 5, "building/merc-outpost": 2, "building/production": 15, "building/special": 15, "building/supply": 5, "building/tech": 17, "building/ultimate": 3, "coop-mission/assault-defense": 1, "coop-mission/escort": 1, "coop-mission/survival": 1, "faction/main": 4, "faction/mercenary": 5, "faction/nonplayer": 2, "map/1v1": 5, "map/2v2": 3, "map/ffa": 1, "mechanic/mechanic": 15, "modifier/boon": 19, "modifier/mutator": 4, "unit/army": 50, "unit/builder": 5, "unit/coop-commander": 2, "unit/harvester": 5, "unit/hero": 14, "unit/merc": 27, "unit/special": 4, "unit/ultimate": 2 } }; // Utility functions export function getVersionInfo(includeTimestamp = false) { const zsVer = zsVersion ?? "unknown"; const ggVer = ggVersion ?? "unknown"; if (includeTimestamp) { const timestamp = ggUpdated ?? "no timestamp"; return `ZeroSpace ${zsVer} - ${ggVer} (${timestamp})`; } else { return `ZeroSpace ${zsVer} - ${ggVer}`; } } export function getEntityCountByType(typeSubtype) { return entityStats.byType[typeSubtype] || 0; } export function getAllEntityTypes() { return Object.keys(entityStats.byType).sort(); } // Build information summary export const release = { ggVersion, zsVersion, ggUpdated: ggAt, ggRelease, ggCommit, ggAt, ggTs, entityCount: entityStats.totalEntities, typeCount: Object.keys(entityStats.byType).length }; // Legacy alias for backwards compatibility export const buildInfo = release; // Default export export default release; //# sourceMappingURL=release.js.map