Module create-cc-ts - v0.2.0

🎨 create-cc-ts

Your magical project starter for ComputerCraft TypeScript adventures! ✨

bun create cc-ts my-awesome-project
  • 🎯 Zero Config - Get started in seconds
  • 🎨 Project Templates - Choose your adventure:
    • 📦 Bundled App - Complete application with hot reload and bundling
    • 📚 CC Library - Shareable modules for the CC community
  • 🛠️ Modern Setup - TypeScript + TSTL preconfigured
  • 🚀 Dev Tools - Watch mode, dev server, and more!
  • 🎮 CC Ready - Built-in types for ComputerCraft

Perfect for building complete applications! Includes:

  • 🏗️ @cc-ts/builder for smart bundling
  • 🔄 Hot reload development server
  • 📦 Dependency management
  • 🗜️ Optional minification
bun create cc-ts my-app
# Select "Bundled App" when prompted
cd my-app
bun install
bun run dev # Start development server

Create shareable libraries for the community! Features:

  • 📦 Optimized for npm publishing
  • 🎯 TypeScript declaration files
  • 🔧 Minimal bundle size
  • 🧩 TSTL library mode
bun create cc-ts my-library
# Select "CC Library" when prompted
cd my-library
bun install
bun run build # Build your library
create-cc-ts [options] [target-dir]

Options:
-h, --help Show this help message
-v, --version Show version number
--pm Specify package manager to use

Both project types come with:

  • 🎯 TypeScript configuration
  • 🔧 TSTL setup for ComputerCraft
  • 📝 Basic README and .gitignore
  • 🎮 ComputerCraft type definitions
  • 🚀 NPM scripts for development

We love contributions! Here's how you can help:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

MIT - feel free to use in your own projects!


Made with ❤️ by the CC-TS team

Type Aliases

ParsedArgs