Welcome to the Nagare documentation! This guide uses the Diátaxis framework to help you find exactly what you need.
Before you start using Nagare:
v1.10.0+ - Enhanced Documentation & Branding
🌊 Nagare:
messagingThe 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.
Learning-oriented - Start here if you’re new to Nagare
Task-oriented - Practical guides for specific tasks
Information-oriented - Complete technical reference
Understanding-oriented - Deep dives into concepts and design decisions
For the best experience viewing interactive Mermaid diagrams, visit these pages directly on GitHub:
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.
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
IMPORTANT: Always use the predefined tasks to generate API documentation. This ensures docs are placed in the
correct location (docs/api/
).
# 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
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
Solo Developer
Team Lead
Enterprise User
Setting Up Nagare
Customizing Releases
Automation & CI/CD
Troubleshooting
This documentation follows these principles:
Found an issue or want to improve the docs?
Nagare is MIT licensed. See LICENSE for details.
Made with ❤️ by eSolia for the Deno community