MCPcopy Index your code
hub / github.com/azerothcore/eluna-ts

github.com/azerothcore/eluna-ts @definitions-v1.2.12

Chat with this repo
repository ↗ · DeepWiki ↗ · release definitions-v1.2.12 ↗ · + Follow
88 symbols 102 edges 26 files 1 documented · 1% updated 2y ago★ 385 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Eluna TS

Eluna-TS is a system that uses TypeScriptToLua to compile Lua files compatible with the Eluna Engine

This project is composed by:

  • ✔️ A pre-configured workspace compatible with VSCode to compile your sources
  • ✔️ The deps/eluna-ts-definitions which adds Eluna definition files to Typescript allowing proper type-checking and intellisense feature
  • ✔️ The deps/eluna-ts-lib which must be included in your project to add needed methods and make it work on Eluna. It also adds some useful reusable Typescript classes and functions.

DISCLAIMER ⚠️: not all Typescript features are supported by Eluna-TS, the limitations are listed inside the documentation of the TypeScriptToLua project.

Demo

Last Eluna commit compatibility check

Installation (Without Docker)

If you don't have docker or you already have Nodejs install, you can just follow this guide to setup your environment by using Nodejs directly.

1. Requirements

NOTE: You can run the bash install-node.sh command to do it with an automatic script (it works on almost every OS with bash)

2. Install dependencies

  • Run npm install to install the required node dependencies

Installation (With Docker)

1. Requirements

2. Build and run the container

  • Run docker-compose up --build eluna-ts-dev

Configure your environment

Unit tests

Unit tests coverage report

Core symbols most depended-on inside this repo

Shape

Enum 48
Class 38
Function 1
Method 1

Languages

TypeScript100%

Modules by API surface

deps/eluna-ts-definitions/src/global.d.ts71 symbols
deps/eluna-ts-definitions/src/ac.d.ts12 symbols
modules/eluna-ts-mod-skeleton/src/player.ts4 symbols
deps/eluna-ts-definitions/src/hotfix.d.ts1 symbols

For agents

$ claude mcp add eluna-ts \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page