Skip to content

fix(deps): update deps and fix lint rules#389

Merged
kodiakhq[bot] merged 3 commits into
mainfrom
chore/update-deps-and-fixes
Jun 26, 2026
Merged

fix(deps): update deps and fix lint rules#389
kodiakhq[bot] merged 3 commits into
mainfrom
chore/update-deps-and-fixes

Conversation

@mheob

@mheob mheob commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Summary

Update all non-major dependencies and fix oxlint rule violations in commitlint-config.

Changes

  • Bump @commitlint/cli from ^20.5.3 to ^21.1.0
  • Bump oxfmt from ^0.53.0 to ^0.56.0 and oxlint from ^1.68.0 to ^1.71.0
  • Bump turbo, tsdown, lint-staged, @types/node, and ESLint plugins
  • Update bun packageManager from 1.3.11 to 1.3.14
  • Adjust peer dependency ranges for @commitlint/cli, oxfmt, and oxlint
  • Replace parseInt with Math.trunc(Number()) in commitlint-config
  • Add unicode flag to regex and suppress node/no-sync lint rule

Motivation

Keep tooling current and resolve new oxlint rule violations introduced by the updated linter version.

Summary by CodeRabbit

  • Bug Fixes

    • Improved branch/issue detection and “wip” message matching for more reliable commit validation.
    • Fixed lint-related issues to keep automated checks passing smoothly.
  • Chores

    • Updated several development and release tooling versions across the project.
    • Bumped package manager and related configuration requirements to newer patch/minor releases.

mheob and others added 3 commits June 26, 2026 15:21
Replace parseInt with Math.trunc(Number()) and add unicode flag to regex.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 820baaa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@mheob/commitlint-config Patch
@mheob/oxfmt-config Patch
@mheob/oxlint-config Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The PR refreshes workspace tooling versions, updates package manager and peer dependency ranges, and adjusts commitlint branch parsing and ignore rules while recording the patch releases in changesets.

Changes

Toolchain refresh and commitlint fixes

Layer / File(s) Summary
Commitlint parsing and ignores
packages/commitlint-config/src/index.ts, .changeset/fix-commitlint-oxlint-rules.md
getIssue() now uses Math.trunc(Number(...)), the wip ignore regex uses the unicode flag, and the changeset records the patch release.
Workspace toolchain pins
packages/commitlint-config/package.json, package.json, packages/internal/package.json
The commitlint package, workspace root, and internal package update tool version pins and the root packageManager value.
Oxfmt and oxlint ranges
packages/oxfmt-config/package.json, packages/oxlint-config/package.json, .changeset/update-dependencies.md
The oxfmt and oxlint config packages update dev dependency versions and peer dependency ranges, and the changeset records their patch releases.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • mheob/config#210: Updates @commitlint/cli and related tool ranges in packages/commitlint-config/package.json.

Suggested labels

dependencies, bug_fix

🚥 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 accurately summarizes the main changes: dependency updates and lint rule fixes.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/update-deps-and-fixes

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/commitlint-config/package.json`:
- Around line 47-48: The `@mheob/commitlint-config` update is a breaking peer
dependency change because `CommitlintConfig` now requires `@commitlint/cli`
^21.1.0 instead of v20.x. Update the changeset in
`.changeset/update-dependencies.md` to declare a major release for
`@mheob/commitlint-config` (not a patch), and make sure the changelog/release
notes explicitly mention the `@commitlint/cli` requirement bump.

In `@packages/commitlint-config/src/index.ts`:
- Around line 55-56: The issue is that the issue-prefix check in the commitlint
config accepts non-decimal numeric literals via generic coercion. Update the
logic in the branch/subject parsing path around firstNamePart so it only matches
plain decimal digits before returning the prefixed issue string, instead of
using Math.trunc(Number(firstNamePart)).

In `@packages/oxfmt-config/package.json`:
- Around line 44-45: The peer dependency range change for `@mheob/oxfmt-config` is
a breaking compatibility change because it excludes older oxfmt versions, so
update the changeset entry in update-dependencies.md to a major release (or
minor if following 0.x rules) for the package; if the lower bound was not
intended, relax the peerDependencies range in package.json instead. Use the
`@mheob/oxfmt-config` package entry and the update-dependencies changeset as the
places to align the version bump with the new peer constraint.

In `@packages/oxlint-config/package.json`:
- Line 54: The oxlint peer dependency floor was raised in the package.json
peerDependencies entry, which is a breaking compatibility change and should not
ship in a patch release. Update the oxlint range in the package manifest either
by widening it back to the previous compatible floor if possible, or by ensuring
the package version/release is bumped to a minor or major release to match the
breaking change; use the oxlint peerDependencies entry in package.json to locate
it.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 84166f5f-766f-494b-8cf1-ce902da16a42

📥 Commits

Reviewing files that changed from the base of the PR and between 769e7e2 and 820baaa.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (8)
  • .changeset/fix-commitlint-oxlint-rules.md
  • .changeset/update-dependencies.md
  • package.json
  • packages/commitlint-config/package.json
  • packages/commitlint-config/src/index.ts
  • packages/internal/package.json
  • packages/oxfmt-config/package.json
  • packages/oxlint-config/package.json

Comment thread packages/commitlint-config/package.json
Comment thread packages/commitlint-config/src/index.ts
Comment thread packages/oxfmt-config/package.json
Comment thread packages/oxlint-config/package.json
@kodiakhq kodiakhq Bot merged commit c76fb31 into main Jun 26, 2026
7 checks passed
@kodiakhq kodiakhq Bot deleted the chore/update-deps-and-fixes branch June 26, 2026 13:40
@sonarqubecloud

Copy link
Copy Markdown

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