Skip to content

Tech stack and repo layout ​

Everything is TypeScript on Node 22 (node_version '22' in each manifest), bundled with esbuild and run with Bun scripts.

PartWhat we use
ScriptsTypeScript, esbuild, @citizenfx/client and @citizenfx/server types
UI (NUI)React 19 in one shared resource, raze_ui
DatabaseMariaDB/MySQL through our own raze_db (mysql2 pool)
FontInter (@fontsource-variable/inter)
ScreenshotsPlaywright (bun run shot)

The code lives in the private Raze-Roleplay/raze-fivem repo. Assets are in separate private repos: raze-mlo (map interiors), raze-props, raze-vehicles and raze-clothing.

PathWhat's there
resources/raze_*One folder per resource: fxmanifest.lua, src/client, src/server, often src/shared, JSON config, sql/, and web/ for NUI files
packages/shared@raze/shared: shared types, helpers and the ready system. Each resource's types live here (inventory.ts, jobs.ts, ...)
scripts/Build, check, new-resource, screenshot and asset tools
server/server.cfgThe ensure order. secrets.cfg (gitignored) holds the license key
dist/Build output, gitignored. Never edit it

Private. Do not share outside the team.