Skip to content

Add Joi to validation npm stats#1038

Open
Sheraff wants to merge 1 commit into
TanStack:mainfrom
Sheraff:add-joi-validation-npm-stats
Open

Add Joi to validation npm stats#1038
Sheraff wants to merge 1 commit into
TanStack:mainfrom
Sheraff:add-joi-validation-npm-stats

Conversation

@Sheraff

@Sheraff Sheraff commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Adds joi to the Validation npm stats comparison group.

Tests:

  • pnpm oxlint --type-aware --disable-nested-config "src/routes/stats/npm/-comparisons.ts"
  • pnpm run test (commit hook)

Summary by CodeRabbit

  • New Features
    • Added Joi to the Validation comparison package list, so it now appears as an available option in that view.

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a2a8975f-06be-4dd1-adaf-8d9b06795e2b

📥 Commits

Reviewing files that changed from the base of the PR and between 4b2c635 and 6136e0b.

📒 Files selected for processing (1)
  • src/routes/stats/npm/-comparisons.ts

📝 Walkthrough

Walkthrough

Adds a new package entry for Joi, including its color value, to the Validation comparison's package groups list within getPopularComparisons() in the npm comparisons configuration file.

Changes

Validation Comparisons Update

Layer / File(s) Summary
Add Joi package entry
src/routes/stats/npm/-comparisons.ts
Adds a new joi package group entry with color #8b5cf6 to the Validation preset.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

  • TanStack/tanstack.com#971: Both PRs add a new npm package entry to a comparison group within getPopularComparisons() in the same file.
  • TanStack/tanstack.com#1012: Both PRs extend the npm comparisons configuration in getPopularComparisons(), one adding Joi to Validation and the other adding a new preset.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: adding Joi to the Validation npm stats comparison group.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant