Commit Graph

8 Commits

Author SHA1 Message Date
CPTProgrammer
5dd25a3267
Wire publish flow to tRPC with live progress 2026-07-17 19:15:41 +08:00
CPTProgrammer
f90923736f
Refactor config API to use filename-based identifiers 2026-07-16 12:30:51 +08:00
CPTProgrammer
c996e772c8
Fix EventEmitter import and tsconfig paths
Update the EventEmitter import to use named import syntax.
Correct tsconfig baseUrl and paths mapping to properly resolve
`@/*` aliases from the project root.
2026-07-13 10:00:20 +08:00
CPTProgrammer
7aa84fd41e
Refactor type-safe constants and extract utility helpers 2026-07-13 09:29:00 +08:00
CPTProgrammer
b5555d5635
Dynamically map platform results in publish endpoint 2026-07-11 09:46:25 +08:00
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
e57a1ac993
Extract platform publishing logic into dedicated modules 2026-07-09 12:33:53 +08:00
CPTProgrammer
db1cb28296
Add publish API with modular service layer
Add tRPC publish endpoint, project version parsing, config CRUD, and
client services for Modrinth/CurseForge integration.
2026-07-08 07:05:48 +08:00