0.2.1 • Published 8 months ago
@bastards/bcs v0.2.1
@bastards/bcs 🛠️
The command-line interface for BCS (Bastards Content System) that helps you manage and interact with your CMS projects.
Features 🌟
Project Initialization 🚀
- Set up new BCS projects with a single command
 - Generate necessary configuration files
 - Set up proper folder structure
 
Development Tools 💻
- Run development server with live preview
 - Watch mode for real-time updates
 - Automatic type generation from schemas
 
Build & Validation ✅
- Build your CMS for production
 - Validate configuration files
 - Generate TypeScript types
 - Bundle admin interface
 
Content Management 📝
- Manage content types and schemas
 - Handle media assets
 - Configure data adapters
 
Installation 📦
npm install @bastards/bcs
# or
pnpm add @bastards/bcs
# or
yarn add @bastards/bcsQuick Start 🚀
- Initialize a new BCS project:
 
npx bcs init- Start the development server:
 
npx bcs dev- Build for production:
 
npx bcs buildCommands 🎯
bcs init- Initialize a new BCS projectbcs dev- Start development serverbcs build- Build for productionbcs validate- Validate configurationbcs help- Show help information
Configuration 🔧
The CLI uses the bcs.config.ts file in your project root for configuration. For detailed configuration options and examples, please refer to the main project documentation.
Contributing 🤝
We welcome contributions! Please see our Contributing Guide for details.
License 📄
MIT - see the main project repository for details.
Learn More 📚
For more information about BCS and its features, check out:
- BCS Documentation (Coming soon, still working on it!)
 - Main Project README
 - Software Bastards