UNPKG

@zerospacegg/iolin

Version:

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

91 lines 3.27 kB
"use strict"; /** * 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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.buildInfo = exports.release = exports.entityStats = exports.ggRelease = exports.ggUpdated = exports.ggCommit = exports.ggTs = exports.ggAt = exports.ggVersion = exports.zsVersion = void 0; exports.getVersionInfo = getVersionInfo; exports.getEntityCountByType = getEntityCountByType; exports.getAllEntityTypes = getAllEntityTypes; const zs_version_js_1 = require("../zs-version.cjs"); Object.defineProperty(exports, "zsVersion", { enumerable: true, get: function () { return zs_version_js_1.zsVersion; } }); exports.ggVersion = "0.10.3"; exports.ggAt = "2025-12-16T09:23:53.296Z"; exports.ggTs = "1765877033"; exports.ggCommit = "472767ff56d0c8b2cd36168fab48b643b96bb2b6"; exports.ggUpdated = exports.ggAt; exports.ggRelease = "0.10.3-ZSplaytest.19202990-1765877033-472767ff56d0"; // Entity statistics (generated at build time) exports.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 function getVersionInfo(includeTimestamp = false) { const zsVer = zs_version_js_1.zsVersion ?? "unknown"; const ggVer = exports.ggVersion ?? "unknown"; if (includeTimestamp) { const timestamp = exports.ggUpdated ?? "no timestamp"; return `ZeroSpace ${zsVer} - ${ggVer} (${timestamp})`; } else { return `ZeroSpace ${zsVer} - ${ggVer}`; } } function getEntityCountByType(typeSubtype) { return exports.entityStats.byType[typeSubtype] || 0; } function getAllEntityTypes() { return Object.keys(exports.entityStats.byType).sort(); } // Build information summary exports.release = { ggVersion: exports.ggVersion, zsVersion: zs_version_js_1.zsVersion, ggUpdated: exports.ggAt, ggRelease: exports.ggRelease, ggCommit: exports.ggCommit, ggAt: exports.ggAt, ggTs: exports.ggTs, entityCount: exports.entityStats.totalEntities, typeCount: Object.keys(exports.entityStats.byType).length }; // Legacy alias for backwards compatibility exports.buildInfo = exports.release; // Default export exports.default = exports.release; //# sourceMappingURL=release.js.map