Skip to content

Use lib-tools for shared tooling - #61

Merged
jakeboone02 merged 3 commits into
mainfrom
lib-tools
Dec 2, 2026
Merged

jakeboone02 merged 3 commits into
mainfrom
lib-tools

Conversation

@jakeboone02

@jakeboone02 jakeboone02 commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Moves CI, config, and dev tooling that's duplicated across numeric-quantity, format-quantity, and parse-ingredient into lib-tools.

  • Workflows are now thin callers of lib-tools's reusable ci.yml/docs.yml/publish.yml (publish.yml keeps its name so npm trusted publishing still matches)
  • check:all runs lib-tools check, and CI runs lib-tools check --ci
  • tsconfig.json, .oxlintrc.json, and oxfmt.config.mts (replaces .oxfmtrc.json) extend shared bases
  • TypeDoc GA/README-H1 plugins come from lib-tools instead of local copies
  • pkg-pr-new is now a lib-tools dep
  • Dependabot → Renovate via the shared preset
  • Added a "Shared tooling" section to AGENTS.md

Summary by CodeRabbit

  • Refactor
    • Build checks, documentation generation and publishing, and package publishing now run through shared workflows.
    • Formatting, linting, and TypeScript settings now use shared configurations.
    • Documentation continues to include Google Analytics and README title handling through shared plugins.
    • The combined project-check command now runs the shared checks.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The repository adopts shared tooling for project configuration and TypeDoc plugins. Its documentation, CI, and publishing workflows now call pinned reusable workflows. The local TypeDoc plugins and Dependabot configuration were removed.

Changes: Shared tooling adoption

Layer / File(s) Summary
Project tooling configuration
.oxfmtrc.json, .oxlintrc.json, AGENTS.md, oxfmt.config.mts, package.json, renovate.json, tsconfig.json
The project adds @jakeboone02/lib-tools, uses shared formatter, linter, and TypeScript configuration, and changes check:all to run lib-tools check. The TypeScript configuration includes ./*.mts. AGENTS.md adds shared tooling guidance, and Renovate extends the shared preset.
TypeDoc plugin delegation
typedoc-plugin-ga.mjs, typedoc-plugin-strip-readme-h1.mjs, typedoc.json
typedoc.json now references the package's TypeDoc plugins. The two local plugin files were deleted.
Reusable workflow delegation
.github/workflows/docs.yml, .github/workflows/main.yml, .github/workflows/publish.yml, .github/dependabot.yml
The documentation, CI, and publishing workflows now call pinned reusable workflows with specified permissions. Their inline job steps were removed. The Dependabot configuration was deleted.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Merge Risk: Minimal · up to b9e88 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Use lib-tools for shared tooling" matches the main change. The PR moves duplicated CI workflows, TypeScript, Oxlint, and Oxfmt configuration, TypeDoc plugins, and dependency tooling into th…
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.
Full details: Title check

Explanation

The title "Use lib-tools for shared tooling" matches the main change. The PR moves duplicated CI workflows, TypeScript, Oxlint, and Oxfmt configuration, TypeDoc plugins, and dependency tooling into the shared lib-tools package. The title is short and specific enough for a teammate to understand the primary change.

Finishing Touches

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 87266688-e9ae-4ffd-9bea-47b127f6ce5b
Commits

Reviewing files that changed from the base of the PR and between ebb8b5b and b9e8814.

Files ignored due to path filters: 1

  • bun.lock is excluded by !**/*.lock
Files selected for processing: 4

  • .github/workflows/docs.yml
  • .github/workflows/main.yml
  • .github/workflows/publish.yml
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@pkg-pr-new

pkg-pr-new Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

bun add https://pkg.pr.new/numeric-quantity@61
npm i https://pkg.pr.new/numeric-quantity@61
pnpm add https://pkg.pr.new/numeric-quantity@61

commit: b9e8814

@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (007b185) to head (b9e8814).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #61   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          504       504           
=========================================
  Hits           504       504           

☔ View full report in Codecov by Harness.
📢 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.

@jakeboone02
jakeboone02 merged commit a7b682e into main Dec 2, 2026
5 checks passed
@jakeboone02
jakeboone02 deleted the lib-tools branch December 2, 2026 16:50
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