UNPKG

@mdfriday/foundry

Version:

The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.

34 lines 807 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Compiler = void 0; exports.newVersion = newVersion; /** * Compiler - TypeScript equivalent of Go's Compiler valueobject * Represents compiler version information */ class Compiler { constructor(version) { this.ver = version; } /** * Get compiler version */ version() { return this.ver; } /** * Get environment (simplified implementation) */ environment() { return 'production'; // Default environment } } exports.Compiler = Compiler; /** * Factory function to create new Compiler * TypeScript equivalent of NewVersion function from Go */ function newVersion(version) { return new Compiler(version); } //# sourceMappingURL=version.js.map