Node 24. No installs or network. Extract source.zip into an empty directory and keep source.zip beside this recipe. Run:
node package-wave7-action.ts source.zip dark-light --preferred-source
Node 24 runs this typed packaging recipe using native type stripping, which erases its annotations without a separate compiler. This reconstructs game-runtime/dark-light-v1 from the included readable edition JavaScript and assets, including identical source.zip and SOURCE.json. It does not recompile the original game TypeScript.
KHAN initial game TypeScript conversion: installed esbuild 0.28.2 transformSync per adapted module, loader ts, format esm, target es2020, minify false, legalComments inline. The recipe contains exact adaptations and conversion options. Original editable TypeScript and adapted TypeScript are included; the readable JavaScript is also a preferred edition input. No compiler binaries or hidden project inputs are distributed.
Dark Light retains native readable ES modules and needs no compiler.
