Commit Graph

4 Commits

Author SHA1 Message Date
CPTProgrammer
ffcfa9c4f5
Refactor platform publishing
Introduce a new `getMinecraftVersions` function to fetch Minecraft
versions from
CurseForge with caching, along with its Zod schema and exports. Refactor
the
publishing system to use a unified `PlatformAdaptor` interface, replace
the old
`PlatformContext` type, and update the publish flow to compute version
ranges
and pass files as structured objects. Improve `resolveVersionName` to
accept a
full config object and rework `buildJarPath` to use a Template instance.
Add
server functions to retrieve filtered MC version lists for both Modrinth
and
CurseForge.
2026-07-11 09:26:05 +08:00
CPTProgrammer
cbce560805
Replace Blob with File for file uploads 2026-07-11 06:06:34 +08:00
CPTProgrammer
e8d4994cec
Add TTL cache for game version/loader APIs and enrich upload metadata 2026-07-10 06:54:14 +08:00
CPTProgrammer
e57a1ac993
Extract platform publishing logic into dedicated modules 2026-07-09 12:33:53 +08:00