Skip to content

chore: update all dependencies to latest versions - #75

Merged
nyatinte merged 3 commits into
mainfrom
claude/update-dependencies-PGaC5
Apr 7, 2026
Merged

chore: update all dependencies to latest versions#75
nyatinte merged 3 commits into
mainfrom
claude/update-dependencies-PGaC5

Conversation

@nyatinte

@nyatinte nyatinte commented Apr 7, 2026

Copy link
Copy Markdown
Owner

What

  • Update all dependencies to their latest versions
  • @clack/prompts 1.1.0 → 1.2.0
  • citty 0.2.1 → 0.2.2
  • yaml 2.8.2 → 2.8.3
  • vitest / @vitest/coverage-v8 4.1.0 → 4.1.2
  • tsdown 0.21.2 → 0.21.7
  • ultracite 7.3.0 → 7.4.3
  • lefthook 2.1.4 → 2.1.5
  • fs-fixture 2.11.0 → 2.13.0
  • knip 5.86.0 → 6.3.0 (major)
  • @types/node 24.12.0 → 24.12.2 (stay on 24.x to align with engines.node)
  • @typescript/native-preview → 7.0.0-dev.20260406.1
  • Remove typescript — optional peer dep of tsdown, typecheck already uses tsgo

Fix CI failures caused by the above updates:

  • Replace "utf8" with "utf-8" in readFileSync/readFile calls (src/history.ts, src/workspace.ts) to satisfy the new ultracite 7.4.3 lint rule
  • Handle args.help explicitly in run() (src/index.ts) since citty 0.2.2 no longer auto-intercepts --help/-h when the user defines a help arg — mirrors the existing args.version pattern

Why

Renovate is not running. Manual update to keep dependencies current and pick up bug fixes and minor features in each package.

The CI fixes are required because ultracite 7.4.3 introduced a new lint rule (utf-8 over utf8) and citty 0.2.2 changed behavior so that user-defined help args disable the built-in --help interception.

Ref

claude added 2 commits April 7, 2026 15:27
- @clack/prompts 1.1.0 → 1.2.0
- citty 0.2.1 → 0.2.2
- yaml 2.8.2 → 2.8.3
- typescript 5.9.3 → 6.0.2 (major)
- @types/node 24.12.0 → 25.5.2 (major)
- knip 5.86.0 → 6.3.0 (major)
- vitest/coverage-v8 4.1.0 → 4.1.2
- tsdown 0.21.2 → 0.21.7
- ultracite 7.3.0 → 7.4.3
- lefthook 2.1.4 → 2.1.5
- fs-fixture 2.11.0 → 2.13.0
- @typescript/native-preview → 7.0.0-dev.20260406.1

https://claude.ai/code/session_013nE2URvRokQybUYvRfkUGx
- @types/node: 25.5.2 → 24.12.2 (align with node engine >=24.x)
- typescript: removed (optional peer dep of tsdown, typecheck uses tsgo)

https://claude.ai/code/session_013nE2URvRokQybUYvRfkUGx
@changeset-bot

changeset-bot Bot commented Apr 7, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 66c41e8

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

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

@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Size Change: +26 B (+0.86%)

Total Size: 3.05 kB

📦 View Changed
Filename Size Change
dist/bin.mjs 3.05 kB +26 B (+0.86%)

compressed-size-action

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates several project dependencies, including @clack/prompts, citty, yaml, vitest, tsdown, typescript, knip, and @types/node. It also adds a changeset file to document these updates and refreshes the pnpm-lock.yaml file, which now includes additional platform-specific bindings for @oxc-parser. I have no feedback to provide.

@nyatinte

nyatinte commented Apr 7, 2026

Copy link
Copy Markdown
Owner Author

@copilot can you fix CI error?

- Replace utf8 with utf-8 in readFileSync/readFile calls (ultracite 7.4.3 lint rule)
- Handle args.help explicitly in run() since citty 0.2.2 no longer auto-intercepts --help when user defines help in args

Agent-Logs-Url: https://github.com/nyatinte/prw/sessions/75076883-63ff-4881-a218-45feeafbbf4c

Co-authored-by: nyatinte <104000239+nyatinte@users.noreply.github.com>

Copilot AI commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

@copilot can you fix CI error?

Fixed in 66c41e8. Two issues were causing CI failures:

  1. Ultracite lint (4 errors): ultracite 7.4.3 added a rule preferring utf-8 over utf8 — replaced all four occurrences in src/history.ts and src/workspace.ts.

  2. Vitest timeouts on the --help/-h tests: citty 0.2.2 changed behavior so that when a user defines help in the command args, citty no longer auto-intercepts --help to show usage. Added explicit args.help handling in the run function (mirroring the existing args.version pattern), so --help now calls showUsage(command) and returns.

@nyatinte
nyatinte merged commit 37cc6d7 into main Apr 7, 2026
6 checks passed
@nyatinte
nyatinte deleted the claude/update-dependencies-PGaC5 branch April 7, 2026 15:54
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.

3 participants