Engine Plugin Repositories
YarnDraft exports engine runtimes from vendored snapshots stored in this repo. The app must keep exporting offline, so exports should not depend on GitHub or network access at runtime.
Unreal
- Planned upstream repo:
szakee72/YarnDraft-Unreal - Vendored snapshot:
src-tauri/templates/unreal - Packaged app resource:
templates/unreal - Export destination:
<Project>_Unreal/Plugins/YarnDraft
Update flow:
- Update and tag the Unreal plugin repo.
- Replace
src-tauri/templates/unrealwith that repo's plugin contents. - Update
src-tauri/templates/unreal/YarnDraftPluginSnapshot.json. - Run:
powershell
npm test -- src/lib/export/engineExport.test.ts src/lib/export/runtimeGraph.test.ts
npx tsc -b- If C++ or Blueprint-facing API changed, also run a real Unreal rebuild against a test project before release.
Keep YarnDraft as the release authority for the app. The plugin repo owns plugin source history; this repo owns the exact snapshot bundled with each app release.
Godot
Godot is still generated from src/lib/export/engines/godot.ts. Split it only after the runtime grows beyond a single embedded script.
