nagare

Getting Started with Nagare Documentation

Welcome to the Nagare documentation! This guide uses the Diátaxis framework to help you find exactly what you need.

Prerequisites

Before you start using Nagare:

🆕 Latest Updates

v1.10.0+ - Enhanced Documentation & Branding

The Documentation Revolution: This release establishes enterprise-grade documentation with visual diagrams, structured learning paths, and comprehensive coverage of all Nagare features - from quick start to advanced security considerations.

📚 Documentation Types

🎓 Tutorials

Learning-oriented - Start here if you’re new to Nagare

🔧 How-to Guides

Task-oriented - Practical guides for specific tasks

📖 Reference

Information-oriented - Complete technical reference

💡 Explanation

Understanding-oriented - Deep dives into concepts and design decisions

📊 Visual Diagrams & Architecture

For the best experience viewing interactive Mermaid diagrams, visit these pages directly on GitHub:

🚀 Where to Start?

New to Nagare?

  1. Start with Getting Started
  2. Follow the Quick Start section below
  3. Read Architecture Overview

Need to accomplish something specific?

Want to understand Nagare deeply?

🚀 Quick Start

Don’t want to read the full tutorial? Here’s the fastest path to your first release:

# 1. Initialize Nagare in your project
deno run -A jsr:@rick/nagare/cli init

# 2. Add tasks to your deno.json (copy from init output)
{
  "tasks": {
    "nagare": "deno run -A nagare-launcher.ts",
    "nagare:patch": "deno task nagare patch",
    "nagare:minor": "deno task nagare minor",
    "nagare:major": "deno task nagare major",
    "nagare:dry": "deno task nagare --dry-run"
  }
}

# 3. Create your first release
deno task nagare:dry    # Preview changes first
deno task nagare       # Create actual release

That’s it! Your project now has automated release management.

🌊 Release Flow Visualization

graph TD
    A[📝 Commit with Conventional Format] --> B[🔍 Nagare Analyzes Commits]
    B --> C{🎯 Determine Version Bump}
    C -->|feat:| D[📈 Minor Version]
    C -->|fix:| E[🔧 Patch Version]
    C -->|BREAKING:| F[💥 Major Version]
    
    D --> G[📄 Update Version Files]
    E --> G
    F --> G
    
    G --> H[📝 Generate Changelog]
    H --> I[🏷️ Create Git Tag]
    I --> J[📤 Push to GitHub]
    J --> K[🎉 Create GitHub Release]
    K --> L[✅ Release Complete]
    
    style A fill:#e1f5fe
    style B fill:#e3f2fd
    style C fill:#e8eaf6
    style L fill:#e8f5e8
    style G fill:#fff3e0
    style H fill:#fff3e0
    style K fill:#f3e5f5

Most Common Tasks

Essential Reference

Key Concepts

📝 Generating API Documentation

IMPORTANT: Always use the predefined tasks to generate API documentation. This ensures docs are placed in the correct location (docs/api/).

Available Documentation Tasks

# Generate HTML API documentation (recommended)
deno task docs:api

# Generate JSON API documentation
deno task docs:json

# Check JSDoc syntax without generating files
deno task docs:check

# Clean and regenerate all API docs
deno task docs:clean && deno task docs:api

# Serve API documentation locally
deno task docs:serve

⚠️ Never Run Directly

DO NOT run deno doc without the --output flag as it will generate files in the wrong location:

# ❌ WRONG - Will generate in current directory
deno doc --html cli.ts

# ✅ CORRECT - Use the task instead
deno task docs:api

🎯 Finding What You Need

By User Type

Solo Developer

Team Lead

Enterprise User

By Task

Setting Up Nagare

Customizing Releases

Automation & CI/CD

Troubleshooting

🔧 Key Features Overview

🚀 Automated Releases

🤖 Intelligent File Updates

🛡️ Security & Reliability

⚙️ Highly Configurable

📝 Documentation Principles

This documentation follows these principles:

  1. User-focused language - We address you directly with clear, actionable guidance
  2. Present tense - We describe what happens now, not what will happen
  3. Examples first - We show working examples before explaining concepts
  4. Task-oriented structure - We organize content around what you want to accomplish
  5. Progressive disclosure - We start simple and add complexity as needed

🤝 Contributing

Found an issue or want to improve the docs?

📄 License

Nagare is MIT licensed. See LICENSE for details.


Made with ❤️ by eSolia for the Deno community