Skip to content

chore: export utils#418

Merged
codepunkt merged 1 commit intomainfrom
chore/export-utils
Mar 12, 2026
Merged

chore: export utils#418
codepunkt merged 1 commit intomainfrom
chore/export-utils

Conversation

@codepunkt
Copy link
Copy Markdown
Owner

@codepunkt codepunkt commented Mar 12, 2026

Summary by CodeRabbit

  • New Features
    • Expanded public API with four new utility functions for accessing license information, license text, repository details, and package metadata.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 12, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c1c1410b-93a9-4375-8997-12f6e86ce0a6

📥 Commits

Reviewing files that changed from the base of the PR and between f372dc2 and 35f68c0.

📒 Files selected for processing (1)
  • src/index.ts

Walkthrough

Four utility functions—getLicense, getLicenseText, getRepository, and readPackageMeta—are re-exported from src/index.ts, making them publicly available via the package's main entry point.

Changes

Cohort / File(s) Summary
Public API Re-exports
src/index.ts
Added four re-exports from ./utils.js: getLicense, getLicenseText, getRepository, and readPackageMeta, expanding the public API surface without behavioral modifications.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Poem

🐰 Four functions now dance in the light,
Re-exported with pride, oh what a sight!
From utils they came, now bold and free,
Public and gleaming for all to see!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: re-exporting four utility functions from utils.js in the public API via src/index.ts.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/export-utils
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

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

Tip

You can enable review details to help with troubleshooting, context usage and more.

Enable the reviews.review_details setting to include review details such as the model used, the time taken for each step and more in the review comments.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (f372dc2) to head (35f68c0).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #418   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          114       114           
  Branches        26        26           
=========================================
  Hits           114       114           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codepunkt codepunkt merged commit 59b1df2 into main Mar 12, 2026
6 checks passed
@codepunkt codepunkt deleted the chore/export-utils branch March 12, 2026 21:26
codepunkt added a commit that referenced this pull request Mar 12, 2026
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.

2 participants