@bastards/bcs
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

@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/bcs

Quick Start 🚀

  1. Initialize a new BCS project:
npx bcs init
  1. Start the development server:
npx bcs dev
  1. Build for production:
npx bcs build

Commands 🎯

  • bcs init - Initialize a new BCS project
  • bcs dev - Start development server
  • bcs build - Build for production
  • bcs validate - Validate configuration
  • bcs 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:

Readme

Keywords

none

Package Sidebar

Install

npm i @bastards/bcs

Weekly Downloads

2

Version

0.2.1

License

none

Unpacked Size

208 kB

Total Files

69

Last publish

Collaborators

  • dympydev