Repository navigation
fix(cli): prepare 0.2.2 release and update documentation - #414
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 40 minutes. View limit details
|
| Layer / File(s) | Summary |
|---|---|
CLI version and documentation sdks/urbackend-cli/package.json, sdks/urbackend-cli/src/index.ts, sdks/urbackend-cli/README.md |
The package version is now 0.2.2. The CLI reads its version from package.json; -V and --version use Commander’s built-in version option, and -v prints the version and exits successfully. The README link now points to https://docs.urbackend.in/. |
Analytics Limits
| Layer / File(s) | Summary |
|---|---|
Analytics limits shape sdks/urbackend-cli/src/services/analytics.service.ts, sdks/urbackend-cli/src/types/analytics.ts |
GlobalStats.limits adds the numeric webhooksLimit field. The other included lines show no behavior or declaration change. |
Promotional Email Defaults
| Layer / File(s) | Summary |
|---|---|
Promotional email address defaults tools/promotional-emails.js |
The default sender is now Yash from urBackend <yash@urbackend.in>, and the default reply-to address is yash@urbackend.in. The environment-variable overrides remain. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Merge Risk: 
Low · previous review 7249c
-
The version import presents a bounded CLI typecheck concern that should be checked before release. No broken installation or email-delivery failure was established.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passedFull details: Docstring Coverage
-
Explanation
Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 4 files. (2 skipped: 2 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
-
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
cli fixes
Summary by CodeRabbit
-vdisplays the version and exits successfully.