Turborepo
and PNPM
, the workspace separates concerns between applications, shared libraries, configuration, scripts, and service definitions. TypeScript
metadata reflection. // Example service method export
@ExportedMethod()
kickPlayer(reason: string) {
// Implementation
}
// Auto-registered and exposed to <NX>.kickPlayer
// Usage example
const NX = exports.NX.useServer()
const nxPlayer = NX.Players.Get(1)
nxPlayer.kickPlayer(reason)