Files
computercraft-ts/README.md
2025-10-26 13:36:13 +09:00

1.2 KiB

ComputerCraft-TS

Note

This document is AI-generated.

A template for developing ComputerCraft programs using TypeScript.

Getting Started

Prerequisites

Installation

  1. Clone the repository:
    git clone <repository-url>
    
  2. Install dependencies:
    pnpm install
    

Building

To build the project, run the following command:

pnpm build

This will compile the TypeScript code in src/ to Lua and output it to the dist/ directory.

Usage

After building the project, you can copy the compiled Lua code from the dist/ directory to your ComputerCraft computer.

Project Structure

  • src/main.ts: The main entry point of your program.
  • tsconfig.json: TypeScript compiler options.
  • package.json: Project metadata and dependencies.
  • scripts/postbuild.js: A script that runs after the build process.

Dependencies