Skip to content

Conversation

@adelrodriguez
Copy link
Owner

@adelrodriguez adelrodriguez commented Jan 3, 2026

Greptile Summary

Updated dev dependencies to their latest versions: knip 5.79.0, oxfmt 0.21.0, oxlint 1.36.0, oxlint-tsgolint 0.10.1, @typescript/native-preview 7.0.0-dev.20260103.1, and bunup 0.16.17.

  • All version numbers are properly synchronized between package.json and the corresponding helper files in src/helpers/packages/
  • Added test coverage for TypeScript helper version validation to ensure consistency with package.json
  • Updated changeset documentation to reflect the dependency bumps
  • Lock file updated accordingly

The changes maintain the existing architecture where version numbers are hardcoded in helper files and validated against package.json in tests.

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • Straightforward dependency version updates with proper synchronization across all files, comprehensive test coverage for version validation, and appropriate changeset documentation
  • No files require special attention

Important Files Changed

Filename Overview
package.json Bumped 6 dev dependency versions: knip, oxfmt, oxlint, oxlint-tsgolint, @typescript/native-preview, and bunup
tests/helpers.test.ts Added version validation tests for TypeScript helper, ensuring version format and package.json alignment
src/helpers/packages/knip.ts Updated knip version from 5.78.0 to 5.79.0
src/helpers/packages/oxfmt.ts Updated oxfmt version from 0.20.0 to 0.21.0
src/helpers/packages/oxlint.ts Updated oxlint version from 1.35.0 to 1.36.0 and tsgolint from 0.10.0 to 0.10.1
src/helpers/packages/typescript.ts Updated @typescript/native-preview version from 7.0.0-dev.20251227.1 to 7.0.0-dev.20260103.1

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant PJ as package.json
    participant Helpers as Helper Files
    participant Tests as Test Suite
    participant Lock as bun.lock
    participant CS as Changeset

    Dev->>PJ: Update dev dependency versions
    Note over PJ: knip: 5.78.0 → 5.79.0<br/>oxfmt: 0.20.0 → 0.21.0<br/>oxlint: 1.35.0 → 1.36.0<br/>tsgolint: 0.10.0 → 0.10.1<br/>typescript: 7.0.0-dev.20251227.1 → 7.0.0-dev.20260103.1<br/>bunup: 0.16.11 → 0.16.17
    
    Dev->>Helpers: Sync version in knip.ts
    Dev->>Helpers: Sync version in oxfmt.ts
    Dev->>Helpers: Sync version in oxlint.ts
    Dev->>Helpers: Sync version in typescript.ts
    
    Dev->>Tests: Add TypeScript version validation tests
    Note over Tests: Ensures version matches package.json<br/>Validates semver format without range prefixes
    
    Dev->>Lock: Update bun.lock
    Note over Lock: Resolves new dependency versions
    
    Dev->>CS: Document changes in changeset
    Note over CS: Lists all tooling dependency updates
    
    Tests->>Helpers: Validate helper versions
    Tests->>PJ: Read devDependencies
    Tests-->>Dev: ✓ All versions match and valid
Loading

Summary by CodeRabbit

  • Chores

    • Updated development dependencies to latest versions including knip 5.79.0, oxfmt 0.21.0, oxlint 1.36.0, oxlint-tsgolint 0.10.1, and TypeScript native preview 7.0.0-dev.20260103.1.
  • Tests

    • Added tests to verify TypeScript version handling and alignment with package configuration.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 3, 2026

📝 Walkthrough

Walkthrough

This PR updates development tooling dependencies including knip 5.79.0, oxfmt 0.21.0, oxlint 1.36.0, oxlint-tsgolint 0.10.1, and TypeScript native preview 7.0.0-dev.20260103.1. It adds tests for TypeScript version validation and updates corresponding version declarations in helper modules.

Changes

Cohort / File(s) Summary
Changelog Entry
.changeset/modern-tips-flash.md
Documents version updates to knip, oxfmt, oxlint, oxlint-tsgolint, and TypeScript native preview
Package Configuration
package.json
Updates devDependencies: @typescript/native-preview (7.0.0-dev.20251227.1 → 7.0.0-dev.20260103.1), bunup (0.16.11 → 0.16.17), knip (5.78.0 → 5.79.0), oxfmt (0.20.0 → 0.21.0), oxlint (1.35.0 → 1.36.0), oxlint-tsgolint (0.10.0 → 0.10.1)
Version Declarations
src/helpers/packages/knip.ts, src/helpers/packages/oxfmt.ts, src/helpers/packages/oxlint.ts, src/helpers/packages/typescript.ts
Updates version exports: knip (5.78.0 → 5.79.0), oxfmt (0.20.0 → 0.21.0), oxlint (1.35.0 → 1.36.0), tsgolint (0.10.0 → 0.10.1), typescript (7.0.0-dev.20251227.1 → 7.0.0-dev.20260103.1)
Test Coverage
__tests__/helpers.test.ts
Adds two new tests for TypeScript version handling: validates version is a string with semantic version pattern; verifies @typescript/native-preview devDependency matches typescript.version

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🐰 Dependencies dancing in the dev,
Versions bumping, new and fresh,
Knip, oxlint, typescript gleam,
Tools aligned in harmony's dream!

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'chore: update dev dependencies' accurately and concisely summarizes the main change: updating development dependencies across multiple packages to newer versions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings

📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 15f55ba and 3eb0f0a.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • .changeset/modern-tips-flash.md
  • __tests__/helpers.test.ts
  • package.json
  • src/helpers/packages/knip.ts
  • src/helpers/packages/oxfmt.ts
  • src/helpers/packages/oxlint.ts
  • src/helpers/packages/typescript.ts
🧰 Additional context used
📓 Path-based instructions (6)
**/*.{ts,tsx,js,jsx,html,css}

📄 CodeRabbit inference engine (AGENTS.md)

Use Bun instead of Node.js, npm, pnpm, or vite for package management and script execution

Files:

  • src/helpers/packages/oxfmt.ts
  • src/helpers/packages/typescript.ts
  • src/helpers/packages/oxlint.ts
  • src/helpers/packages/knip.ts
  • __tests__/helpers.test.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

Run type checking using bun run typecheck with tsgo (TypeScript Go)

Files:

  • src/helpers/packages/oxfmt.ts
  • src/helpers/packages/typescript.ts
  • src/helpers/packages/oxlint.ts
  • src/helpers/packages/knip.ts
  • __tests__/helpers.test.ts
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{ts,tsx,js,jsx}: Run code checking using bun run check to verify for linting issues
Run code fixing using bun run fix to auto-fix issues and format code

Files:

  • src/helpers/packages/oxfmt.ts
  • src/helpers/packages/typescript.ts
  • src/helpers/packages/oxlint.ts
  • src/helpers/packages/knip.ts
  • __tests__/helpers.test.ts
**/*.{ts,tsx,js,jsx,css}

📄 CodeRabbit inference engine (AGENTS.md)

Run code formatting using bun run format with oxfmt after editing various files

Files:

  • src/helpers/packages/oxfmt.ts
  • src/helpers/packages/typescript.ts
  • src/helpers/packages/oxlint.ts
  • src/helpers/packages/knip.ts
  • __tests__/helpers.test.ts
package.json

📄 CodeRabbit inference engine (AGENTS.md)

Install dependencies using bun install

Files:

  • package.json
**/*.test.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (AGENTS.md)

Run tests using bun test or bun run test:watch for watch mode

Files:

  • __tests__/helpers.test.ts
🧠 Learnings (14)
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to presets/oxfmt.json : Code formatting configuration is defined in `presets/oxfmt.json`

Applied to files:

  • src/helpers/packages/oxfmt.ts
  • src/helpers/packages/oxlint.ts
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to **/*.{ts,tsx,js,jsx,css} : Run code formatting using `bun run format` with oxfmt after editing various files

Applied to files:

  • src/helpers/packages/oxfmt.ts
  • package.json
  • .changeset/modern-tips-flash.md
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to presets/oxlint/core.json : Core linting rules are defined in `presets/oxlint/core.json` for all TypeScript/JavaScript projects

Applied to files:

  • src/helpers/packages/oxfmt.ts
  • src/helpers/packages/oxlint.ts
  • .changeset/modern-tips-flash.md
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to src/version.ts : Store package version detection logic in `src/version.ts`

Applied to files:

  • src/helpers/packages/typescript.ts
  • src/helpers/packages/oxlint.ts
  • src/helpers/packages/knip.ts
  • __tests__/helpers.test.ts
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to **/*.{ts,tsx} : Run type checking using `bun run typecheck` with tsgo (TypeScript Go)

Applied to files:

  • src/helpers/packages/typescript.ts
  • package.json
  • src/helpers/packages/oxlint.ts
  • __tests__/helpers.test.ts
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to presets/tsconfig.json : Reusable TypeScript configuration is provided in `presets/tsconfig.json` with strict settings

Applied to files:

  • src/helpers/packages/typescript.ts
  • __tests__/helpers.test.ts
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to **/*.{ts,tsx,js,jsx,html,css} : Use Bun instead of Node.js, npm, pnpm, or vite for package management and script execution

Applied to files:

  • package.json
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to package.json : Install dependencies using `bun install`

Applied to files:

  • package.json
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to src/index.ts : Build CLI using `bun run build` which bundles `src/index.ts` to `dist/` using bunup

Applied to files:

  • package.json
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to bunup.config.ts : Configure bunup bundling in `bunup.config.ts` to bundle CLI to `dist/index.js` with minification

Applied to files:

  • package.json
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Use changesets for version management - create with `bunx changeset`, version locally with `bun run version`, then push to main for automatic npm publishing

Applied to files:

  • package.json
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to **/*.{ts,tsx,js,jsx} : Run code checking using `bun run check` to verify for linting issues

Applied to files:

  • package.json
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to **/*.{ts,tsx,js,jsx} : Run code fixing using `bun run fix` to auto-fix issues and format code

Applied to files:

  • package.json
📚 Learning: 2025-12-27T17:52:30.369Z
Learnt from: CR
Repo: adelrodriguez/adamantite PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-27T17:52:30.369Z
Learning: Applies to src/commands/*.ts : Implement command logic in dedicated files under `src/commands/`: `fix.ts`, `check.ts`, `format.ts`, `init.ts`, `monorepo.ts`, `update.ts`

Applied to files:

  • .changeset/modern-tips-flash.md
🧬 Code graph analysis (1)
__tests__/helpers.test.ts (2)
src/helpers/packages/typescript.ts (1)
  • typescript (7-65)
src/utils.ts (1)
  • readPackageJson (114-125)
🔇 Additional comments (8)
.changeset/modern-tips-flash.md (1)

13-13: LGTM! Changelog entry accurately documents the dependency updates.

The changeset correctly lists all the updated tooling dependencies with their new versions.

src/helpers/packages/oxlint.ts (2)

122-122: Version matches package.json.

The oxlint-tsgolint version (0.10.1) in src/helpers/packages/oxlint.ts is consistent with the version in package.json devDependencies.


9-9: oxlint version is consistent with package.json.

The version 1.36.0 in src/helpers/packages/oxlint.ts matches the oxlint devDependency in package.json.

src/helpers/packages/knip.ts (1)

10-10: LGTM! Version bump is consistent with package.json.

The knip version has been correctly updated to 5.79.0 in both src/helpers/packages/knip.ts and package.json devDependencies.

src/helpers/packages/oxfmt.ts (1)

10-10: Version consistency verified.

The oxfmt version "0.21.0" in src/helpers/packages/oxfmt.ts matches the version in package.json devDependencies.

src/helpers/packages/typescript.ts (1)

9-9: LGTM. The version bump to 7.0.0-dev.20260103.1 is correct and matches the @typescript/native-preview version in package.json. The existing test at __tests__/helpers.test.ts:185-191 already validates that typescript.version matches package.json.devDependencies["@typescript/native-preview"].

__tests__/helpers.test.ts (1)

174-192: LGTM! TypeScript version validation tests are well-structured.

The new tests correctly validate the TypeScript version format and alignment with package.json. The regex pattern on line 181 appropriately handles dev version strings (e.g., 7.0.0-dev.20260103.1) by checking the semver prefix, and the package name lookup correctly uses @typescript/native-preview to match the devDependencies entry.

package.json (1)

75-80: All dev dependency versions verified and secure.

All six updated versions exist on npm and have no associated security advisories:

  • @typescript/native-preview@7.0.0-dev.20260103.1
  • bunup@0.16.17
  • knip@5.79.0
  • oxfmt@0.21.0
  • oxlint@1.36.0
  • oxlint-tsgolint@0.10.1

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.

@adelrodriguez adelrodriguez marked this pull request as ready for review January 3, 2026 19:28
Copy link
Owner Author

adelrodriguez commented Jan 3, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

Base automatically changed from feat_add_knip_preset_and_update_oxlint_expression_rules to main January 3, 2026 19:29
@adelrodriguez adelrodriguez force-pushed the chore_update_dev_dependencies branch from 2013489 to 3eb0f0a Compare January 3, 2026 19:29
@adelrodriguez adelrodriguez merged commit 1c478ab into main Jan 3, 2026
5 checks passed
@adelrodriguez adelrodriguez deleted the chore_update_dev_dependencies branch January 3, 2026 19:36
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