create-cc-ts
v0.2.1
Published
> Your magical project starter for ComputerCraft TypeScript adventures! ✨
Downloads
7
Readme
🎨 create-cc-ts
Your magical project starter for ComputerCraft TypeScript adventures! ✨
🚀 Quick Start
bun create cc-ts my-awesome-project✨ Features
- 🎯 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
🎮 Project Types
📦 Bundled App
Perfect for building complete applications! Includes:
- 🏗️
@cc-ts/builderfor 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📚 CC Library
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🛠️ CLI Options
create-cc-ts [options] [target-dir]
Options:
-h, --help Show this help message
-v, --version Show version number
--pm Specify package manager to use📦 What's Included?
Both project types come with:
- 🎯 TypeScript configuration
- 🔧 TSTL setup for ComputerCraft
- 📝 Basic README and .gitignore
- 🎮 ComputerCraft type definitions
- 🚀 NPM scripts for development
🤝 Contributing
We love contributions! Here's how you can help:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📜 License
MIT - feel free to use in your own projects!
Made with ❤️ by the CC-TS team
