Skip to content

⬆️ typescript 7 - #5

Merged
Vilos92 merged 1 commit into
mainfrom
chore/upgrade-typescript-7
Jul 29, 2026
Merged

⬆️ typescript 7#5
Vilos92 merged 1 commit into
mainfrom
chore/upgrade-typescript-7

Conversation

@Vilos92

@Vilos92 Vilos92 commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Bumps typescript from ~6.0.2 to ~7.0.2 — the native (Go) compiler port.

Notes

  • No source or tsconfig.json changes were needed. The existing strict config (including erasableSyntaxOnly, verbatimModuleSyntax, and moduleResolution: bundler) compiles clean under TS 7.
  • Lockfile growth is expected. TS 7 distributes platform-specific native binaries, so bun.lock gains @typescript/typescript-* entries for each supported os/cpu pair — including linux-x64, which is what CI resolves.
  • Kept the ~ range rather than bun's default ^, matching this repo's existing convention of pinning TypeScript to a single minor.

Verification

All CI jobs were run locally against this branch:

Check Result
bun run typecheck pass (no errors)
bun run lint pass (0 warnings, 0 errors — 43 files)
bun run fmt:check pass (56 files)
bun run test pass (36 tests / 10 files)
bun run build pass
bun run fallow:audit pass (no issues in changed files)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the TypeScript development tooling to version 7.0.2.

Bumps typescript from ~6.0.2 to ~7.0.2, the native (Go) compiler port.
TS 7 ships platform-specific binaries, so the lockfile gains
@typescript/typescript-* entries for every supported os/cpu pair.

Typecheck, lint, fmt, test, build, and fallow audit all pass unchanged;
no source or tsconfig changes were needed.

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The package manifest updates the TypeScript development dependency from ~6.0.2 to ~7.0.2. No scripts, other dependencies, overrides, or configuration values change.

Changes

TypeScript version update

Layer / File(s) Summary
Update TypeScript development dependency
package.json
The typescript dev dependency is updated from ~6.0.2 to ~7.0.2.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 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 clearly summarizes the main change: upgrading TypeScript to version 7.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/upgrade-typescript-7

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

@Vilos92
Vilos92 merged commit 9e3c5ba into main Jul 29, 2026
10 of 11 checks passed

@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: 1

🤖 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 `@package.json`:
- Line 36: Update the TypeScript dependency entry in package.json to a version
within `@voidzero-dev/vite-plus-core`’s supported ^5.0.0 || ^6.0.0 peer range, or
coordinate the bump with a Vite Plus integration update that supports TypeScript
7; do not leave the project on TypeScript ~7.0.2 with the current Vite Plus
dependency.
🪄 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1f3799fe-3229-45aa-b786-2220de5eb7fe

📥 Commits

Reviewing files that changed from the base of the PR and between 036728a and 2cec6e7.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"@vanilla-extract/vite-plugin": "^5.2.2",
"fallow": "^2.66.1",
"typescript": "~6.0.2",
"typescript": "~7.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

rg -n --hidden \
  --glob '!node_modules/**' \
  --glob '!dist/**' \
  --glob '!build/**' \
  -e "from ['\"]typescript['\"]" \
  -e "require\\(['\"]typescript['\"]\\)" \
  -e '"(`@typescript-eslint/`|typescript-eslint)' \
  .

Repository: Vilos92/vilos92.com

Length of output: 157


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '\n## package.json\n'
cat -n package.json | sed -n '1,140p'

printf '\n## search for TypeScript imports/usages\n'
rg -n --hidden \
  --glob '!node_modules/**' \
  --glob '!dist/**' \
  --glob '!build/**' \
  -e "from ['\"]typescript['\"]" \
  -e "require\\(['\"]typescript['\"]\\)" \
  -e "import\\(['\"]typescript['\"]\\)" \
  -e "\\btypescript\\b" \
  .

printf '\n## other package manifests\n'
fd -a 'package.json|pnpm-lock.yaml|bun.lock|yarn.lock|package-lock.json' .

printf '\n## tsconfig files\n'
fd -a 'tsconfig*.json' .

printf '\n## TypeScript-related scripts in package.json\n'
python3 - <<'PY'
import json
with open('package.json') as f:
    pkg = json.load(f)
for k,v in pkg.get('scripts', {}).items():
    if 'tsc' in v or 'typescript' in v or 'vp' in v:
        print(f"{k}: {v}")
PY

Repository: Vilos92/vilos92.com

Length of output: 11497


Update the TypeScript bump to match the Vite Plus peer range. package.json:36 is now outside @voidzero-dev/vite-plus-core’s supported typescript: ^5.0.0 || ^6.0.0 range, so this should move together with a Vite/TS integration update or stay on TS 6 for now.

🤖 Prompt for 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.

In `@package.json` at line 36, Update the TypeScript dependency entry in
package.json to a version within `@voidzero-dev/vite-plus-core`’s supported ^5.0.0
|| ^6.0.0 peer range, or coordinate the bump with a Vite Plus integration update
that supports TypeScript 7; do not leave the project on TypeScript ~7.0.2 with
the current Vite Plus dependency.

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